Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Unable to load materialize-products mojo

Hi All,

I appear to have a misconfiguration somewhere in my maven installation, which is producing the following error:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-director-plugin:0.13.0:materialize-products (materialize-products) on project com.kusiri.glade.camra.ui: Execution materialize-products of goal org.eclipse.tycho:tycho-p2-director-plugin:0.13.0:materialize-products failed: Unable to load the mojo 'materialize-products' in the plugin 'org.eclipse.tycho:tycho-p2-director-plugin:0.13.0'. A required class is missing: org/eclipse/tycho/core/TargetPlatform
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.eclipse.tycho:tycho-p2-director-plugin:0.13.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/hudson/.m2/repository/org/eclipse/tycho/tycho-p2-director-plugin/0.13.0/tycho-p2-director-plugin-0.13.0.jar
[ERROR] urls[1] = file:/hudson/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
[ERROR] urls[2] = file:/hudson/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
[ERROR] urls[3] = file:/hudson/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
[ERROR] urls[4] = file:/hudson/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
[ERROR] urls[5] = file:/hudson/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.4/plexus-utils-2.0.4.jar
[ERROR] urls[6] = file:/hudson/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
[ERROR] urls[7] = file:/hudson/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[8] = file:/hudson/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[9] = file:/hudson/.m2/repository/org/eclipse/tycho/tycho-equinox/0.13.0/tycho-equinox-0.13.0.jar
[ERROR] urls[10] = file:/hudson/.m2/repository/org/eclipse/tycho/tycho-equinox-api/0.13.0/tycho-equinox-api-0.13.0.jar
[ERROR] urls[11] = file:/hudson/.m2/repository/org/eclipse/tycho/tycho-equinox-launching/0.13.0/tycho-equinox-launching-0.13.0.jar
[ERROR] urls[12] = file:/hudson/.m2/repository/org/eclipse/tycho/org.eclipse.tycho.p2.resolver.facade/0.13.0/org.eclipse.tycho.p2.resolver.facade-0.13.0.jar
[ERROR] urls[13] = file:/hudson/.m2/repository/org/eclipse/tycho/org.eclipse.tycho.p2.tools.facade/0.13.0/org.eclipse.tycho.p2.tools.facade-0.13.0.jar
[ERROR] urls[14] = file:/hudson/.m2/repository/org/eclipse/tycho/tycho-packaging-plugin/0.13.0/tycho-packaging-plugin-0.13.0.jar
[ERROR] urls[15] = file:/hudson/.m2/repository/org/apache/maven/maven-archiver/2.4/maven-archiver-2.4.jar
[ERROR] urls[16] = file:/hudson/.m2/repository/org/codehaus/plexus/plexus-archiver/1.2/plexus-archiver-1.2.jar
[ERROR] urls[17] = file:/hudson/.m2/repository/org/codehaus/plexus/plexus-io/1.0.1/plexus-io-1.0.1.jar
[ERROR] urls[18] = file:/hudson/.m2/repository/org/apache/maven/surefire/surefire-booter/2.4.3/surefire-booter-2.4.3.jar
[ERROR] urls[19] = file:/hudson/.m2/repository/org/apache/maven/surefire/surefire-api/2.4.3/surefire-api-2.4.3.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[project>com.kusiri.glade:workspace:0.0.1-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------: org.eclipse.tycho.core.TargetPlatform


What is strange is that I have this same repository building on a different Hudson server, and so far as I can tell the Hudson configurations are identical. I was under the impression Maven should have taken care of all this dependency stuff, and my searching for this error turned up nothing that seemed particularly relevant. Advice as to what to investigate or potential fixes most appreciated.

Thanks

Chris

Back to the top