Created
July 24, 2013 06:12
-
-
Save mosabua/6068386 to your computer and use it in GitHub Desktop.
Stack trace from running Android Maven Plugin Samples with Maven 3.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.6.1-SNAPSHOT:apk (default-apk) on project instrumentationtests: Error while processing transient dependencies: org.eclipse.aether.internal.impl.ObjectPool cannot be cast to org.eclipse.aether.internal.impl.ObjectPool -> [Help 1] | |
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.6.1-SNAPSHOT:apk (default-apk) on project instrumentationtests: Error while processing transient dependencies | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) | |
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:318) | |
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153) | |
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555) | |
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) | |
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) | |
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:606) | |
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:414) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357) | |
Caused by: org.apache.maven.plugin.MojoExecutionException: Error while processing transient dependencies | |
at com.jayway.maven.plugins.android.common.NativeHelper.processTransientDependencies(NativeHelper.java:286) | |
at com.jayway.maven.plugins.android.common.NativeHelper.processTransientDependencies(NativeHelper.java:211) | |
at com.jayway.maven.plugins.android.common.NativeHelper.getNativeDependenciesArtifacts(NativeHelper.java:190) | |
at com.jayway.maven.plugins.android.phase09package.ApkMojo.processNativeLibraries(ApkMojo.java:822) | |
at com.jayway.maven.plugins.android.phase09package.ApkMojo.processNativeLibraries(ApkMojo.java:797) | |
at com.jayway.maven.plugins.android.phase09package.ApkMojo.createApkFile(ApkMojo.java:347) | |
at com.jayway.maven.plugins.android.phase09package.ApkMojo.execute(ApkMojo.java:302) | |
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) | |
... 19 more | |
Caused by: java.lang.ClassCastException: org.eclipse.aether.internal.impl.ObjectPool cannot be cast to org.eclipse.aether.internal.impl.ObjectPool | |
at org.eclipse.aether.internal.impl.DataPool.<init>(DataPool.java:69) | |
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:251) | |
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:317) | |
at com.jayway.maven.plugins.android.common.NativeHelper.processTransientDependencies(NativeHelper.java:232) | |
... 27 more | |
[ERROR] |
@reiz This is a problem with aether exporting its classpath and therefore duplicates on the classpath. Jason is going to fix this in Maven soon and then things should be fine..
I am using maven 3.1.1 and the problem is still there, any news about this ?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am getting the same error by running the maven indexer with maven 3.1.