Re: Multi-module project: One jar with dependencies
Hello Matthew Horridge, I am interested in your way generating one zip-file in a multi-module-project. Can Post the affected part of the pom, where you generate the zip-file? Thank you! Tim -- View this message in context: http://maven.40175.n5.nabble.com/Multi-module-project-One-jar-with-dependencies-tp86011p3211557.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Multi-module project: One jar with dependencies
2007/4/20 Matthew Horridge matthew.horri...@cs.man.ac.uk: project.jar - This jar file contains all classes from ModuleA, ModuleB and ModuleC I suggest you to create an additional module that uses Shade plugin to create an uberjar: http://maven.apache.org/plugins/maven-shade-plugin/index.html You can see a working example here: http://svn.apache.org/repos/asf/velocity/engine/branches/2.0_Exp/velocity-engine-uberjar/ Antonio - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Multi-module project: One jar with dependencies
Thank you! Works fine ! -- View this message in context: http://maven.40175.n5.nabble.com/Multi-module-project-One-jar-with-dependencies-tp86011p3211811.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Multi-module project: One jar with dependencies
Hi, I have a multi-module project. I'd like to create a distribution where the classes from all modules are put into *one* jar file which is then included with the dependency jar files and zipped up, i.e. Project ModuleA ModuleB ModuleC project-bin.zip project.jar - This jar file contains all classes from ModuleA, ModuleB and ModuleC dependencyA.jar dependencyB.jar I'm currently able to use the assembly plugin to produce a zip file that contains a jar file per module and all the dependency jars i.e. project-bin.zip ModuleA.jar ModuleB.jar ModuleC.jar dependencyA.jar dependencyB.jar but I really just want one jar file plus the dependency jars. Any help greatly appreciated! Cheers, Matthew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]