I'm trying to use the maven-jar-plugin to create an executable jar that
includes not only the artifact's dependencies **but also** the current
working directory ("."). How can I do this easily?
Here's my plugin config:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>org.springframework.batch.core.launch.support.CommandLineJobRunner</mainClass>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
</manifest>
</archive>
</configuration>
</plugin>
It would be nice if I could tell the plugin, "Hey, please include . in the
list of classpath entries!"
Thanks,
Matthew--
View this message in context:
http://maven.40175.n5.nabble.com/How-to-include-in-generated-Class-Path-manifest-tp4357436p4357436.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]