Re: Simple question on packaging a Java Application
On Thursday 04 June 2009 Horton, Anne B wrote: > Say you have a Java application (j2Se) and it has some dependent > modules. Easy - right??? > > > > How do I get the Java application packaged as a jar when in my > clause in the Java application pom.xml is "pom"? Why do you use "pom" for a java application? This way your java files wouldn't even get compiled (without extra configuration). You could use the Appassembler maven plugin [0], but I don't know how well it works with packaging pom. hth, - martin [0] http://mojo.codehaus.org/appassembler/appassembler-maven-plugin/ signature.asc Description: This is a digitally signed message part.
Re: Simple question on packaging a Java Application
On Thu, Jun 4, 2009 at 9:13 AM, Horton, Anne B wrote: > Say you have a Java application (j2Se) and it has some dependent > modules. Easy - right??? > > > > How do I get the Java application packaged as a jar when in my > clause in the Java application pom.xml is "pom"? > create another module that packages everything into the jar via the assembly plugin. -Wes -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Simple question on packaging a Java Application
Say you have a Java application (j2Se) and it has some dependent modules. Easy - right??? How do I get the Java application packaged as a jar when in my clause in the Java application pom.xml is "pom"?