Requirements:
- Java 8+
- Maven 3.9+
This extension and plugin suite provides following bits:
- Provides
zip-classpath
artifact handler that makes it possible to declare dependency of thistype=zip-classpath
, and the ZIP file will be added to classpath. - Provides
zip
artifact handler that makes Maven behave exactly as without it (do not add it to classpath), but you can override this behaviour by settingmaveniverse.zippy.zip.classpath=true
Java System Property and then dependencies oftype=zip
will be added to classpath. For new projects, use of explicit typezip-classpath
is recommended. - Provides simple
zip
packaging (POM<packaging>zip</packaging>
) that is producing a ZIP file from unfiltered and possibly filtered resources (is based onmaven-jar-plugin
so almost same options applies).
With Maven 3 create project-wide, or with Maven 4-rc-3+ create user-wide ~/.m2/extensions.xml
like this:
<?xml version="1.0" encoding="UTF-8"?>
<extensions>
<extension>
<groupId>eu.maveniverse.maven.zippy</groupId>
<artifactId>extension3</artifactId>
<version>${currentVersion}</version>
</extension>
</extensions>
Build requirements:
- Java 21
- Maven 3.9.9+