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

Maven plugin org.jboss.tools.tycho-plugins:repository-utils fails to update p2repository archive in full jbosstools build

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 4.1.0.Alpha1
    • Component/s: build
    • Labels:
      None
    • Steps to Reproduce:
      Hide
      git clone --recursive git://github.com/dgolovin/jbosstools-fork-submodules
      cd jbosstools-fork-submodules 
      mvn clean install -DskipTests
      
      Show
      git clone --recursive git: //github.com/dgolovin/jbosstools-fork-submodules cd jbosstools-fork-submodules mvn clean install -DskipTests

      Description

      Noticed that base/site build fails with error during the full jbosstools build with error below, but it is fine for component build. The problem is that jbosstools-maven-plugins module is not using jbosstools/parent and thus using tycho version 0.15.0 which is defined in jbosstools-maven-plugins/pom.xml After setting it to the same version as in jbosstools/parent/pom.xml problem is gone.

      [ERROR] Failed to execute goal org.jboss.tools.tycho-plugins:repository-utils:0.0.1-SNAPSHOT:generate-repository-facade (generate-facade) on project server.site: Execution generate-facade of goal org.jboss.tools.tycho-plugins:repository-utils:0.0.1-SNAPSHOT:generate-repository-facade failed: A required class was missing while executing org.jboss.tools.tycho-plugins:repository-utils:0.0.1-SNAPSHOT:generate-repository-facade: org/jboss/tools/tycho/sitegenerator/GenerateRepositoryFacadeMojo$2
      [ERROR] -----------------------------------------------------
      [ERROR] realm =    plugin>org.jboss.tools.tycho-plugins:repository-utils:0.0.1-SNAPSHOT
      [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
      [ERROR] urls[0] = file:/home/eskimo/Projects/jbds/jbosstools-fork-submodules/../.m2/jbosstools-fork-submodules-maximum1/master/org/jboss/tools/tycho-plugins/repository-utils/0.0.1-SNAPSHOT/repository-utils-0.0.1-SNAPSHOT.jar
      [ERROR] urls[1] = file:/home/eskimo/Projects/jbds/jbosstools-fork-submodules/../.m2/jbosstools-fork-submodules-maximum1/master/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
      [ERROR] urls[2] = file:/home/eskimo/Projects/jbds/jbosstools-fork-submodules/../.m2/jbosstools-fork-submodules-maximum1/master/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
      [ERROR] urls[3] = file:/home/eskimo/Projects/jbds/jbosstools-fork-submodules/../.m2/jbosstools-fork-submodules-maximum1/master/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
      [ERROR] urls[4] = file:/home/eskimo/Projects/jbds/jbosstools-fork-submodules/../.m2/jbosstools-fork-submodules-maximum1/master/org/eclipse/tycho/tycho-packaging-plugin/0.15.0/tycho-packaging-plugin-0.15.0.jar
      [ERROR] urls[5] = file:/home/eskimo/Projects/jbds/jbosstools-fork-submodules/../.m2/jbosstools-fork-submodules-maximum1/master/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
      [ERROR] urls[6] = file:/home/eskimo/Projects/jbds/jbosstools-fork-submodules/../.m2/jbosstools-fork-submodules-maximum1/master/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
      [ERROR] urls[7] = file:/home/eskimo/Projects/jbds/jbosstools-fork-submodules/../.m2/jbosstools-fork-submodules-maximum1/master/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
      [ERROR] urls[8] = file:/home/eskimo/Projects/jbds/jbosstools-fork-submodules/../.m2/jbosstools-fork-submodules-maximum1/master/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
      [ERROR] urls[9] = file:/home/eskimo/Projects/jbds/jbosstools-fork-submodules/../.m2/jbosstools-fork-submodules-maximum1/master/org/codehaus/plexus/plexus-utils/2.0.4/plexus-utils-2.0.4.jar
      [ERROR] urls[10] = file:/home/eskimo/Projects/jbds/jbosstools-fork-submodules/../.m2/jbosstools-fork-submodules-maximum1/master/org/apache/maven/maven-archiver/2.4/maven-archiver-2.4.jar
      [ERROR] urls[11] = file:/home/eskimo/Projects/jbds/jbosstools-fork-submodules/../.m2/jbosstools-fork-submodules-maximum1/master/org/codehaus/plexus/plexus-archiver/1.2/plexus-archiver-1.2.jar
      [ERROR] urls[12] = file:/home/eskimo/Projects/jbds/jbosstools-fork-submodules/../.m2/jbosstools-fork-submodules-maximum1/master/org/codehaus/plexus/plexus-io/1.0.1/plexus-io-1.0.1.jar
      [ERROR] urls[13] = file:/home/eskimo/Projects/jbds/jbosstools-fork-submodules/../.m2/jbosstools-fork-submodules-maximum1/master/net/sf/saxon/saxon/8.7/saxon-8.7.jar
      [ERROR] urls[14] = file:/home/eskimo/Projects/jbds/jbosstools-fork-submodules/../.m2/jbosstools-fork-submodules-maximum1/master/net/sf/saxon/saxon-dom/8.7/saxon-dom-8.7.jar
      [ERROR] Number of foreign imports: 1
      [ERROR] import: Entry[import  from realm ClassRealm[project>org.jboss.tools:base:4.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
      [ERROR] 
      [ERROR] -----------------------------------------------------: org.jboss.tools.tycho.sitegenerator.GenerateRepositoryFacadeMojo$2
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mickael_istria Mickael Istria
                  Reporter:
                  dgolovin Denis Golovin
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: