I am trying to build jar, where i would need all the classpath entries in the
manifest.mf, but the manifest.mf is not inlcluding the jars in the classpath
(like testng.jar ). is there anything wrong in my configuration ?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<index>true</index>
<manifest>
<addClasspath>true</addClasspath>
<Main-Class>org.testng.TestNG</Main-Class>
<classpathPrefix>/export/home/webdriver/lib</classpathPrefix>
</manifest>
</archive>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</configuration>
</plugin>
</plugins>
--
View this message in context:
http://www.nabble.com/maven-jar-plugin-not-including-all-the-jars-in-the-manifest.mf-tp25190308p25190308.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]