JnRouvignac opened a new pull request #98: URL: https://github.com/apache/jclouds/pull/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. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org