[
http://jira.codehaus.org/browse/CBUILDS-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lee Thompson reassigned CBUILDS-57:
-----------------------------------
Assignee: Lee Thompson
> file name string handling in RPM plugin needs refactoring
> ---------------------------------------------------------
>
> Key: CBUILDS-57
> URL: http://jira.codehaus.org/browse/CBUILDS-57
> Project: Mojo C Builds
> Issue Type: Improvement
> Components: RPM artifact management
> Affects Versions: 1.0-alpha-5, 1.0-alpha-6, 1.0-beta-1
> Reporter: Lee Thompson
> Assignee: Lee Thompson
> Priority: Minor
> Fix For: 1.0-beta-2
>
>
> BuildRpmMojo.java
> GenerateSpecFileMojo.java
> and perhaps a few others have different implementations of the same code to
> generate the file name, version, classifier, package extenstion. This needs
> to be consolidated/refactored as its generated a lot of bugs. It could be
> three lines of code?
> mvnVersion = rpmVersion + "-" + rpmRelease
> classifier = skipPlatformPostfix ? "noarch" : distroName + "." + distroCPU
> filename = rpmName + "." + mvnVersion + "." + classifier + ".rpm"
> RpmInfoFormatter.java and ProjectRpmFileManager.java and maybe a few others
> need to be rewritten
--
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