Solr
  1. Solr
  2. SOLR-981

woodstox dependency in maven solrj has wrong groupId

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.4
    • Component/s: clients - java
    • Labels:
      None

      Description

      Woodstox project has long changed their groupId and artifacts under the old groupId are actually not defined correctly in the maven2, causing various silly issues with maven:

      pom file of Solrj 1.4-SNAPSHOT has woodstox Sax dependency defined as
      <dependency>
      <groupId>woodstox</groupId>
      <artifactId>wstx-asl</artifactId>
      <version>3.2.7</version>
      </dependency>

      where the correct dependency should be

      <dependency>
      <groupId>org.codehaus.woodstox</groupId>
      <artifactId>wstx-asl</artifactId>
      <version>3.2.7</version>
      </dependency>

        Issue Links

          Activity

          Hide
          Shalin Shekhar Mangar added a comment -

          Committed revision 737645.

          Thanks for spotting this Tim!

          Show
          Shalin Shekhar Mangar added a comment - Committed revision 737645. Thanks for spotting this Tim!
          Hide
          Grant Ingersoll added a comment -

          Bulk close Solr 1.4 issues

          Show
          Grant Ingersoll added a comment - Bulk close Solr 1.4 issues
          Hide
          Drew Farris added a comment -

          looks like this may still be an issue in branch_3x:

          https://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/solr/src/maven/solr-core-pom.xml.template

          I'm also wondering if the dependency for both solr-core and solr-solrj should be:

          <dependency>
          <groupId>org.codehaus.woodstox</groupId>
          <artifactId>wstx-asl</artifactId>
          <version>3.2.7</version>
          <exclusions>
          <exclusion>
          <groupId>stax</groupId>
          <artifactId>stax-api</artifactId>
          </exclusion>
          </exclusions>
          </dependency>

          From what I understand stax should be provided using the geronimo-stax-api jars instead of the reference implementation (based on the discussion here: http://www.lucidimagination.com/search/document/f02b22dc9d7848/replace_stax_api_with_geronimo_stax_woodstox#bd9168d12ef5b637)

          Show
          Drew Farris added a comment - looks like this may still be an issue in branch_3x: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/solr/src/maven/solr-core-pom.xml.template I'm also wondering if the dependency for both solr-core and solr-solrj should be: <dependency> <groupId>org.codehaus.woodstox</groupId> <artifactId>wstx-asl</artifactId> <version>3.2.7</version> <exclusions> <exclusion> <groupId>stax</groupId> <artifactId>stax-api</artifactId> </exclusion> </exclusions> </dependency> From what I understand stax should be provided using the geronimo-stax-api jars instead of the reference implementation (based on the discussion here: http://www.lucidimagination.com/search/document/f02b22dc9d7848/replace_stax_api_with_geronimo_stax_woodstox#bd9168d12ef5b637 )

            People

            • Assignee:
              Shalin Shekhar Mangar
              Reporter:
              Tim
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development