Example configuration

<plugin>
    <groupId>nl.geodienstencentrum.maven</groupId>
    <artifactId>closure-compiler-maven-plugin</artifactId>
    <version>2.2</version>
    <executions>
        <execution>
            <goals>
                <goal>compile</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
       <compilations>
           <compilation>
               <compilationLevel>WHITESPACE_ONLY</compilationLevel>
               <compilerOptions>
                   <prettyPrint>true</prettyPrint>
                   <lineBreak>true</lineBreak>
                   <runtimeTypeCheck>true</runtimeTypeCheck>
               </compilerOptions>
               <externFiles />
               <sourceFiles>
                   <param>${basedir}/src/main/js/_header.js</param>
                   <param>${basedir}/src/main/js/asserts.js</param>
                   <param>${basedir}/src/main/js/logger.js</param>
               </sourceFiles>
               <outputFile>${project.build.outputDirectory}/debug/devtools-all.js</outputFile>
           </compilation>
           <compilation>
               <compilationLevel>ADVANCED_OPTIMIZATIONS</compilationLevel>
               <compilerOptions>
                   <prettyPrint>true</prettyPrint>
               </compilerOptions>
               <externFiles></externFiles>
               <sourceFiles>
                   <param>${basedir}/src/main/js/_header.js</param>
                   <param>${basedir}/src/main/js/asserts.js</param>
                   <param>${basedir}/src/main/js/logger.js</param>
               </sourceFiles>
               <outputFile>${project.build.outputDirectory}/static/devtools.js</outputFile>
           </compilation>
       </compilations>
   </configuration>
</plugin>