An Apache Maven plugin for generating jszip modules and using jszip modules from Maven based projects.
Clone or download
Pull request Compare This branch is 88 commits ahead of stephenc:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE.txt
README.md
pom.xml

README.md

JSZip Maven Plugin

What is it?

An Apache Maven plugin for generating jszip modules and using jszip modules from Maven based projects.

Documentation

The plugin documentation can be found at http://jszip.org/jszip-maven-plugin

FAQ's

#####Q: When building, how do I define where my dependencies are mapped to?#####

A: The http://jszip.org/jszip-maven-plugin/unpack-mojo.html#mappings allows users to map individual dependencies whithin the Webapp.

Example:

<mappings>
  <mapping>
    <select>groupId:artifactId</select>
    <path>path/relative/to/webapp/root</path>
  </mapping>
</mappings>

#####Q: When mapping individual dependencies, do I have to map them all one by one?#####

A: No, you can use '*' to indicate a wildcard matching and the groupId (as seen in the previouse question) is optional, if you don't specify it, the assumption is '*'.

Example:

Maps all dependencies whith the goupId 'org.jszop.redist' to 'scripts/libs'.

<mapping>
  <mapping>
    <select>org.jszop.redist:*</select>
    <path>scripts/libs</path>
  </mapping>
</mapping>

Licensing

Please see the file called LICENSE.TXT

Trademarks

Apache, Apache Maven, Maven and the Apache feather logo are trademarks of The Apache Software Foundation.