Java Mailing List Archive

http://www.java2.5341.com/

Home » Maven Users List »

A problem about MANIFEST in maven

youhaodeyi

2008-11-23

Replies: Find Java Web Hosting

Author LoginPost Reply

I use maven-jar-plugin to handle the manifest file, see below configuration:

<manifest>
 <addClasspath>true</addClasspath>
    ...

And I have a dependency with system scope:
<dependency>
     <groupId>protocol</groupId>
     <artifactId>protocol</artifactId>
     <version>1.0</version>
     <scope>system</scope>
     <systemPath>${basedir}/src/main/libs/protocol.jar</systemPath>
</dependency>

But when run the command "mvn package" and the manifest file in the jar
doesn't contain this dependency.
How can I fix this?

thanks.
--
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.