[ 
http://jira.codehaus.org/browse/MRPM-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=189083#action_189083
 ] 

Luke Forehand edited comment on MRPM-42 at 8/29/09 6:48 PM:
------------------------------------------------------------

This patch adds a <stripVersion /> parameter to the <dependency> element, 
allowing dependencies that are included within the <dependency> element to have 
their version stripped from their filename before being included in the RPM.  
This is very handy if you are packaging WAR artifacts that must be deployed 
with a static file name.

      was (Author: lukeforehand):
    This patch adds a <stripVersion /> parameter to the <dependency> element, 
allowing dependencies that are included within the <dependency> element to have 
their version stripped before being included in the RPM.  This is very handy if 
you are packaging WAR artifacts that must be deployed with a static file name.
  
> Add ability to specify an outputFileNameMapping for an included dependency
> --------------------------------------------------------------------------
>
>                 Key: MRPM-42
>                 URL: http://jira.codehaus.org/browse/MRPM-42
>             Project: Mojo RPM Plugin
>          Issue Type: New Feature
>          Components: rpm
>    Affects Versions: 2.0-beta-3
>            Reporter: Luke Forehand
>            Assignee: Brett Okken
>         Attachments: rpm-maven-plugin.patch
>
>
> Use Case:
> Assembling an RPM that includes a WAR repository artifact.  
> The RPM install script copies the versioned artifact to a server deployment 
> location, where the WAR is automatically unpacked and deployed.  
> Since the context path of the webapp is inferred from the filename of the WAR 
> artifact, it is important for the filename to remain the same.
> Specifying an outputFileNameMapping for the dependency would allow the WAR 
> artifact to be renamed before it was added to the RPM.
> I think there are probably other similar use cases.  This feature exists in 
> the maven-assembly-plugin.

-- 
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to