A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Ant, Maven and Other Build Tools
Include external jars during maven build
Joined: Jul 22, 2012
Jul 19, 2013 05:33:46
I followed the step given in the above tutorial to include external jars during
But the jars are not getting included in the target jar.
Please provide a suitable solution for this.
Joined: May 14, 2008
Jul 21, 2013 12:38:52
You need to use the Assembly plugin to create a JAR file that includes all of the dependencies needed to run. In your assembly descriptor, mention 'jar' as a desired output format.
JBoss In Action
I agree. Here's the link:
subject: Include external jars during maven build
Tomcat and Axis2
Running a runnable jar File
Compilation overahead in WSAD 5.1
maven packaging is not including dependent jars
Maven build dependencies from .classpath
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015