You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jason van Zyl <ja...@maven.org> on 2006/08/31 23:07:01 UTC

[ANN] JAR Plugin v 2.1 Released

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



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [ANN] JAR Plugin v 2.1 Released

Posted by Russ Tremain <Ru...@Sun.COM>.
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 <Ru...@Sun.COM>
>Subject: regression in maven-jar-plugin-2.1-20060826.162339-6.jar or dependencies
>Sender: Russ.Tremain@Sun.COM
>To: Maven Users List <us...@maven.apache.org>
>
>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: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [ANN] JAR Plugin v 2.1 Released

Posted by Dennis Lundberg <de...@apache.org>.
Jason van Zyl wrote:
> 
> On 4 Sep 06, at 12:02 PM 4 Sep 06, Wendy Smoak wrote:
> 
>> On 9/4/06, Syvalta <sy...@yahoo.com> wrote:
>>
>>> But with no luck. I'm using latest released plugins. Would I need to use
>>> some snapshot plugins to get this working?
>>
>> Same here.  I opened an issue:  http://jira.codehaus.org/browse/MJAR-57
>>
> 
> Ok, if this is a regression I'll go looking and add a test ... grr.
> 
>> --Wendy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> Jason van Zyl
> jason@maven.org

I don't think it's a regression, but an intended change in behavior. 
It's been discussed on one of our mailing lists, can't remember which 
though.

-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [ANN] JAR Plugin v 2.1 Released

Posted by Jason van Zyl <ja...@maven.org>.
On 4 Sep 06, at 12:02 PM 4 Sep 06, Wendy Smoak wrote:

> On 9/4/06, Syvalta <sy...@yahoo.com> wrote:
>
>> But with no luck. I'm using latest released plugins. Would I need  
>> to use
>> some snapshot plugins to get this working?
>
> Same here.  I opened an issue:  http://jira.codehaus.org/browse/ 
> MJAR-57
>

Ok, if this is a regression I'll go looking and add a test ... grr.

> -- 
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Jason van Zyl
jason@maven.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [ANN] JAR Plugin v 2.1 Released

Posted by Wendy Smoak <ws...@gmail.com>.
On 9/4/06, Syvalta <sy...@yahoo.com> wrote:

> But with no luck. I'm using latest released plugins. Would I need to use
> some snapshot plugins to get this working?

Same here.  I opened an issue:  http://jira.codehaus.org/browse/MJAR-57

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [ANN] JAR Plugin v 2.1 Released

Posted by Syvalta <sy...@yahoo.com>.

>You can add them with this:
>
> <plugin>
>   <groupId></groupId>
>   <artifactId></artifactId>
>   <configuration>
>    <manifest>
>      
> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
>      
> <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
>     </manifest>
>   </configuration>
> </plugin>

Added the following:

 <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <manifest>
           
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
           
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
          </manifest>
        </configuration>
</plugin>

But with no luck. I'm using latest released plugins. Would I need to use
some snapshot plugins to get this working?


-- 
View this message in context: http://www.nabble.com/-ANN--JAR-Plugin-v-2.1-Released-tf2199279.html#a6137013
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [ANN] JAR Plugin v 2.1 Released

Posted by Emmanuel Venisse <em...@venisse.net>.

Syvalta a écrit :
> 
> Jason van Zyl-2 wrote:
>> The JAR Plugin v 2.1 has been released! You can see the issues that  
>> have been closed out here:
>>
> 
> Seems that the manifest file generated doesn't include the following
> properties anymore:
> 
> Extension-Name:
> Implementation-Title:
> Implementation-Version:
> 
> Is this intentional? If it is, how can I configure it to the include these
> values?

You can add them with this:

<plugin>
   <groupId></groupId>
   <artifactId></artifactId>
   <configuration>
     <manifest>
       <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
       <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
     </manifest>
   </configuration>
</plugin>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [ANN] JAR Plugin v 2.1 Released

Posted by Syvalta <sy...@yahoo.com>.

Jason van Zyl-2 wrote:
> 
> The JAR Plugin v 2.1 has been released! You can see the issues that  
> have been closed out here:
> 

Seems that the manifest file generated doesn't include the following
properties anymore:

Extension-Name:
Implementation-Title:
Implementation-Version:

Is this intentional? If it is, how can I configure it to the include these
values?

-- 
View this message in context: http://www.nabble.com/-ANN--JAR-Plugin-v-2.1-Released-tf2199279.html#a6135697
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [ANN] JAR Plugin v 2.1 Released

Posted by Russ Tremain <Ru...@Sun.COM>.
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 <Ru...@Sun.COM>
>Subject: regression in maven-jar-plugin-2.1-20060826.162339-6.jar or dependencies
>Sender: Russ.Tremain@Sun.COM
>To: Maven Users List <us...@maven.apache.org>
>
>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: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org


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


Re: [ANN] JAR Plugin v 2.1 Released

Posted by Jason van Zyl <ja...@maven.org>.
On 31 Aug 06, at 6:12 PM 31 Aug 06, Brett Porter wrote:

> Jason, can we resend this to announce@maven.apache.org too?
>

Sure thing.

> - Brett
>
> On 01/09/2006, at 7:07 AM, 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
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

Jason van Zyl
jason@maven.org




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


Re: [ANN] JAR Plugin v 2.1 Released

Posted by Brett Porter <br...@apache.org>.
Jason, can we resend this to announce@maven.apache.org too?

- Brett

On 01/09/2006, at 7:07 AM, 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
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org

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