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-beta-1, 1.0-alpha-6, 1.0-alpha-5
            Reporter: Lee Thompson
            Priority: Minor


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


Reply via email to