[ 
https://jira.codehaus.org/browse/XSTR-689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joerg Schaible closed XSTR-689.
-------------------------------

       Resolution: Won't Fix
    Fix Version/s: 1.4.2

No. Unfortunately the xpp3_min jar contains only half of the required stuff of 
the official xmlpull API. Without the xmlpull jar the instantiation of the 
XppDriver (actually the XppReader) will fail, because the XmlPullParserFactory 
is missing.

It would be nice to get an xpp3_min jar that either contains nothing of xmlpull 
or all of it. However, as long as this is not available, nothing can be done.

If you use the Xpp3Driver directly, you can exclude the xmlpull dependency 
yourself. In that case the factory is not required.
                
> xstream defines 1.4.2 defines dependencies on xmlpull and xpp3_min which 
> contain duplicate classes under org.xmlpull.v1 package
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: XSTR-689
>                 URL: https://jira.codehaus.org/browse/XSTR-689
>             Project: XStream
>          Issue Type: Improvement
>    Affects Versions: 1.4.2
>            Reporter: David Boden
>            Assignee: Joerg Schaible
>            Priority: Minor
>             Fix For: 1.4.2
>
>
> This maven plugin shows duplicate classes:
> http://mojo.codehaus.org/extra-enforcer-rules/banDuplicateClasses.html
> It reveals that XStream is depending on 2 artifacts which have duplicate 
> classes packaged in them. You'll get a different version depending on which 
> jar happens to be first on your classpath.
>   Found in:
>     xmlpull:xmlpull:jar:1.1.3.1:runtime
>     xpp3:xpp3_min:jar:1.1.4c:runtime
>   Duplicate classes:
>     org/xmlpull/v1/XmlPullParserException.class
>     org/xmlpull/v1/XmlPullParser.class
> Is it possible to reconfigure the dependency tree so that this overlap does 
> not occur?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
    <a 
href="http://xircles.codehaus.org/manage_email";>http://xircles.codehaus.org/manage_email</a>
</p>

Reply via email to