You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2022/11/06 16:40:26 UTC

[ws-axiom] branch master updated: [AXIOM-506] Add rules to prevent regression

This is an automated email from the ASF dual-hosted git repository.

veithen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ws-axiom.git


The following commit(s) were added to refs/heads/master by this push:
     new 3c7e02f8c [AXIOM-506] Add rules to prevent regression
3c7e02f8c is described below

commit 3c7e02f8ce71a08b834e669ea5efd4dc60151847
Author: Andreas Veithen <an...@gmail.com>
AuthorDate: Sun Nov 6 16:40:07 2022 +0000

    [AXIOM-506] Add rules to prevent regression
---
 axiom-api/pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/axiom-api/pom.xml b/axiom-api/pom.xml
index 03577785a..958598d13 100644
--- a/axiom-api/pom.xml
+++ b/axiom-api/pom.xml
@@ -216,6 +216,22 @@
                                         </value>
                                     </visibilityRules>
                                 </layer>
+                                <layer>
+                                    <packages>
+                                        <value>javax.activation</value>
+                                    </packages>
+                                    <visibilityRules>
+                                        <value>
+                                            <packages>
+                                                <value>org.apache.axiom.attachments</value>
+                                                <value>org.apache.axiom.ext.activation</value>
+                                                <value>org.apache.axiom.mime.activation</value>
+                                                <value>org.apache.axiom.util.activation</value>
+                                            </packages>
+                                            <allowPublicUsage>true</allowPublicUsage>
+                                        </value>
+                                    </visibilityRules>
+                                </layer>
                                 <layer>
                                     <!-- The attachments API is considered a legacy API and shouldn't be used anywhere. -->
                                     <packages>
@@ -250,6 +266,11 @@
                                 <!-- TODO(AXIOM-506) -->
                                 org.apache.axiom.om.impl.OMMultipartWriter -&gt; org.apache.axiom.attachments.ConfigurableDataHandler,
                                 org.apache.axiom.util.base64.Base64Utils -&gt; org.apache.axiom.util.activation.DataSourceUtils,
+                                org.apache.axiom.util.base64.Base64Utils -&gt; javax.activation.DataSource,
+                                org.apache.axiom.util.base64.Base64Utils -&gt; javax.activation.DataHandler,
+                                org.apache.axiom.om.impl.MTOMXMLStreamWriter -&gt; javax.activation.DataHandler,
+                                org.apache.axiom.om.OMFactory -&gt; javax.activation.DataHandler,
+                                org.apache.axiom.om.ds.WrappedTextNodeOMDataSourceFromDataSource -&gt; javax.activation.DataSource,
                                 <!-- o.a.a.soap should be a layer on top of o.a.a.om -->
                                 org.apache.axiom.om.OMAbstractFactory -&gt; org.apache.axiom.soap.SOAPFactory,
                                 org.apache.axiom.om.OMMetaFactory -&gt; org.apache.axiom.soap.SOAPFactory,