Skip to content

tmcsantos/parallel-zip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lib for replacing default zipping implementation in maven-(assembly/dependency)-plugin [EXPERIMENTAL]

Uses java nio and native zip provider

How to use

Place this in your pom.xml and activate with -Dexperimental

<profile>
  <id>assembly-experimental</id>
  <activation>
    <property>
      <name>experimental</name>
    </property>
  </activation>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <dependencies>
          <dependency>
            <groupId>org.hitachivantara.utils</groupId>
            <artifactId>parallel-zip</artifactId>
            <version>1.0-SNAPSHOT</version>
          </dependency>
        </dependencies>
      </plugin>
      <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <dependencies>
          <dependency>
            <groupId>org.hitachivantara.utils</groupId>
            <artifactId>parallel-zip</artifactId>
            <version>1.0-SNAPSHOT</version>
          </dependency>
        </dependencies>
      </plugin>
    </plugins>
  </build>
</profile>

If everything goes well you should see in your assembly logs something like this:

[INFO] --- maven-assembly-plugin:3.1.0:single (assembly_package) @ sample ---
[INFO] Using concurrent ZIP compression with Java NIO
[INFO] Building zip: ....

About

Parallel zip replacer for maven plexus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages