On Sep 21, 2006, at 5:38 AM, Jeremy Hughes wrote:

Chinthaka,

If it's just QName you need, WSDL4J has a qname.jar with just that class in it:

http://www.ibiblio.org/pub/packages/maven2/wsdl4j/wsdl4j-qname/ 1.5.2/wsdl4j-qname-1.5.2.jar


It needs NamespaceContext as well so that one won't work.

We can still use stax-api, but how about scoping it to provided/ optional so that it is not pulled in as a transitive dependency. The downside will mean the user needs to provide a version of javax.xml.namespace, but that is already part of both J2EE1.4 and Java5

--
Jeremy

Index: pom.xml
===================================================================
--- pom.xml     (revision 448996)
+++ pom.xml     (working copy)
@@ -357,8 +357,9 @@
         <dependency>
             <groupId>stax</groupId>
             <artifactId>stax-api</artifactId>
-            <version>1.0</version>
-            <scope>compile</scope>
+            <version>1.0.1</version>
+            <scope>provided</scope>
+            <optional>true</optional>
         </dependency>
     </dependencies>
     <reporting>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to