[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] BundlesAction produced more than one IU
|
Here it is;
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.13.0-SNAPSHOT:test (default-test) on project my.rcp.plugin.tests: Execution default-test of goal org.eclipse.tycho:tycho-surefire-plugin:0.13.0-SNAPSHOT:test failed: BundlesAction produced more than one IU for /home/user/.m2/repository/p2/osgi/bundle/org.eclipse.update.configurator/3.3.100.v20100512/org.eclipse.update.configurator-3.3.100.v20100512.jar -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.13.0-SNAPSHOT:test (default-test) on project my.rcp.plugin.tests: Execution default-test of goal org.eclipse.tycho:tycho-surefire-plugin:0.13.0-SNAPSHOT:test failed: BundlesAction produced more than one IU for /home/user/.m2/repository/p2/osgi/bundle/org.eclipse.update.configurator/3.3.100.v20100512/org.eclipse.update.configurator-3.3.100.v20100512.jar
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-test of goal org.eclipse.tycho:tycho-surefire-plugin:0.13.0-SNAPSHOT:test failed: BundlesAction produced more than one IU for /home/user/.m2/repository/p2/osgi/bundle/org.eclipse.update.configurator/3.3.100.v20100512/org.eclipse.update.configurator-3.3.100.v20100512.jar
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: org.eclipse.core.runtime.AssertionFailedException: BundlesAction produced more than one IU for /home/user/.m2/repository/p2/osgi/bundle/org.eclipse.update.configurator/3.3.100.v20100512/org.eclipse.update.configurator-3.3.100.v20100512.jar
at org.eclipse.tycho.p2.impl.resolver.ResolutionContextBundlePublisher$PublisherRun.getPublishedUnitIfExists(ResolutionContextBundlePublisher.java:176)
at org.eclipse.tycho.p2.impl.resolver.ResolutionContextBundlePublisher.attemptToPublishBundle(ResolutionContextBundlePublisher.java:106)
at org.eclipse.tycho.p2.impl.resolver.ResolutionContextImpl.publishAndAddArtifactIfBundleArtifact(ResolutionContextImpl.java:208)
at org.eclipse.tycho.p2.resolver.PomDependencyProcessor.addPomDependenciesToResolutionContext(PomDependencyProcessor.java:89)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:238)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolvePlatform(P2TargetPlatformResolver.java:156)
at org.eclipse.tycho.surefire.TestMojo.createEclipseInstallation(TestMojo.java:383)
at org.eclipse.tycho.surefire.TestMojo.execute(TestMojo.java:353)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
... 20 more
On 21 June 2011 08:31, Igor Fedorenko
<igor@xxxxxxxxxxxxxx> wrote:
Can you post complete stack trace?
--
Regards,
Igor
On 11-06-20 1:16 PM, Simon Goodall wrote:
Hi,
I switched using Tycho 0.13.0-SNAPSHOT from 0.12.0 and I now get the
following exception when trying to run my test plugin (which includes
swtbot tests) - everything else builds with "SUCCESS". Checking my .m2
directory there is only one org.eclipse.update.
configurator-3.3.100.v20100512.jar (although a .source version is also
present). There is also only that version. I did have both helios and
eclipse-update sites defined, but since removed eclipse-updates but I
still get the same error.
Any ideas?
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-
surefire-plugin:0.13.0-SNAPSHOT:test (default-test) on project
my.rcp.plugin.tests: Execution default-test of goal
org.eclipse.tycho:tycho-surefire-plugin:0.13.0-SNAPSHOT:test failed:
BundlesAction produced more than one IU for
/home/user/.m2/repository/p2/osgi/bundle/org.eclipse.update.configurator/3.3.100.v20100512/org.eclipse.update.configurator-3.3.100.v20100512.jar
-> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal
org.eclipse.tycho:tycho-surefire-plugin:0.13.0-SNAPSHOT:test
(default-test) on project my.rcp.plugin.tests: Execution default-test of
goal org.eclipse.tycho:tycho-surefire-plugin:0.13.0-SNAPSHOT:test
failed: BundlesAction produced more than one IU for
/home/user/.m2/repository/p2/osgi/bundle/org.eclipse.update.configurator/3.3.100.v20100512/org.eclipse.update.configurator-3.3.100.v20100512.jar
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(
......
--
Simon Goodall
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
Simon