I just released plexus-archiver version 2.10-beta-1 to maven central.

This is a "technology preview" of the multithreaded Zip feature I have
been adding to commons-compress for the last few weeks, and will
basically use all available CPU cores when compressing the archive.

To test/use this feature, you can add the following clause some plugins:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-assembly-plugin</artifactId>
  <version>2.5.3</version>
  <dependencies>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-archiver</artifactId>
      <version>2.10-beta-1</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-io</artifactId>
      <version>2.4.1</version>
    </dependency>
  </dependencies>
</plugin>

This applies to maven-war-plugin, maven-jar-plugin, maven-ear-plugin,
maven-assembly-plugin, maven-dependency-plugin and probably a few
others too.

The feature is basically "done". commons-compress 1.10 has not yet
been released, and the moment this happens there will be a non-beta
version of plexus-archiver. This version contains a shaded-snapshot
version of commons-compress.

Please note that if your project basically produces a 30K jar file,
there is not much to be expected from this upgrade. The larger your
zip/jar/ear/war files, the more you can expect. And, of course, you
can use this as an argument towards your boss to get a 6 core CPU.

Feedback appreciated !

In other news, the java 1.6 version "3.0" was also released today,
which contains "snappy" compression. 3.0 does not yet contain the
parallel feature.


Kristian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to