[ http://jira.codehaus.org/browse/MPWAR-30?page=comments#action_70588 ] Martin Zeltner commented on MPWAR-30: -------------------------------------
I had a look at the source code of today's svn trunk and saw that the jar is created individually. I suggest to check first if there is already a created jar (created by maven-jar-plugin) and use this if it exists. In this case you can benefit from the power of the maven-jar-plugin (edit manifest for example). Cheers, Martin > [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 > Issue Type: New Feature > Affects Versions: 1.6 > Reporter: Felipe Leme > Assigned To: Stephane Nicoll > Fix For: 1.7 > > Attachments: maven_war_usesJar.patch, MPWAR-30.diff > > Original Estimate: 1 hour > Remaining Estimate: 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