You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Geoffrey De Smet <ge...@gmail.com> on 2007/02/16 12:07:02 UTC

assembly and jar plugins with SNAPSHOT dependencies and classpath manifest

I have a dependency on a SNAPSHOT which I didn't build myself,
for example fun-0.1.0-SNAPSHOT.jar.

My jar plugin is configured with:
   <addClasspath>true</addClasspath>
so it generates:
   Class-Path: fun-0.1.0-SNAPSHOT.jar ...

My assembly plugin has a descriptor like this:
     <dependencySet>
       <outputDirectory>/lib</outputDirectory>
       <scope>runtime</scope>
     </dependencySet>

The problem is, it doesn't add
   fun-0.1.0-SNAPSHOT.jar
but
   fun-0.1.0-20070215.103444-1.jar

So my classpath fails.


Thanks for any and all help,
PS: grats on the 2.0.5 release :)


-- 
With kind regards,
Geoffrey De Smet


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


Re: assembly and jar plugins with SNAPSHOT dependencies and classpath manifest

Posted by Geoffrey De Smet <ge...@gmail.com>.
FYI, I just found this one which seems to be the bug (please vote ;)
http://jira.codehaus.org/browse/MJAR-28

With kind regards,
Geoffrey De Smet

Geoffrey De Smet schreef:
> I have a dependency on a SNAPSHOT which I didn't build myself,
> for example fun-0.1.0-SNAPSHOT.jar.
> 
> My jar plugin is configured with:
>   <addClasspath>true</addClasspath>
> so it generates:
>   Class-Path: fun-0.1.0-SNAPSHOT.jar ...
> 
> My assembly plugin has a descriptor like this:
>     <dependencySet>
>       <outputDirectory>/lib</outputDirectory>
>       <scope>runtime</scope>
>     </dependencySet>
> 
> The problem is, it doesn't add
>   fun-0.1.0-SNAPSHOT.jar
> but
>   fun-0.1.0-20070215.103444-1.jar
> 
> So my classpath fails.
> 
> 
> Thanks for any and all help,
> PS: grats on the 2.0.5 release :)
> 
> 


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