[
https://jira.codehaus.org/browse/MRPM-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=293868#comment-293868
]
Brett Okken commented on MRPM-103:
----------------------------------
The artifact is named according to maven naming conventions.
This is essentially the same as MRPM-53.
> Classifierand release is missing when using a native RPM build
> --------------------------------------------------------------
>
> Key: MRPM-103
> URL: https://jira.codehaus.org/browse/MRPM-103
> Project: Mojo RPM Plugin
> Issue Type: Bug
> Components: rpm
> Affects Versions: 2.0.1
> Environment: java version "1.6.0_20"
> OpenJDK Runtime Environment (IcedTea6 1.9.8) (rhel-1.22.1.9.8.el5_6-x86_64)
> OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
> Reporter: Graham Leggett
> Assignee: Brett Okken
>
> When an attempt is made to create an RPM as the primary artifact, it all
> works fine but for the mangling of the output filename, which is missing both
> a classifier (noarch) and the release ("1"). This requires the RPM be renamed
> back to the proper expected name before use:
> [INFO] Installing /.../target/rpm/iui/RPMS/noarch/iui-0.40.beta2-1.noarch.rpm
> to /.../.m2/repository/org/iui-js/iui/0.40.beta2/iui-0.40.beta2.rpm
> While the RPM was correctly built with the name
> "iui-0.40.beta2-1.noarch.rpm", when it was deployed to the repository it was
> renamed to "iui-0.40.beta2.rpm".
> There seems at this point to be no workaround apart from manually fixing the
> filenames before installation.
--
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