Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: Maven fails to build itself with mvn-local (compilation failure)
https://bugzilla.redhat.com/show_bug.cgi?id=669086
Summary: Maven fails to build itself with mvn-local
(compilation failure)
Product: Fedora
Version: rawhide
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: medium
Priority: low
Component: maven
AssignedTo: sochotni(a)redhat.com
ReportedBy: sochotni(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: akurtako(a)redhat.com, sochotni(a)redhat.com,
java-sig-commits(a)lists.fedoraproject.org
Classification: Fedora
Target Release: ---
Description of problem:
Maven fails to build itself in local mode with compilation failures.
[DEBUG]
/home/w0rm/temp/maven/apache-maven-3.0/maven-settings-builder/src/main/java
Compiling 26 source files to
/home/w0rm/temp/maven/apache-maven-3.0/maven-settings-builder/target/classes
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Apache Maven 3.x
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Maven 3.x .................................. SUCCESS [2.029s]
[INFO] Maven Model ....................................... SUCCESS [8.273s]
[INFO] Maven Settings .................................... SUCCESS [3.564s]
[INFO] Maven Settings Builder ............................ FAILURE [1.322s]
[INFO] Maven Repository Metadata Model ................... SKIPPED
[INFO] Maven Artifact .................................... SKIPPED
[INFO] Maven Plugin API .................................. SKIPPED
[INFO] Maven Model Builder ............................... SKIPPED
[INFO] Maven Aether Provider ............................. SKIPPED
[INFO] Maven Core ........................................ SKIPPED
[INFO] Maven Compat ...................................... SKIPPED
[INFO] Maven Embedder .................................... SKIPPED
[INFO] Maven Distribution ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.241s
[INFO] Finished at: Wed Jan 12 17:26:41 CET 2011
[INFO] Final Memory: 26M/73M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile)
on project maven-settings-builder: Compilation failure: Compilation failure:
[ERROR]
/home/w0rm/temp/maven/apache-maven-3.0/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java:[56,27]
clone() has protected access in java.lang.Object
[ERROR]
[ERROR]
/home/w0rm/temp/maven/apache-maven-3.0/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java:[56,33]
incompatible types
[ERROR] found : java.lang.Object
[ERROR] required: org.apache.maven.settings.Server
[ERROR]
[ERROR]
/home/w0rm/temp/maven/apache-maven-3.0/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java:[85,25]
clone() has protected access in java.lang.Object
[ERROR]
[ERROR]
/home/w0rm/temp/maven/apache-maven-3.0/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java:[85,31]
incompatible types
[ERROR] found : java.lang.Object
[ERROR] required: org.apache.maven.settings.Proxy
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile)
on project maven-settings-builder: Compilation failure
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:315)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation
failure
at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
... 19 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :maven-settings-builder
error: Bad exit status from /var/tmp/rpm-tmp.cvdqJk (%build)
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.