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

[jira] Commented: (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:comment-tabpanel#action_38650 ] 

Jamie Goodyear commented on SM-191:
-----------------------------------


 Hi All,

   After a quick look into this request here is my analysis...  

   Adding this jar should be relatively straight forward, the part that requires 
 some clarification is licensing.

   If we were to include this jar we will need to adhere to the xpp3 jar license 
 conditions. This may be accomplished by including the xpp3 jar and license file 
 in the optional libraries folder, and we will also need to add the appropriate 
 acknowledgement to Indiana University in the ServiceMix end-user documentation. 

   Can someone from the core team please comment on the requirements we need to
 adhere to honor licensing concerns?
 

 Cheers,
 Jamie


 Notes:

 The xpp3 jar can be accessed here:
 http://extreme.indiana.edu/dist/java-repository/xpp3/
 
 The xpp3 license can be accessed here:
 http://extreme.indiana.edu/dist/java-repository/xpp3/licenses/LICENSE.txt



> 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.