Solr
  1. Solr
  2. SOLR-1950

SolrJ POM still refers to stax parser

    Details

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

      Description

      See the issue at https://issues.apache.org/jira/browse/SOLR-787 which seems to be incorrectly fixed. (I cannot reopen that issue, so I create this one here)

      Using the following deps:
      <dependency>
      <groupId>org.apache.solr</groupId>
      <artifactId>solr-solrj</artifactId>
      <version>1.4.0</version>
      </dependency>
      <dependency>
      <artifactId>solr-core</artifactId>
      <groupId>org.apache.solr</groupId>
      <version>1.4.0</version>
      </dependency>

      will lead to duplicate jars. (Solr uses woodstox and SolrJ uses the different artifact (but same jar) org.codehaus.woodstox )

      But maybe the artifacts are only incorrectly deployed? Where can I find the original pom files?

        Issue Links

          Activity

          Hide
          Uwe Schindler added a comment -

          Bulk close after release of 3.1

          Show
          Uwe Schindler added a comment - Bulk close after release of 3.1
          Hide
          Peter Karich added a comment -

          forget to include the workaround: Exclude the dependencies (as stated in the pom) from solr-core:

           
                  <dependency>
                      <groupId>org.apache.solr</groupId>
                      <artifactId>solr-core</artifactId>
                      <version>1.4.0</version>
                      <exclusions>
                          <exclusion>
                              <groupId>woodstox</groupId>
                              <artifactId>wstx-asl</artifactId>
                          </exclusion>
                          <exclusion>
                              <groupId>org.apache.geronimo.specs</groupId>
                              <artifactId>geronimo-stax-api_1.0_spec</artifactId>
                          </exclusion>
                      </exclusions>
                  </dependency>
          
          Show
          Peter Karich added a comment - forget to include the workaround: Exclude the dependencies (as stated in the pom) from solr-core: <dependency> <groupId> org.apache.solr </groupId> <artifactId> solr-core </artifactId> <version> 1.4.0 </version> <exclusions> <exclusion> <groupId> woodstox </groupId> <artifactId> wstx-asl </artifactId> </exclusion> <exclusion> <groupId> org.apache.geronimo.specs </groupId> <artifactId> geronimo-stax-api_1.0_spec </artifactId> </exclusion> </exclusions> </dependency>
          Show
          Peter Karich added a comment - See also the original pom files at maven central!! http://repo1.maven.org/maven2/org/apache/solr/solr-core/1.4.0/solr-core-1.4.0.pom http://repo1.maven.org/maven2/org/apache/solr/solr-solrj/1.4.0/solr-solrj-1.4.0.pom

            People

            • Assignee:
              Steve Rowe
              Reporter:
              Peter Karich
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development