Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0-alpha-5
-
Component/s: None
-
Labels:None
-
Environment:linux / redhat
-
Number of attachments :
Description
Build fails on rpm install with
FATAL ERROR: Unable to configure the Maven application
Error stacktrace:
org.apache.maven.reactor.MavenExecutionException: Some builds failed
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:165)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:906)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:370)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
Last 300 lines of maven -X install:
[DEBUG] Finished executing: org.codehaus.mojo:patch-maven-plugin:1.0-alpha-4-SNAPSHOT:package-patches
[DEBUG] Mojo: install has config:
null
[DEBUG] In verifyVersionedPlugin for: org.apache.maven.plugins:maven-install-plugin
[DEBUG] org.apache.maven.plugins:maven-install-plugin:maven-plugin:2.1:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (selected for runtime)
[DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-project:jar:2.0:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-profile:jar:2.0:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for runtime)
[DEBUG] Main plugin artifacts: []
[DEBUG] org.apache.maven.plugins:maven-install-plugin:maven-plugin:2.1:runtime (selected for runtime)
[DEBUG] After adding project-level plugin dependencies: []
[DEBUG] Using the following artifacts for classpath of: org.apache.maven.plugins:maven-install-plugin:maven-plugin:2.1:
[]
[DEBUG] Realm already exists for: org.apache.maven.plugins:maven-install-plugin. Skipping addition...
[DEBUG] Executing: org.apache.maven.plugins:maven-install-plugin:2.1:install
[DEBUG] Looking up mojo org.apache.maven.plugins:maven-install-plugin:2.1:install in realm org.apache.maven.plugins:maven-install-plugin - descRealmId=org.apache.maven.plugins:maven-install-plugin
[DEBUG] Registering at plexus.core: org.apache.maven.artifact.installer.DefaultArtifactInstaller (object realm: sun.misc.Launcher$AppClassLoader@12498b5), lookuprealm=org.apache.maven.plugins:maven-install-plugin
[DEBUG] Looked up - org.apache.maven.plugin.install.InstallMojo@176de14 - ClassRealm[org.apache.maven.plugins:maven-install-plugin, parent: ClassRealm[plexus.core, parent: null]]
[DEBUG] Loaded mojo: org.apache.maven.plugin.install.InstallMojo@176de14
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-install-plugin:2.1:install' -->
[DEBUG] (f) artifact = et.em:expat:rpm:rhel3-i386:1.95.2-1
[DEBUG] (f) attachedArtifacts = [et.em:expat:zip:patches:1.95.2-1]
[DEBUG] (f) localRepository = [local] -> file:///home/user/.m2/repository
[DEBUG] (f) packaging = rpm
[DEBUG] (f) pomFile = /home/user/etpkg/em/cpkg-stb/src/expat/pom.xml
[DEBUG] – end configuration –
[INFO] [install:install]
[INFO] Installing /home/user/etpkg/em/cpkg-stb/src/expat/target/rpm-topdir/RPMS/i386/et_em_expat-1.95.2-1.rhel3.i386.rpm to /home/user/.m2/repository/et/em/expat/1.95.2-1/expat-1.95.2-1-rhel3-i386.rpm
[INFO] Installing /home/user/etpkg/em/cpkg-stb/src/expat/target/expat-1.95.2-1-patches.zip to /home/user/.m2/repository/et/em/expat/1.95.2-1/expat-1.95.2-1-patches.zip
[DEBUG] Finished executing: org.apache.maven.plugins:maven-install-plugin:2.1:install
[DEBUG] Mojo: install has config:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<prefix>/etrade/pkgs/linux/intel/expat/$
.$
{et.pkg.os}.x86</prefix>
<destDir>$
/install</destDir>
<skipPlatformPostfix>false</skipPlatformPostfix>
</configuration>
[DEBUG] In verifyVersionedPlugin for: org.codehaus.mojo:rpm-cbuild-maven-plugin
[DEBUG] rpm-cbuild-maven-plugin: using locally installed snapshot
[DEBUG] org.codehaus.mojo:rpm-cbuild-maven-plugin:maven-plugin:1.0-alpha-4-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-core:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-lifecycle:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-build-context:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-22:runtime (selected for runtime)
[DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-19:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-7:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.3:runtime (removed - nearer found: 1.4)
[DEBUG] org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-7:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-settings:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-model:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] jdom:jdom:jar:1.0:runtime (selected for runtime)
[DEBUG] jdom:jdom:jar:1.0:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-plugin-parameter-documenter:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.apache.maven.reporting:maven-reporting-api:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-9-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-profile:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-model:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-artifact:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-19:runtime (removed - nearer found: 1.0-alpha-22)
[DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-22:runtime (selected for runtime)
[DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-7:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-22:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-19:runtime (removed - nearer found: 1.0-alpha-22)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.3:runtime (removed - nearer found: 1.4)
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-error-diagnostics:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-project:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.4)
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-beta-2:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-plugin-registry:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] commons-cli:commons-cli:jar:1.0:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:runtime (selected for runtime)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.4)
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-beta-2:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-monitor:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-7:runtime (removed - nearer found: 1.2-alpha-5)
[DEBUG] org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-5:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-active-collections:jar:1.0-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-16:runtime (removed - nearer found: 1.0-alpha-22)
[DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-16:runtime (removed - nearer found: 1.0-alpha-22)
[DEBUG] ant:ant-nodeps:jar:1.6.5:runtime (selected for runtime)
[DEBUG] org.codehaus.mojo:cbuild-utils:jar:1.0-alpha-4-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-active-collections:jar:1.0-beta-1:runtime (removed - nearer found: 1.0-SNAPSHOT)
[DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-16:runtime (removed - nearer found: 1.0-alpha-22)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-16:runtime (removed - nearer found: 1.0-alpha-22)
[DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-8:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-15:runtime (removed - nearer found: 1.0-alpha-22)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-15:runtime (removed - nearer found: 1.0-alpha-22)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.3:runtime (removed - nearer found: 1.4)
[DEBUG] org.apache.maven.shared:file-management:jar:1.0:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:runtime (removed - nearer found: 2.1-SNAPSHOT)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.4)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (removed - nearer found: 1.4)
[DEBUG] org.apache.maven:maven-artifact:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] ant:ant:jar:1.6.5:runtime (selected for runtime)
[DEBUG] org.codehaus.mojo:platform-detector-maven-plugin:jar:1.0-alpha-4-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-16:runtime (removed - nearer found: 1.0-alpha-22)
[DEBUG] easymock:easymock:jar:1.2_Java1.3:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4:runtime (removed - nearer found: 1.4.1)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (selected for runtime)
[DEBUG] easymock:easymock:jar:1.2_Java1.3:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-project:jar:2.1-SNAPSHOT:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4:runtime (removed - nearer found: 1.4.1)
[DEBUG] cbuild-utils: using locally installed snapshot
[DEBUG] platform-detector-maven-plugin: using locally installed snapshot
[DEBUG] Main plugin artifacts: [ant:ant-nodeps:jar:1.6.5:runtime
org.codehaus.mojo:cbuild-utils:jar:1.0-alpha-4-SNAPSHOT:runtime
org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-8:runtime
org.apache.maven.shared:file-management:jar:1.0:runtime
ant:ant:jar:1.6.5:runtime
org.codehaus.mojo:platform-detector-maven-plugin:jar:1.0-alpha-4-SNAPSHOT:runtime
easymock:easymock:jar:1.2_Java1.3:runtime]
[DEBUG] org.codehaus.mojo:rpm-cbuild-maven-plugin:maven-plugin:1.0-alpha-4-SNAPSHOT:runtime (selected for runtime)
[DEBUG] After adding project-level plugin dependencies: [ant:ant-nodeps:jar:1.6.5:runtime
org.codehaus.mojo:cbuild-utils:jar:1.0-alpha-4-SNAPSHOT:runtime
org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-8:runtime
org.apache.maven.shared:file-management:jar:1.0:runtime
ant:ant:jar:1.6.5:runtime
org.codehaus.mojo:platform-detector-maven-plugin:jar:1.0-alpha-4-SNAPSHOT:runtime
easymock:easymock:jar:1.2_Java1.3:runtime]
[DEBUG] Using the following artifacts for classpath of: org.codehaus.mojo:rpm-cbuild-maven-plugin:maven-plugin:1.0-alpha-4-SNAPSHOT:
[ant:ant-nodeps:jar:1.6.5:runtime
org.codehaus.mojo:cbuild-utils:jar:1.0-alpha-4-SNAPSHOT:runtime
org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-8:runtime
org.apache.maven.shared:file-management:jar:1.0:runtime
ant:ant:jar:1.6.5:runtime
org.codehaus.mojo:platform-detector-maven-plugin:jar:1.0-alpha-4-SNAPSHOT:runtime
easymock:easymock:jar:1.2_Java1.3:runtime]
[DEBUG] Realm already exists for: org.codehaus.mojo:rpm-cbuild-maven-plugin. Skipping addition...
[DEBUG] Executing: org.codehaus.mojo:rpm-cbuild-maven-plugin:1.0-alpha-4-SNAPSHOT:install
[DEBUG] et.em:expat:rpm:1.95.2-1 (selected for null)
[DEBUG] Looking up mojo org.codehaus.mojo:rpm-cbuild-maven-plugin:1.0-alpha-4-SNAPSHOT:install in realm org.codehaus.mojo:rpm-cbuild-maven-plugin - descRealmId=org.codehaus.mojo:rpm-cbuild-maven-plugin
[DEBUG] Looked up - org.codehaus.mojo.rpm.InstallRpmMojo@122cc7e - ClassRealm[org.codehaus.mojo:rpm-cbuild-maven-plugin, parent: ClassRealm[plexus.core, parent: null]]
[DEBUG] Loaded mojo: org.codehaus.mojo.rpm.InstallRpmMojo@122cc7e
[DEBUG] Configuring mojo 'org.codehaus.mojo:rpm-cbuild-maven-plugin:1.0-alpha-4-SNAPSHOT:install' -->
[DEBUG] (f) forceAllInstalls = false
[DEBUG] (f) forceInstall = false
[DEBUG] (f) project = org.apache.maven.project.MavenProject@d6f83949
[DEBUG] (f) skipInstall = false
[DEBUG] (f) useSudo = true
[DEBUG] – end configuration –
[INFO] [rpm-cbuild:install]
[INFO] Using RPM database path from POM: 'null'.
[DEBUG] Prefixing RPM name with: 'null'
RPM Name: 'et_em_expat'
[DEBUG] rpmPackage='et_em_expat-1.95.2-1'
[DEBUG] RPM DB Path is not set.
[DEBUG] Executing: /bin/bash -c sudo rpm -q et_em_expat-1.95.2-1
[DEBUG] package et_em_expat-1.95.2-1 is not installed
RPM: et_em_expat-1.95.2-1 is NOT installed.
[DEBUG] Installing RPM: et_em_expat
[DEBUG] RPM DB Path is not set.
[DEBUG] Executing command:
/bin/bash -c "sudo rpm -Uvh /home/user/etpkg/em/cpkg-stb/src/expat/target/rpm-topdir/RPMS/i386/et_em_expat-1.95.2-1.rhel3.i386.rpm"
[DEBUG] Executing: /bin/bash -c sudo rpm -Uvh /home/user/etpkg/em/cpkg-stb/src/expat/target/rpm-topdir/RPMS/i386/et_em_expat-1.95.2-1.rhel3.i386.rpm
[DEBUG] Preparing... ##################################################
[DEBUG] package et_em_expat-1.95.2-1.rhel3 is already installed
[DEBUG] file /etrade/pkgs/linux/intel/expat/1.95.2.rhas3.x86/lib/libexpat.a from install of et_em_expat-1.95.2-1.rhel3 conflicts with file from package et_em_expat-1.95.2-1.rhel3
[DEBUG] Error executing: org.codehaus.mojo:rpm-cbuild-maven-plugin:1.0-alpha-4-SNAPSHOT:install
org.apache.maven.plugin.MojoExecutionException: Failed to install project RPM for: org.apache.maven.project.MavenProject@d6f83949
at org.codehaus.mojo.rpm.InstallRpmMojo.execute(InstallRpmMojo.java:91)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:618)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:360)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:260)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:146)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:124)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:906)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:370)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
Caused by: org.codehaus.mojo.tools.rpm.RpmInstallException: RPM installation process exited abnormally (returned: 1).
at org.codehaus.mojo.tools.rpm.RpmMediator.install(RpmMediator.java:136)
at org.codehaus.mojo.rpm.AbstractRpmInstallMojo.install(AbstractRpmInstallMojo.java:94)
at org.codehaus.mojo.rpm.InstallRpmMojo.execute(InstallRpmMojo.java:87)
... 16 more
[DEBUG] Failure behavior in reactorManager is: fail-fast
[DEBUG] Checking vs. fail-fast
[DEBUG] Checking vs. fail-at-end
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[DEBUG] Registering at plexus.core: org.apache.maven.usability.MojoFailureExceptionDiagnoser (object realm: sun.misc.Launcher$AppClassLoader@12498b5), lookuprealm=org.codehaus.mojo:rpm-cbuild-maven-plugin
[DEBUG] Registering at plexus.core: org.apache.maven.usability.ArtifactNotFoundDiagnoser (object realm: sun.misc.Launcher$AppClassLoader@12498b5), lookuprealm=org.codehaus.mojo:rpm-cbuild-maven-plugin
[DEBUG] Registering at plexus.core: org.apache.maven.usability.ProjectBuildDiagnoser (object realm: sun.misc.Launcher$AppClassLoader@12498b5), lookuprealm=org.codehaus.mojo:rpm-cbuild-maven-plugin
[DEBUG] Registering at plexus.core: org.apache.maven.usability.PluginConfigurationDiagnoser (object realm: sun.misc.Launcher$AppClassLoader@12498b5), lookuprealm=org.codehaus.mojo:rpm-cbuild-maven-plugin
[DEBUG] Registering at plexus.core: org.apache.maven.usability.InvalidArtifactDiagnoser (object realm: sun.misc.Launcher$AppClassLoader@12498b5), lookuprealm=org.codehaus.mojo:rpm-cbuild-maven-plugin
[DEBUG] Registering at plexus.core: org.apache.maven.usability.ArtifactResolverDiagnoser (object realm: sun.misc.Launcher$AppClassLoader@12498b5), lookuprealm=org.codehaus.mojo:rpm-cbuild-maven-plugin
[DEBUG] Registering at plexus.core: org.apache.maven.usability.MojoExecutionExceptionDiagnoser (object realm: sun.misc.Launcher$AppClassLoader@12498b5), lookuprealm=org.codehaus.mojo:rpm-cbuild-maven-plugin
[DEBUG] Registering at plexus.core: org.apache.maven.usability.ProfileActivationDiagnoser (object realm: sun.misc.Launcher$AppClassLoader@12498b5), lookuprealm=org.codehaus.mojo:rpm-cbuild-maven-plugin
[INFO] Failed to install project RPM for: org.apache.maven.project.MavenProject@d6f83949
Embedded error: RPM installation process exited abnormally (returned: 1).
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.BuildFailureException: Failed to install project RPM for: org.apache.maven.project.MavenProject@d6f83949
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:124)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:906)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:370)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: Failed to install project RPM for: org.apache.maven.project.MavenProject@d6f83949
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:399)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:260)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:146)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
... 11 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to install project RPM for: org.apache.maven.project.MavenProject@d6f83949
at org.codehaus.mojo.rpm.InstallRpmMojo.execute(InstallRpmMojo.java:91)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:618)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:360)
... 14 more
Caused by: org.codehaus.mojo.tools.rpm.RpmInstallException: RPM installation process exited abnormally (returned: 1).
at org.codehaus.mojo.tools.rpm.RpmMediator.install(RpmMediator.java:136)
at org.codehaus.mojo.rpm.AbstractRpmInstallMojo.install(AbstractRpmInstallMojo.java:94)
at org.codehaus.mojo.rpm.InstallRpmMojo.execute(InstallRpmMojo.java:87)
... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16 seconds
[INFO] Finished at: Mon Apr 02 15:51:36 PDT 2007
[INFO] Final Memory: 17M/74M
[INFO] ------------------------------------------------------------------------
[INFO] Error for project: Unnamed - et.em:expat:rpm:1.95.2-1 (during org.codehaus.mojo:rpm-cbuild-maven-plugin:1.0-alpha-4-SNAPSHOT:install)
[INFO] ------------------------------------------------------------------------
[INFO] Failed to install project RPM for: org.apache.maven.project.MavenProject@d6f83949
Embedded error: RPM installation process exited abnormally (returned: 1).
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to install project RPM for: org.apache.maven.project.MavenProject@d6f83949
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:399)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:260)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:146)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:124)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:906)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:370)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to install project RPM for: org.apache.maven.project.MavenProject@d6f83949
at org.codehaus.mojo.rpm.InstallRpmMojo.execute(InstallRpmMojo.java:91)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:618)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:360)
... 14 more
Caused by: org.codehaus.mojo.tools.rpm.RpmInstallException: RPM installation process exited abnormally (returned: 1).
at org.codehaus.mojo.tools.rpm.RpmMediator.install(RpmMediator.java:136)
at org.codehaus.mojo.rpm.AbstractRpmInstallMojo.install(AbstractRpmInstallMojo.java:94)
at org.codehaus.mojo.rpm.InstallRpmMojo.execute(InstallRpmMojo.java:87)
... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD ERRORS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17 seconds
[INFO] Finished at: Mon Apr 02 15:51:36 PDT 2007
[INFO] Final Memory: 17M/73M
[INFO] ------------------------------------------------------------------------
Looks like the method that checks whether an RPM is already installed fails to trim off the release number.