You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2007/03/04 09:52:03 UTC

[jira] Resolved: (SM-191) Request to add xpp3 jar to optional libraries

     [ https://issues.apache.org/activemq/browse/SM-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SM-191.
--------------------------------

    Resolution: Won't Fix

Thanks Jamie for these informations ...

I don't think this issue is valid.  Imho, we should not try to ship every possible libraries in ServiceMix.
If we split the code in more modules, maven2 dependencies could be leveraged more (without using optional dependencies).
Thus, the maven jbi plugin would automatically put these dependencies in the JBI artifact and there is no need to put it in the distribution.

> Request to add xpp3 jar to optional libraries
> ---------------------------------------------
>
>                 Key: SM-191
>                 URL: https://issues.apache.org/activemq/browse/SM-191
>             Project: ServiceMix
>          Issue Type: Improvement
>    Affects Versions: 2.0.2
>         Environment: n/a
>            Reporter: Matt DeHoust
>            Priority: Minor
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> If you use XStreamMarshaler.unmarshal you must add an XPP3 parser implementation to your classpath. XStream depends on the pull parser in fromXML as the stack trace below indicates.
> XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver())
> java.lang.IllegalArgumentException: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver())
>     at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java:19)
>     at com.thoughtworks.xstream.XStream.fromXML(XStream.java:493)
>     at org.servicemix.components.util.xstream.XStreamMarshaler.unmarshal(XStreamMarshaler.java:75)
>     ...
> It would be nice if the xpp3 jar were bundled along with the optional libraries. Better yet, add a test case for the XStreamMarshaler and specify xpp3 as a dependency in the pom.

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