jclouds/project
Jean-Noël Rouvignac 0b89ee0825
S3 APIs: Remove the dependency to com.jamesmurty.utils:java-xmlbuilder (#98)
XMLBuilder is a very nice fluent API for building XML documents.
However, it is only used by a tiny portion of jclouds: the s3 api. The
use of the XMLBuilder class requires a dependency to
com.jamesmurty.utils:java-xmlbuilder jar and a transitive
dependency to the net.iharder:base64 jar (superseded by
java.util.Base64 in java 8). They are 18kb each approximately and they
not OSGi compatible. They are not huge, but they represent more API
surface and more things to change when trying to use jclouds in an OSGi
context (they need to be replaced by OSGi compatible bundles like
org.apache.servicemix.bundles.java-xmlbuilder).

This commit replaces the use of XMLBuilder by a direct use of the
javax.xml and org.w3c.dom APIs.

I hope retesting will be minimal, and most of this code is covered by
unit tests.
2021-03-01 15:01:10 +01:00
..
src/etc JCLOUDS-31. adjust license plugin and header file to ASF license scheme; change java to comment style; include maven pom.xml 2013-05-16 21:30:32 -07:00
bnd.bnd Remove explicit OSGi import range of okio dep 2021-02-12 18:57:46 +09:00
pom.xml S3 APIs: Remove the dependency to com.jamesmurty.utils:java-xmlbuilder (#98) 2021-03-01 15:01:10 +01:00