Issue Type: Bug Bug
Affects Versions: 2.1-alpha-1
Assignee: Unassigned
Components: rpm
Created: 22/Aug/12 9:34 AM
Description:

When the plugin attempts to build an RPM on RHEL5, the following test fails caused by the use of a mixed case architecture string:

[INFO] Building: rpm-reactor/pom.xml
[INFO] ..SUCCESS (22.4 s)
[INFO] Building: rpm-artifact/pom.xml
[INFO] ..SUCCESS (8.1 s)
[INFO] Building: rpm-1/pom.xml
[INFO] ..SUCCESS (7.6 s)
[INFO] Building: rpm-2/pom.xml
[INFO] ..SUCCESS (13.8 s)
[INFO] Building: rpm-disable/pom.xml
[INFO] ..SUCCESS (11.4 s)
[INFO] Building: rpm-macros/pom.xml
[INFO] ..SUCCESS (5.2 s)
[INFO] Building: rpm-3/pom.xml
[INFO] ..FAILED (6.7 s)
[INFO]   The build exited with code 1. See /home/chandler/minfrin/src/apache/sandbox/plexus/rpm-maven-plugin-trunk/target/it/rpm-3/build.log for details.

Caused by: org.apache.maven.plugin.MojoExecutionException: The packaging for this project did not assign a file to the build artifact
        at org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:124)

The fix is to lowercase the architecture strings as per the attached patch:

[INFO] Building: rpm-reactor/pom.xml
[INFO] ..SUCCESS (15.2 s)
[INFO] Building: rpm-artifact/pom.xml
[INFO] ..SUCCESS (7.8 s)
[INFO] Building: rpm-1/pom.xml
[INFO] ..SUCCESS (6.8 s)
[INFO] Building: rpm-2/pom.xml
[INFO] ..SUCCESS (12.8 s)
[INFO] Building: rpm-disable/pom.xml
[INFO] ..SUCCESS (13.5 s)
[INFO] Building: rpm-macros/pom.xml
[INFO] ..SUCCESS (5.2 s)
[INFO] Building: rpm-3/pom.xml
[INFO] ..SUCCESS (6.1 s)
Project: Mojo RPM Plugin
Priority: Major Major
Reporter: Graham Leggett
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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