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

common component should not be redistributing tests plugins; can create incompatible dependencies when building aggregate sites

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 4.0.0.Alpha1, 4.0.0.Alpha2
    • 4.0.0.Alpha1
    • common
    • None

    Description

      Because the Common component build contains org.jboss.tools.tests and org.jboss.tools.tests.source plugins in its update site, it's possible to encounter this problem when trying to build an aggrgate:

      [ERROR] Cannot resolve project dependencies:
      [ERROR]   Software being installed: org.jboss.tools.site.core.tests raw:0.0.2.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):0.0.2-SNAPSHOT
      [ERROR]   Only one of the following can be installed at once: [org.jboss.tools.tests 3.4.0.M1-v20120829-1401-H831, org.jboss.tools.tests 3.4.0.Alpha1-v20120903-1302-H21]
      [ERROR]   Cannot satisfy dependency: org.jboss.tools.common.all.test.feature.feature.group 3.4.0.Alpha1-v20120903-1324-H11 depends on: org.jboss.tools.tests [3.4.0.M1-v20120829-1401-H831]
      [ERROR]   Cannot satisfy dependency: org.jboss.tools.site.core.tests raw:0.0.2.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):0.0.2-SNAPSHOT depends on: org.jboss.tools.common.all.test.feature.feature.group 0.0.0
      [ERROR]   Cannot satisfy dependency: org.jboss.tools.site.core.tests raw:0.0.2.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):0.0.2-SNAPSHOT depends on: org.jboss.tools.test.feature.feature.group 0.0.0
      [ERROR]   Cannot satisfy dependency: org.jboss.tools.test.feature.feature.group 3.4.0.Alpha1-v20120903-1302-H21 depends on: org.jboss.tools.tests [3.4.0.Alpha1-v20120903-1302-H21]
      
      

      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-4.0_stable_branch.coretests.aggregate/7/

      Solution:

      remove org.jboss.tools.tests and org.jboss.tools.tests.source from the features which are included on the common component's update site; it can and should still be a dependency within org.jboss.tools.common.all.test.feature, but should be required, not included.

      Attachments

        Activity

          People

            nickboldt Nick Boldt
            nickboldt Nick Boldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: