All these dependencies can be optional. XStream uses by default the XPP API in combination with the MXParser - implementation. Therefore are these dependencies not declared as optional in Maven. However, depending on your - choice of the XML parser, you can exclude the dependencies for the MXParser (e.g. by selecting StAX). You will - then have to declare the dependencies for the alternative XML parser yourself unless you use a parser form the Java - runtime.
- -Note, that the bundle entries of the manifest do not declare any dependencies. In an OSGi environment it is the - task of the developer to setup the used bundles for his own project.
+Note, that all those dependencies can be optional. XStream uses by default the XPP API in combination with the + Xpp3 implementation. Therefore are these dependencies not declared as optional in Maven. However, depending on your + choice of the XML parser, you can exclude the dependencies for the XPP API (e.g. by selecting Xpp3 directly) or + Xpp3 (e.g. by selecting StAX). You will then have to declare the dependencies for the alternative XML parser + yourself unless you use a parser form the Java runtime.