RE: can maven package all the dependence jar files in the war file?

2008-01-30 Thread nicklist
-INF/classes) Hth, Nick Stolwijk -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wed 1/30/2008 4:40 PM To: Maven Users List Subject: Re: can maven package all the dependence jar files in the war file? Don't put any Java code in your WAR project, instead all code must

Re: can maven package all the dependence jar files in the war file?

2008-01-30 Thread Wayne Fay
Don't put any Java code in your WAR project, instead all code must come from other projects that you depend on. Assuming this is true, this is just how the WAR plugin works with default configuration. Personally we are building EARs so I don't want my WARs loaded up with all those JARs. Instead I

RE: can maven package all the dependence jar files in the war file?

2008-01-30 Thread Blue.Thomas
Rex, I think you can set archiveClasses to true if you want the WAR's class files in a jar file: http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#archiveCl asses -Original Message- From: Rex Huang [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 7:40 AM To: