Alexander Sack-3 wrote: > > I'm trying to build an executable jar and I want to include some of the > dependencies of my project in the jar itself for runtime. Is there a way > to > do this? The following page was somewhat helpful: > > http://maven.apache.org/plugins/maven-jar-plugin/examples/executable-jar.html > > But it doesn't discuss including the JARs. I mean I could add a resources > directory and include the JARs there I believe but I was hopeing for > something more automatic. > > Thanks! > > -aps > > -- > "What lies behind us and what lies in front of us is of little concern to > what lies within us." -Ralph Waldo Emerson > > Good day to you, aps, Regarding the copying of dependencies, you might try to use maven-dependency-plugin. You can try and take a look at [1] for an example on this, and [2] for more information regarding the goal. However, that plugin docu is not yet released, and it's still being reviewed. If you have any comments about it, please do let us know so that we can improve it. Thanks, Franz [1] http://people.apache.org/~aramirez/maven-dependency-plugin/examples/copy-direct-dependencies.html [2] http://people.apache.org/~aramirez/maven-dependency-plugin/copy-dependencies-mojo.html -- View this message in context: http://www.nabble.com/How-to-include-dependencies-in-an-executable-jar--tf2318681.html#a6478457 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
