You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/05/01 05:06:47 UTC

[jira] Commented: (MPWAR-30) [PATCH] Option to pack project classes inside a JAR into WEB-INF/lib

     [ http://jira.codehaus.org/browse/MPWAR-30?page=comments#action_38371 ]
     
Brett Porter commented on MPWAR-30:
-----------------------------------

I'm still not particularly enamored with this, probably because of the use cases I've seen quoted in here to produce two things from a project. Doing so mucks with the way m2 does things, and generally adds to the guesswork of what a project is doing.

I'm -0.75, but won't block it being committed if Felipe wishes to do so. Bear in mind that we hope to start replacing all of the m1 plugins with functionality equivalent wrappers around their m2 counterparts "real soon now", so there is a risk this will disappear again unless you are prepared to make the change there too/instead.

> [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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org