Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-22162

Support build TP with Tycho 0.25.0 and target-platform-utils

XMLWordPrintable

      Currently, the latest version (0.23.3) version of target-platform-utils seems not compatible with Tycho 0.25.0

      seems interesting part of log:

      An API incompatibility was encountered while executing org.jboss.tools.tycho-plugins:target-platform-utils:0.23.3:mirror-target-to-repo: java.lang.NoSuchMethodError: org.eclipse.tycho.p2.tools.DestinationRepositoryDescriptor.<init>(Ljava/io/File;Ljava/lang/String;ZZZ)V
      

      complete log:

      [INFO] Scanning for projects...
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBoss Fuse Tooling :: Target Platform Generation 8.0.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- build-helper-maven-plugin:1.7:regex-property (regex-property) @ org.fusesource.ide.targetplatform ---
      [INFO] Setting property 'skipTestsOrITests' to ''.
      [INFO] 
      [INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (default) @ org.fusesource.ide.targetplatform ---
      [INFO] argLine set to "-javaagent:C:\\Users\\Aurelien Pupier\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.7.1.201405082137\\org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=C:\\git\\target\\jacoco.exec,append=true,includes=org.jboss.tools.*"
      [INFO] 
      [INFO] --- maven-compiler-plugin:3.5.1:testCompile (compiletests) @ org.fusesource.ide.targetplatform ---
      [INFO] No sources to compile
      [INFO] 
      [INFO] --- maven-surefire-plugin:2.19.1:test (test) @ org.fusesource.ide.targetplatform ---
      [INFO] No tests to run.
      [INFO] 
      [INFO] --- tycho-source-plugin:0.25.0:plugin-source (plugin-source) @ org.fusesource.ide.targetplatform ---
      [INFO] 
      [INFO] --- tycho-source-feature-plugin:0.25.0:source-feature (source-feature) @ org.fusesource.ide.targetplatform ---
      [INFO] 
      [INFO] --- tycho-p2-plugin:0.25.0:p2-metadata (attached-p2-metadata) @ org.fusesource.ide.targetplatform ---
      [INFO] 
      [INFO] --- repository-utils:0.23.3:generate-repository-facade (generate-facade) @ org.fusesource.ide.targetplatform ---
      [INFO] 
      [INFO] --- target-platform-utils:0.23.3:mirror-target-to-repo (default) @ org.fusesource.ide.targetplatform ---
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 4.225 s
      [INFO] Finished at: 2016-04-12T11:37:27+02:00
      [INFO] Final Memory: 29M/305M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.jboss.tools.tycho-plugins:target-platform-utils:0.23.3:mirror-target-to-repo (default) on project org.fusesource.ide.targetplatform: Execution default of goal org.jboss.tools.tycho-plugins:target-platform-utils:0.23.3:mirror-target-to-repo failed: An API incompatibility was encountered while executing org.jboss.tools.tycho-plugins:target-platform-utils:0.23.3:mirror-target-to-repo: java.lang.NoSuchMethodError: org.eclipse.tycho.p2.tools.DestinationRepositoryDescriptor.<init>(Ljava/io/File;Ljava/lang/String;ZZZ)V
      [ERROR] -----------------------------------------------------
      [ERROR] realm =    plugin>org.jboss.tools.tycho-plugins:target-platform-utils:0.23.3
      [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
      [ERROR] urls[0] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/jboss/tools/tycho-plugins/target-platform-utils/0.23.3/target-platform-utils-0.23.3.jar
      [ERROR] urls[1] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/codehaus/plexus/plexus-archiver/2.2/plexus-archiver-2.2.jar
      [ERROR] urls[2] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/codehaus/plexus/plexus-io/2.0.4/plexus-io-2.0.4.jar
      [ERROR] urls[3] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/eclipse/tycho/org.eclipse.osgi.compatibility.state/1.0.100.v20150402-1551/org.eclipse.osgi.compatibility.state-1.0.100.v20150402-1551.jar
      [ERROR] urls[4] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/eclipse/tycho/tycho-p2-publisher-plugin/0.23.1/tycho-p2-publisher-plugin-0.23.1.jar
      [ERROR] urls[5] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar
      [ERROR] urls[6] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/eclipse/tycho/tycho-packaging-plugin/0.23.1/tycho-packaging-plugin-0.23.1.jar
      [ERROR] urls[7] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/apache/maven/maven-archiver/2.5/maven-archiver-2.5.jar
      [ERROR] urls[8] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
      [ERROR] urls[9] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
      [ERROR] urls[10] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
      [ERROR] urls[11] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
      [ERROR] urls[12] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.4/plexus-utils-2.0.4.jar
      [ERROR] urls[13] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
      [ERROR] urls[14] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
      [ERROR] urls[15] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.4/plexus-component-annotations-1.5.4.jar
      [ERROR] Number of foreign imports: 1
      [ERROR] import: Entry[import  from realm ClassRealm[project>org.fusesource.ide:org.fusesource.ide.targetplatform:8.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
      [ERROR] 
      [ERROR] -----------------------------------------------------
      [ERROR] -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [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
      

              nickboldt Nick Boldt
              apupier@redhat.com Aurélien Pupier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: