commit | 0b89ee0825d45de1193090cdd5efc5f1135fa200 | [log] [tgz] |
---|---|---|
author | Jean-Noël Rouvignac <JnRouvignac@users.noreply.github.com> | Mon Mar 01 15:01:10 2021 +0100 |
committer | GitHub <noreply@github.com> | Mon Mar 01 15:01:10 2021 +0100 |
tree | d66e3939f75ce9f4f1b64feee24cbad84f0e3861 | |
parent | f6f3f99024317abc9b8e8ff58be86e6c923f43a8 [diff] |
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.
Apache jclouds is an open source multi-cloud toolkit for the Java platform that gives you the freedom to create applications that are portable across clouds while giving you full control to use cloud-specific features.
For more information about using or contributing to jclouds, please visit our website at jclouds.apache.org.
Copyright (C) 2009-2019 The Apache Software Foundation
Licensed under the Apache License, Version 2.0