maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: [PLEASE TEST] Apache Maven 3.0.3-RC1
Date Sun, 27 Feb 2011 23:12:07 GMT
wifi is flaky so I won't make it through JIRA, but here's the trace from Archiva if it helps.
It looks due to an API change, as the appassembler plugin declares it's own repository type.

<snip>
[INFO] --- appassembler-maven-plugin:1.0:create-repository (default) @ archiva-jetty ---
[DEBUG] Configuring mojo org.codehaus.mojo:appassembler-maven-plugin:1.0:create-repository
from plugin realm ClassRealm[plugin>org.codehaus.mojo:appassembler-maven-plugin:1.0, parent:
sun.misc.Launcher$AppClassLoader@6d6f0472]
[DEBUG] Configuring mojo 'org.codehaus.mojo:appassembler-maven-plugin:1.0:create-repository'
with basic configurator -->
[DEBUG]   (f) artifacts = [org.mortbay.jetty:jetty:jar:6.1.19:compile, org.mortbay.jetty:jetty-util:jar:6.1.19:compile,
org.mortbay.jetty:servlet-api:jar:2.5-20081211:compile, org.mortbay.jetty:start:jar:6.1.19:compile,
org.apache.archiva:archiva-webapp:war:1.4-SNAPSHOT:compile, org.apache.archiva:archiva-docs:zip:docs:1.4-SNAPSHOT:compile,
org.mortbay.jetty:jetty-naming:jar:6.1.19:runtime, org.mortbay.jetty:jsp-2.1-jetty:jar:6.1.19:runtime,
org.eclipse.jdt:core:jar:3.1.1:runtime, org.mortbay.jetty:jsp-api-2.1-glassfish:jar:9.1.1.B60.25.p0:runtime,
org.mortbay.jetty:jsp-2.1-glassfish:jar:9.1.1.B60.25.p0:runtime, org.mortbay.jetty:jetty-plus:jar:6.1.19:runtime,
geronimo-spec:geronimo-spec-jta:jar:1.0.1B-rc4:runtime, org.apache.derby:derby:jar:10.1.3.1:runtime,
javax.mail:mail:jar:1.4:runtime, javax.activation:activation:jar:1.1:runtime, ant:ant:jar:1.6.5:runtime,
commons-dbcp:commons-dbcp:jar:1.2.1:compile, commons-collections:commons-collections:jar:3.2:compile,
commons-pool:commons-pool:jar:1.2:compile, xml-apis:xml-apis:jar:1.0.b2:compile, xerces:xercesImpl:jar:2.8.1:compile]
[DEBUG]   (f) assembleDirectory = /Users/brett/scm/archiva/archiva/archiva-jetty/target/generated-resources/appassembler/jsw/archiva
[DEBUG]   (f) installBooterArtifacts = false
[DEBUG]   (f) localRepository =        id: local
      url: file:///Users/brett/.m2/repository/
   layout: none

[DEBUG]   (f) pluginVersion = 1.0
[DEBUG]   (f) projectArtifact = org.apache.archiva:archiva-jetty:pom:1.4-SNAPSHOT
[DEBUG]   (f) repoPath = lib
[DEBUG]   (f) repositoryLayout = flat
[DEBUG] -- end configuration --
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.176s
[INFO] Finished at: Mon Feb 28 10:09:34 EST 2011
[INFO] Final Memory: 10M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:appassembler-maven-plugin:1.0:create-repository
(default) on project archiva-jetty: Execution default of goal org.codehaus.mojo:appassembler-maven-plugin:1.0:create-repository
failed: An API incompatibility was encountered while executing org.codehaus.mojo:appassembler-maven-plugin:1.0:create-repository:
java.lang.AbstractMethodError: null
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.codehaus.mojo:appassembler-maven-plugin:1.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/Users/brett/.m2/repository/org/codehaus/mojo/appassembler-maven-plugin/1.0/appassembler-maven-plugin-1.0.jar
[ERROR] urls[1] = file:/Users/brett/.m2/repository/org/codehaus/mojo/appassembler/appassembler-model/1.0/appassembler-model-1.0.jar
[ERROR] urls[2] = file:/Users/brett/.m2/repository/net/java/dev/stax-utils/stax-utils/20060502/stax-utils-20060502.jar
[ERROR] urls[3] = file:/Users/brett/.m2/repository/stax/stax/1.1.1-dev/stax-1.1.1-dev.jar
[ERROR] urls[4] = file:/Users/brett/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar
[ERROR] urls[5] = file:/Users/brett/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR] 
[ERROR] -----------------------------------------------------
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:appassembler-maven-plugin:1.0:create-repository
(default) on project archiva-jetty: Execution default of goal org.codehaus.mojo:appassembler-maven-plugin:1.0:create-repository
failed: An API incompatibility was encountered while executing org.codehaus.mojo:appassembler-maven-plugin:1.0:create-repository:
java.lang.AbstractMethodError: null
-----------------------------------------------------
realm =    plugin>org.codehaus.mojo:appassembler-maven-plugin:1.0
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/Users/brett/.m2/repository/org/codehaus/mojo/appassembler-maven-plugin/1.0/appassembler-maven-plugin-1.0.jar
urls[1] = file:/Users/brett/.m2/repository/org/codehaus/mojo/appassembler/appassembler-model/1.0/appassembler-model-1.0.jar
urls[2] = file:/Users/brett/.m2/repository/net/java/dev/stax-utils/stax-utils/20060502/stax-utils-20060502.jar
urls[3] = file:/Users/brett/.m2/repository/stax/stax/1.1.1-dev/stax-1.1.1-dev.jar
urls[4] = file:/Users/brett/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar
urls[5] = file:/Users/brett/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

