The following issue has been updated:
Updater: Felipe Leme (mailto:[EMAIL PROTECTED])
Date: Mon, 16 Aug 2004 6:07 PM
Comment:
Patch that implements the proposal, if the user sets the maven.war.usesJar propertie
to true (default value is false).
Notice that in order to include the jar on WEB-INF/lib, it's necessary to call
<attaingGoal name="jar:jar">. That might make the goal being called twice, but I don't
think there is a better way to solve it (we could avoid it if the <goal> tags allowed
if/unless attributes, as Ant does).
Changes:
Attachment changed to maven_war_usesJar.patch
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/browse/MPWAR-30?page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPWAR-30
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPWAR-30
Summary: [PATCH] Option to pack project classes inside a JAR into WEB-INF/lib
Type: New Feature
Status: Open
Priority: Major
Original Estimate: 1 hour
Time Spent: Unknown
Remaining: 1 hour
Project: maven-war-plugin
Versions:
1.7
Assignee: Jason van Zyl
Reporter: Felipe Leme
Created: Mon, 16 Aug 2004 6:01 PM
Updated: Mon, 16 Aug 2004 6:07 PM
Description:
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.
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]