Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-1336

Regression: deltaspike-cdictrl-weld 1.8.0 depends on weld-api 1.1.Final

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.8.0
    • 1.9.0
    • TestControl
    • None

    Description

      TheĀ deltaspike-cdictrl-weld module introduces a new dependency since 1.8.0: org.jboss.weld:weld-api:jar:1.1.Final. This wasn't the case in 1.7.2.

      This causes issues when depending on other weld versions, like 2.3. For example

      java.lang.NoSuchMethodError: org.jboss.weld.context.SingletonContext.invalidate()V
      

      To reproduce: execute a simple mvn dependency:tree on the attached pom.xml files.

      The issue is probably caused by the weld.version property (1.1.9.Final) added to the deltaspike parent pom.xml.

      Attachments

        1. pom-ds-1.7.2.xml
          2 kB
          Christophe Chisogne
        2. pom-ds-1.8.0.xml
          2 kB
          Christophe Chisogne
        3. pom-ds-1.8.0-fix.xml
          2 kB
          Christophe Chisogne

        Activity

          People

            struberg Mark Struberg
            chisogch Christophe Chisogne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: