« Return to Thread: [jira] Created: (MOJO-1218) Add support for specifying the name of the rpm

[jira] Commented: (MOJO-1218) Add support for specifying the name of the rpm

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View in Thread


    [ http://jira.codehaus.org/browse/MOJO-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159912#action_159912 ]

Chris Ryan commented on MOJO-1218:
----------------------------------

Try adding <name>YourNameHere</name> to the <configuration> of the plugin.  You can override the artifactID with this to remove the "-rpm".

The rpm file name appears to be built from <name>-<version>-<release>.<targetArch>.rpm

The <name>, <version> and <release> can be overriden now.  With the fix in http://jira.codehaus.org/browse/MOJO-1125, the <targetArch> is also available.

> Add support for specifying the name of the rpm
> ----------------------------------------------
>
>                 Key: MOJO-1218
>                 URL: http://jira.codehaus.org/browse/MOJO-1218
>             Project: Mojo
>          Issue Type: Improvement
>          Components: rpm
>            Reporter: Erik Drolshammer
>
> AFAIK the plugin not use artifactID as the name of the final artifact. When creating separate deployment projects for each "product", this is unfortunate as I want to use the original name postfixed with "-rpm" for the artifactID, but keep the original name only (without the postfix) for the .rpm-file.
> Would it be possible to add a property to override the default final name of the rpm artifact?

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


 « Return to Thread: [jira] Created: (MOJO-1218) Add support for specifying the name of the rpm