-----------------------------------------------------

	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	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:319)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	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:597)
	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.PluginExecutionException: Execution default of goal org.codehaus.mojo:appassembler-maven-plugin:1.0:create-repository
failed: An API incompatibility was encountered while executing org.codehaus.mojo:appassembler-maven-plugin:1.0:create-repository:
java.lang.AbstractMethodError: null
-----------------------------------------------------
realm =    plugin>org.codehaus.mojo:appassembler-maven-plugin:1.0
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/Users/brett/.m2/repository/org/codehaus/mojo/appassembler-maven-plugin/1.0/appassembler-maven-plugin-1.0.jar
urls[1] = file:/Users/brett/.m2/repository/org/codehaus/mojo/appassembler/appassembler-model/1.0/appassembler-model-1.0.jar
urls[2] = file:/Users/brett/.m2/repository/net/java/dev/stax-utils/stax-utils/20060502/stax-utils-20060502.jar
urls[3] = file:/Users/brett/.m2/repository/stax/stax/1.1.1-dev/stax-1.1.1-dev.jar
urls[4] = file:/Users/brett/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar
urls[5] = file:/Users/brett/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

-----------------------------------------------------

	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:139)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 19 more
Caused by: org.apache.maven.plugin.PluginContainerException: An API incompatibility was encountered
while executing org.codehaus.mojo:appassembler-maven-plugin:1.0:create-repository: java.lang.AbstractMethodError:
null
-----------------------------------------------------
realm =    plugin>org.codehaus.mojo:appassembler-maven-plugin:1.0
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/Users/brett/.m2/repository/org/codehaus/mojo/appassembler-maven-plugin/1.0/appassembler-maven-plugin-1.0.jar
urls[1] = file:/Users/brett/.m2/repository/org/codehaus/mojo/appassembler/appassembler-model/1.0/appassembler-model-1.0.jar
urls[2] = file:/Users/brett/.m2/repository/net/java/dev/stax-utils/stax-utils/20060502/stax-utils-20060502.jar
urls[3] = file:/Users/brett/.m2/repository/stax/stax/1.1.1-dev/stax-1.1.1-dev.jar
urls[4] = file:/Users/brett/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar
urls[5] = file:/Users/brett/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

-----------------------------------------------------

	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
	... 20 more
Caused by: java.lang.AbstractMethodError
	at org.apache.maven.RepositoryUtils.toRepo(RepositoryUtils.java:200)
	at org.apache.maven.repository.legacy.LegacyRepositorySystem.getProxy(LegacyRepositorySystem.java:691)
	at org.apache.maven.repository.legacy.LegacyRepositorySystem.injectProxy(LegacyRepositorySystem.java:716)
	at org.apache.maven.artifact.repository.DefaultArtifactRepositoryFactory.injectSession(DefaultArtifactRepositoryFactory.java:110)
	at org.apache.maven.artifact.repository.DefaultArtifactRepositoryFactory.createDeploymentArtifactRepository(DefaultArtifactRepositoryFactory.java:67)
	at org.codehaus.mojo.appassembler.CreateRepositoryMojo.execute(CreateRepositoryMojo.java:174)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	... 20 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/PluginContainerException


On 28/02/2011, at 9:59 AM, Stuart McCulloch wrote:

> 
> Was there any additional stack trace after the
> "java.lang.AbstractMethodError" line or was it truncated?
> Could you open an issue for this on MNG with the full -X log and (if
> possible) a test-case or test-project?
> 

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message