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

View: New views
5 Messages — Rating Filter:   Alert me  

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

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

Reply to Author | View Threaded | Show Only this Message

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



[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 Threaded | Show Only this Message


    [ 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



[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 Threaded | Show Only this Message


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

Brett Okken commented on MOJO-1218:
-----------------------------------

It is important to note that if you are creating the rpm as a primary or secondary artifact, the name of the file as it is deployed to the maven repository cannot be changed.

It will be <artifactId>-<version>.rpm for a primary artifact and <artifactId>-<version>-<classifier>.rpm for secondary artifact.

For a primary artifact the project.build.finalName also has impact on how the artifact is handled by maven.

> 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



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

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

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MOJO-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Okken closed MOJO-1218.
-----------------------------

    Resolution: Fixed

Configuration for the name of the generated rpm exists.

http://mojo.codehaus.org/rpm-maven-plugin/rpm-mojo.html#name

> 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



[jira] Moved: (MRPM-26) Add support for specifying the name of the rpm

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

Reply to Author | View Threaded | Show Only this Message


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

Brett Okken moved MOJO-1218 to MRPM-26:
---------------------------------------

    Component/s:     (was: rpm)
                 rpm
     Complexity:   (was: Intermediate)
            Key: MRPM-26  (was: MOJO-1218)
        Project: Mojo RPM Plugin  (was: Mojo)

> Add support for specifying the name of the rpm
> ----------------------------------------------
>
>                 Key: MRPM-26
>                 URL: http://jira.codehaus.org/browse/MRPM-26
>             Project: Mojo RPM Plugin
>          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