Closure Compiler Maven Plugin

Combines and compiles your JavaScript files with Google Closure Compiler

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

com.kodcu
ArtifactId

ArtifactId

closure-maven-plugin
Last Version

Last Version

1.0.3
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

Closure Compiler Maven Plugin
Combines and compiles your JavaScript files with Google Closure Compiler
Project URL

Project URL

https://github.com/rahmanusta/closure-maven-plugin
Project Organization

Project Organization

kodcucom
Source Code Management

Source Code Management

https://github.com/rahmanusta/closure-maven-plugin

Download closure-maven-plugin

How to add to project

<plugin>
    <groupId>com.kodcu</groupId>
    <artifactId>closure-maven-plugin</artifactId>
    <version>1.0.3</version>
</plugin>

Dependencies

compile (2)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.2.2
com.google.javascript : closure-compiler jar v20140625

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.3

Project Modules

There are no modules declared in this project.

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

Versions

Version
1.0.3