Skip to content

Combines and compiles your JavaScript files with Google Closure Compiler

Notifications You must be signed in to change notification settings

rahmanusta/closure-maven-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maven Plugin for Google Closure Compiler

Combines and compiles your JavaScript files with Google Closure Compiler

Usage

<plugin>
<groupId>com.kodcu</groupId>
<artifactId>closure-maven-plugin</artifactId>
<version>1.0.3</version>
<configuration>
	<inputPath>${basedir}/src/main/webapp/js/</inputPath>
	<jss>
		<js>vendor/jquery.js</js>
		<js>vendor/modernizr.js</js>
		<js>foundation/foundation.js</js>
		<js>app.js</js>
	</jss>
	<outputPath>${basedir}/src/main/webapp/js/script.min.js</outputPath>
</configuration>
<executions>
	<execution>
		<goals>
		    <goal>precompile</goal>
		</goals>
	<phase>process-resources</phase>
	</execution>
</executions>
</plugin>

Requirements

Needs Java 8+

Analytics

About

Combines and compiles your JavaScript files with Google Closure Compiler

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages