Skip to content

maveniverse/zippy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zippy

Maven Central

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 this type=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 setting maveniverse.zippy.zip.classpath=true Java System Property and then dependencies of type=zip will be added to classpath. For new projects, use of explicit type zip-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 on maven-jar-plugin so almost same options applies).

To use it

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+