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 2011/08/30 16:43:49 UTC

svn commit: r1163239 - /webservices/commons/trunk/modules/axiom/modules/axiom-dom/pom.xml

Author: veithen
Date: Tue Aug 30 14:43:49 2011
New Revision: 1163239

URL: http://svn.apache.org/viewvc?rev=1163239&view=rev
Log:
Customize the maven-shade-plugin relocations for DOOM so that we get class names compatible with previous releases.

Modified:
    webservices/commons/trunk/modules/axiom/modules/axiom-dom/pom.xml

Modified: webservices/commons/trunk/modules/axiom/modules/axiom-dom/pom.xml
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-dom/pom.xml?rev=1163239&r1=1163238&r2=1163239&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-dom/pom.xml (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-dom/pom.xml Tue Aug 30 14:43:49 2011
@@ -157,6 +157,17 @@
                                 </includes>
                             </artifactSet>
                             <relocations>
+                                <!-- We try to preserve as much as possible the class names from previous releases in
+                                     order to support old code and code that is tightly coupled to the DOOM implementation
+                                     (such as the SAAJ implementation in Axis2). -->
+                                <relocation>
+                                    <pattern>org.apache.axiom.om.impl.common.OMNamespaceImpl</pattern>
+                                    <shadedPattern>org.apache.axiom.om.impl.dom.NamespaceImpl</shadedPattern>
+                                </relocation>
+                                <relocation>
+                                    <pattern>org.apache.axiom.om.impl.common.OMStAXWrapper</pattern>
+                                    <shadedPattern>org.apache.axiom.om.impl.dom.DOMStAXWrapper</shadedPattern>
+                                </relocation>
                                 <relocation>
                                     <pattern>org.apache.axiom.om.impl.common</pattern>
                                     <shadedPattern>org.apache.axiom.om.impl.dom</shadedPattern>