[ 
https://jira.codehaus.org/browse/MRPM-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anders Hammar updated MRPM-85:
------------------------------

    Assignee:     (was: Brett Okken)
    
> support renaming for an artifact to be included in RPM through the dependency 
> parameter
> ---------------------------------------------------------------------------------------
>
>                 Key: MRPM-85
>                 URL: https://jira.codehaus.org/browse/MRPM-85
>             Project: Mojo RPM Plugin
>          Issue Type: Improvement
>          Components: rpm
>    Affects Versions: 2.1-alpha-1
>         Environment: Redhat ES 4
>            Reporter: Luke Yang
>            Priority: Minor
>
> The dependency parameter within mapping could allow the declared artifact to 
> be included in the RPM. (as stated at 
> http://mojo.codehaus.org/rpm-maven-plugin/map-params.html#dependency). 
> For example, the following mapping will instruct that cde-1.5.jar will be 
> installed under /usr/my_package_root/lib directory. 
> <mapping>
>     <directory>/usr/my_package_root/lib</directory>
>     <dependency>
>         <includes>
>           <include>com.abc:cde:1.5</include>
>         </includes>
>     </dependency>
> </mapping>
> However, due to some historical reasons in my project, I need to keep the 
> name of the jar file as cde.jar in the target directory 
> (/usr/my_package_root/lib). So could you enhance the include parameter to 
> support a name or finalName parameter to specify the final name of the 
> dependant artifact?
> A desired result could be: 
>         <includes>
>           <include>
>             <groupId>com.abc</groupId>
>             <artifactId>cde</artifactId>
>             <version>1.5</version>
>             <finalName>cde</finalName>
>           </include>
>         </includes>
> Thanks!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.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