[ 
https://issues.apache.org/jira/browse/SOLR-1950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12880098#action_12880098
 ] 

Peter Karich commented on SOLR-1950:
------------------------------------

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

{code:xml} 
        <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>
{code} 

> SolrJ POM still refers to stax parser
> -------------------------------------
>
>                 Key: SOLR-1950
>                 URL: https://issues.apache.org/jira/browse/SOLR-1950
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.4
>            Reporter: Peter Karich
>            Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to