[ 
http://jira.codehaus.org/browse/MJAR-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=219523#action_219523
 ] 

Pierre-Yves Ricau commented on MJAR-128:
----------------------------------------

This kind of functionality would be great! I think the maven-jar-plugin should 
provide the same behavior as the maven-war-plugin, and its "Maven WAR Overlay" 
method. See here : 
http://maven.apache.org/plugins/maven-war-plugin/examples/war-overlay.html

The common usage is basically : "oh I'd like to use this nice artifact, but hey 
it doesn't integrates well with XXX, let's patch it and create a new artifact". 
The great benefits would be having only a pom.xml and the patched files on a 
source repository, instead of committing the whole sources of the artifact.

I am trying to achieve this kind of things with Maven Assembly Plugin, but it's 
a bit overkill, and quite hard to configure...

> Add support for updating jar
> ----------------------------
>
>                 Key: MJAR-128
>                 URL: http://jira.codehaus.org/browse/MJAR-128
>             Project: Maven 2.x Jar Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.2
>            Reporter: David Hoffer
>
> As a user of the maven jar plugin I want to be able to modify/update existing 
> jars.  For example, I want to replace a few class files in a jar and i want 
> to replace a few sources files in a sources jar artifact.  Adding/removing 
> should also be supported.
> This is a needed feature because for large jars, it takes to long to unpack 
> and re-jar.

-- 
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

        

Reply via email to