[ http://jira.codehaus.org/browse/MPWAR-30?page=comments#action_38272 ] fabrizio giustina commented on MPWAR-30: ----------------------------------------
+1 for adding this feature. If you have a single webapp project you can prefer to pack your classes in a single jar for distribution: you can consider this as a different way to package things, using multiproject with a parent project and 2 subproject is overkilling in this situation. The artifact will still be only one: a war packaged in a different way. > [PATCH] Option to pack project classes inside a JAR into WEB-INF/lib > -------------------------------------------------------------------- > > Key: MPWAR-30 > URL: http://jira.codehaus.org/browse/MPWAR-30 > Project: maven-war-plugin > Type: New Feature > Versions: 1.7 > Reporter: Felipe Leme > Assignee: Felipe Leme > Attachments: maven_war_usesJar.patch > > Original Estimate: 1 hour > Remaining: 1 hour > > The way the plugin works now, the project classes are packed under > WEB-INF/classes. It would be nice if the plugin used the project's JAR > instead, packing it under WEB-INF/lib. That feature would be really useful > when the war is a secondary package for the project (for instance, when the > main artifact is a JAR containg a taglib). > I'm providing a patch for this change - if there is interest in applying it, > I can write some test cases too. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]