You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by youhaodeyi <yo...@gmail.com> on 2008/11/24 07:14:02 UTC

Re: How to add snapshot dependency into MANIFEST.MF



youhaodeyi wrote:
> 
> My project dependent on a snapshot dependency (test-1.0-snapshot). I added
> this configuration in my jar-plugin:
> <manifest>
> 	<addClasspath>true</addClasspath>
> 	<mainClass>test.ui.Starter</mainClass>
> 	<packageName>UI DEMO</packageName>
> </manifest>
> All the dependencies will be written to manifest.mf file. So the final
> manifest.mf will includes:
> Class-Path: test-1.0-snapshot.jar
> 
> But when I run the assembly, the version of the test-1.0 will be
> inconsistent with the one in manifest file. How can I make them
> consistent? I use Maven 2.0.9.
> 
> 

Does anyone have me on this?
thanks.
-- 
View this message in context: http://www.nabble.com/How-to-add-snapshot-dependency-into-MANIFEST.MF-tp20171142p20655457.html
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