Uploaded image for project: 'Maven JAR Plugin'
  1. Maven JAR Plugin
  2. MJAR-168

Update to latest plexus-archiver

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.5
    • None
    • None
    • Any Unix system that has some ldap groups

    Description

      maven-jar-plugin regresses horribly with JDK 7 compared to JDK 6. The cause is well known and already fixed in plexus-io, PLXCOMP-203, but the fixed version of plexus-io has yet to be used by maven-jar-plugin. Here's some benchmark from y project:

      Standard build with maven 3.0.x or 3.1-alpha1:

      [INFO] Total time: 3:03.048s
      [INFO] Finished at: Tue Jul 09 15:22:02 EDT 2013
      [INFO] Final Memory: 40M/221M

      After rebuilding maven-jar-plugin, changing its POM to use plexus-archiver 2.4.1 (which in turn uses the latest plexus-io):

      [INFO] Total time: 41.786s
      [INFO] Finished at: Tue Jul 09 15:28:26 EDT 2013
      [INFO] Final Memory: 47M/403M

      It seems like a trivial fix, all maven-jar unit tests pass.

      Attachments

        Activity

          People

            khmarbaise Karl Heinz Marbaise
            opinali Osvaldo Pinali Doederlein
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: