[ http://jira.codehaus.org/browse/MPWAR-30?page=comments#action_38310 ] Felipe Leme commented on MPWAR-30: ----------------------------------
Hi Fabrizio, The problem with adding jar:jar as prereqs is that it would be called anyway, even if the project does not have any Java file (there might be situations where calling jar:jar is not desirable in a war project). -- Felipe > [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]