jszip.org hosts some redistributions of well known JavaScript libraries packaged as jszip modules to enable easier usage.
All redistributions are published under the groupId of org.jszip.redist.
For a complete list of all redistributed modules just search Maven Central for artifacts with the groupId of org.jszip.redist.
To use a redistribution in your project you just add the required dependency, e.g.
<dependency> <groupId>org.jszip.redist</groupId> <artifactId>jquery</artifactId> <version>1.8.1</version> <type>jszip</type> </dependency>
Redistributions follow a few basic rules:
No minified versions - with the jszip-maven-plugin it is easy to generate minified versions of the dependencies that you include in your project. Minifying an already minified library takes just as long as minifying the debug version, and you will want to minify your final code. Additionally, by only including the debug version you get to debug all the code.
No namespacing of directories. The namespacing of module files is the job of the <mappings> directive to the jszip-maven-plugin, so for example to put jquery.js into its own directory we would just configure the jszip-maven-plugin like so:
<plugin> <groupId>org.jszip.maven<groupId> <artifactId>jszip-maven-plugin</artifactId> ... <configuration> ... <mappings> <mapping> <select>*:jquery</select> <path>lib/jquery</path> </mapping> </mappings> ... </configuration> ... </plugin>