Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-10974

Add back provided stax transitive dependencies in sonar-plugin-api pom.xml

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Plugin API
    • Labels:
      None
    • Estimate:
      Minutes
    • Edition:
      Community
    • Production Notes:
      None

      Description

      During migration to Gradle, the pom.xml generated for sonar-plugin-api was modified, and no more declare some dependencies (that are in fact still there at runtime).
      This is confusing for plugins developers (that may wonder if we have a plan to stop providing them at runtime in an upcoming version).
      Since we have no clear plan, let's bring them back for the time being:

      <dependency>
        <groupId>org.codehaus.woodstox</groupId>
        <artifactId>woodstox-core-lgpl</artifactId>
        <version>4.4.0</version>
        <scope>compile</scope>
        <exclusions>
          <exclusion>
            <artifactId>stax-api</artifactId>
            <groupId>stax</groupId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.codehaus.woodstox</groupId>
        <artifactId>stax2-api</artifactId>
        <version>3.1.4</version>
        <scope>compile</scope>
        <exclusions>
          <exclusion>
            <artifactId>stax-api</artifactId>
            <groupId>stax</groupId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.codehaus.staxmate</groupId>
        <artifactId>staxmate</artifactId>
        <version>2.0.1</version>
        <scope>compile</scope>
        <exclusions>
          <exclusion>
            <artifactId>stax2-api</artifactId>
            <groupId>org.codehaus.woodstox</groupId>
          </exclusion>
          <exclusion>
            <artifactId>stax-api</artifactId>
            <groupId>stax</groupId>
          </exclusion>
          <exclusion>
            <artifactId>woodstox-core-asl</artifactId>
            <groupId>org.codehaus.woodstox</groupId>
          </exclusion>
        </exclusions>
      </dependency>
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              julien.henry Julien Henry
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: