At 5:07 PM -0400 8/31/06, Jason van Zyl wrote: >Hi, > >The JAR Plugin v 2.1 has been released! You can see the issues that have been >closed out here: > >http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&pid=11137&fixfor=12241 > >All the necessary files have now been synced to ibiblio: > >http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.1 > >More plugin releases to come! > >Thanks, > >The Maven Team >
WARNING: this version contains the same regression as the 8/26 snapshot [1]. Here are my jars using maven-jar-plugin 2.1: % ls -l *-packages/jbi-ext/bld/*.jar -rw-rw-r-- 1 russt 334 Aug 31 16:30 esb-packages/jbi-ext/bld/esb-jbi-ext-1.1.jar -rw-rw-r-- 1 russt 334 Aug 31 16:30 ri-packages/jbi-ext/bld/ri-jbi-ext-1.1.jar Here are exactly the same jars using maven-jar-plugin 2.0 (or 2.1 snapshot prior to 8/26): % ls *-packages/jbi-ext/bld/*.jar -rw-rw-r-- 1 russt 39263 Aug 31 17:43 esb-packages/jbi-ext/bld/esb-jbi-ext-1.1.jar -rw-rw-r-- 1 russt 17807 Aug 31 17:43 ri-packages/jbi-ext/bld/ri-jbi-ext-1.1.jar Unfortunately, I've not been able to isolate it further it only occurs if I run a full build (clean) from my top pom.xml. -Russ [1] Email from 8/29: >Date: Tue, 29 Aug 2006 12:53:01 -0700 >From: Russ Tremain <[EMAIL PROTECTED]> >Subject: regression in maven-jar-plugin-2.1-20060826.162339-6.jar or >dependencies >Sender: [EMAIL PROTECTED] >To: Maven Users List <[email protected]> > >Hi - > >We use the SNAPSHOT jar plugin so maven doesn't add the maven meta files to our >production jars. > >I find that it sometimes creates empty jars when run from our top pom. > >However, it seems to work normally when run locally. > >I believe the snapshot in question is: > > maven-jar-plugin-2.1-20060826.162339-6.jar > >I had to revert to the 2.0 version, which means maven is once again >loading pom data in our META-DATA. However, the 2.0 version >does not create empty jars. > >Does anyone know how to force the loading of an earlier snapshot without >intervening manually? > >tia, >-Russ > >Please visit https://open-esb.dev.java.net/ - recently converted to maven >2.0.4. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
