Fork me on GitHub

Plugin Documentation

Goals available for this plugin:

GoalDescription
jszip:compile-lessNo description.
jszip:compile-sassNo description.
jszip:helpDisplay help information on jszip-maven-plugin.
Call mvn jszip:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
jszip:initializeInitializes the JSZIP artifact.
jszip:jszipProduces a JSZip formatted zip file.
jszip:optimizeRuns the r.js optimizer over the source
jszip:runStarts a Jetty servlet container with resources resolved from the reactor projects to enable live editing of those resources and pom and classpath scanning to restart the servlet container when the classpath is modified. Note that if the poms are modified in such a way that the reactor build plan is modified, we have no choice but to stop the servlet container and require the maven session to be restarted, but best effort is made to ensure that restart is only when required.
jszip:unpackUnpacks all the JSZip dependencies into a web application.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven2.0
JDK1.5
MemoryNo minimum requirement.
Disk SpaceNo minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.jszip.maven</groupId>
          <artifactId>jszip-maven-plugin</artifactId>
          <version>0.1-alpha-9</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.jszip.maven</groupId>
        <artifactId>jszip-maven-plugin</artifactId>
        <version>0.1-alpha-9</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"