maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Casey <jdca...@commonjava.org>
Subject Re: assembly-plugin: how to tell to use lib-xx-SNAPSHOT.jar and not lib-xx-{timeStamp}.jar
Date Tue, 04 Sep 2007 03:13:44 GMT
If you're using the latest release, you can use ${baseVersion}  
wherever you would use ${version} if you want to force the use of - 
SNAPSHOT version format over the timestamp/buildnumber format.

HTH,

-john

On Aug 31, 2007, at 7:44 AM, aldana wrote:

>
> hi,
>
> i am using assembly:assembly to pack my release. inside jar plugin  
> i enable
> classpath setting with <addClasspath>. this way when working with  
> snapshots
> inside MANIFEST.MF lib-xx-SNAPSHOT.jar gets added.
>
> conversely when executing assembly goal i get a timestamp added to  
> libary.
> mainJar
> -lib/
>    lib-xx-20070881.065xxxx
>
> this way i cannot access the library by name. weird thing is that  
> sometimes
> timestamp gets included and sometimes it appends the expected  
> SNAPSHOT.
>
> so, how do i tell assembly plugin to always include libraries with  
> name
> lib-xx-SNAPSHOT? or why is this behaviour that maven includes  
> timestamp and
> sometimes not?
>
> thanks.
> -- 
> View this message in context: http://www.nabble.com/assembly-plugin% 
> 3A-how-to-tell-to-use-lib-xx-SNAPSHOT.jar-and-not-lib-xx-% 
> 7BtimeStamp%7D.jar-tf4359662s177.html#a12424929
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---
John Casey
Committer and PMC Member, Apache Maven
mail: jdcasey at commonjava dot org
blog: http://www.ejlife.net/blogs/john



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message