| Summary: | Unable to resolve dependency with Tycho 0.11.1 | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | David Carver <d_a_carver> |
| Component: | Tycho | Assignee: | Project Inbox <tycho-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | hmalphettes, igor |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Bug Depends on: | 343753 | ||
| Bug Blocks: | |||
likely dup of bug 343753 I found the actual cause to this problem. I had warnings in my build about the effective POM model possibly not being correct. Once I addressed these warnings, tycho 0.11 and greater started working correctly. |
When upgrading our build from tycho-0.10.0 to tycho-0.11.1 we now get the following error during the build: [WARNING] org.ebayopensource.turmeric.eclipse.functional.test_1.0.0.qualifier has been replaced by another bundle with the same symbolic name org.ebayopensource.turmeric.eclipse.functional.test_1.0.0.qualifier [WARNING] Could not read bundle entry /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/.repository/p2/osgi/bundle/org.eclipse.equinox.registry/3.5.0.v20100503/org.eclipse.equinox.registry-3.5.0.v20100503.jar!/runtime_registry_compatibility.jar [WARNING] Could not read bundle entry /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/.repository/p2/osgi/bundle/org.eclipse.jdt.debug/3.6.1.v20100715_r361/org.eclipse.jdt.debug-3.6.1.v20100715_r361.jar!/tools.jar [WARNING] Could not read bundle entry /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/.repository/p2/osgi/bundle/org.eclipse.ui.ide/3.6.2.M20101201-0800/org.eclipse.ui.ide-3.6.2.M20101201-0800.jar!/e4-ide.jar [WARNING] Could not read bundle entry /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/.repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.6.2.M20110210-1200/org.eclipse.ui.workbench-3.6.2.M20110210-1200.jar!/e4-workbench.jar [WARNING] Could not read bundle entry /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/.repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.6.2.M20110210-1200/org.eclipse.ui.workbench-3.6.2.M20110210-1200.jar!/compatibility.jar [WARNING] Could not read bundle entry /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/.repository/p2/osgi/bundle/com.ibm.icu/4.2.1.v20100412/com.ibm.icu-4.2.1.v20100412.jar!/icu-jse4.jar [WARNING] Could not read bundle entry /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/.repository/p2/osgi/bundle/com.ibm.icu/4.2.1.v20100412/com.ibm.icu-4.2.1.v20100412.jar!/icu-data.jar [WARNING] Could not read bundle entry /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/.repository/p2/osgi/bundle/org.eclipse.equinox.registry/3.5.0.v20100503/org.eclipse.equinox.registry-3.5.0.v20100503.jar!/runtime_registry_compatibility.jar [WARNING] Could not read bundle entry /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/.repository/p2/osgi/bundle/org.eclipse.jdt.debug/3.6.1.v20100715_r361/org.eclipse.jdt.debug-3.6.1.v20100715_r361.jar!/tools.jar [WARNING] Could not read bundle entry /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/.repository/p2/osgi/bundle/org.eclipse.ui.ide/3.6.2.M20101201-0800/org.eclipse.ui.ide-3.6.2.M20101201-0800.jar!/e4-ide.jar [WARNING] Could not read bundle entry /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/.repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.6.2.M20110210-1200/org.eclipse.ui.workbench-3.6.2.M20110210-1200.jar!/e4-workbench.jar [WARNING] Could not read bundle entry /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/.repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.6.2.M20110210-1200/org.eclipse.ui.workbench-3.6.2.M20110210-1200.jar!/compatibility.jar [WARNING] Could not read bundle entry /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/.repository/p2/osgi/bundle/com.ibm.icu/4.2.1.v20100412/com.ibm.icu-4.2.1.v20100412.jar!/icu-jse4.jar [WARNING] Could not read bundle entry /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/.repository/p2/osgi/bundle/com.ibm.icu/4.2.1.v20100412/com.ibm.icu-4.2.1.v20100412.jar!/icu-data.jar [WARNING] Dependency from /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/test/org.ebayopensource.turmeric.eclipse.functional.test to nested classpath entry /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/plugins/org.ebayopensource.turmeric.eclipse.soatools/library.jar can not be represented in Maven model and will not be visible to non-OSGi aware Maven plugins [WARNING] Dependency from /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/test/org.ebayopensource.turmeric.eclipse.functional.test to nested directory classpath entry /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/.repository/.cache/tycho/org.apache.axis-1.4.0.v201005080400.jar/lib can not be represented in Maven model and will not be visible to non-OSGi aware Maven plugins [INFO] Resolving target platform for project MavenProject: org.ebayopensource.turmeric.tools.eclipse:org.eclemma.runtime.equinox:1.1.0-SNAPSHOT @ /home/dcarver/.jenkins/jobs/eclipse-ci/workspace/releng/org.eclemma.runtime.equinox/pom.xml [INFO] Cannot complete the request. Generating details. [INFO] {org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1, osgi.ws=gtk, osgi.arch=x86, osgi.os=linux, org.eclipse.update.install.features=true, org.osgi.framework.system.packages=} [INFO] [Software being installed: org.eclemma.runtime.equinox 1.1.0.qualifier, Missing requirement: org.eclemma.runtime.equinox 1.1.0.qualifier requires 'bundle org.eclipse.osgi [3.5.0,4.0.0)' but it could not be found] [ERROR] Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable. -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable. at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534) 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: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable. at org.sonatype.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:98) at org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:335) at org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:300) at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:406) at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.resolvePlatform(P2TargetPlatformResolver.java:105) at org.codehaus.tycho.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:68) at org.codehaus.tycho.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:94) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:273) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) ... 11 more Caused by: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable. ... 20 more You can check out the code at: http://www.ebayopensource.org/svn/turmeric/soa-platform/trunk/tools/eclipse/ Update the tycho-version to use 0.11.1 or 0.12.0 and you'll get the above error. This works fine with tycho 0.10.0.