dev@glassfish.java.net

Please review: javaeeapi pom.xml changes

From: Bhakti Mehta <Bhakti.Mehta_at_Sun.COM>
Date: Thu, 28 Aug 2008 14:31:34 -0700

I have discussed this with Sahoo and Jerome. Currently as part of
v3/javaee-api/pom.xml we have javax.xml.ws/bind/soap/stream, javax.jws.
We are already exporting these packages as part of our metro jaxb and
webservices osgi bundles.
I have noticed lately the time to start metro bundles is longer because
of unable to resolve conflicts between the two bundles exporting the
same packages

With this change
javax.jws,javax.xml.rpc,javax.xml.soap,javax.xml.ws,javax.xml.bind will
not be part of javaee-api modules (Note javax.xml.stream will be there)
I am planning to remove these modules from javaee-api/pom.xml (Commented
out for now)
I have already run quicklooks and tested with fresh install without .m2

However there is a catch 22 If I make this change locally I still find
the javax.xml.* jars in my web.zip
This is because there is this pom
http://download.java.net/maven/glassfish/org/glassfish/javaee-api/10.0-SNAPSHOT/javaee-api-10.0-SNAPSHOT.pom
which still shows the modules and when the bundle is created it gets the
jars
I could test this locally by removing the above mentioned jars from my
glassfish/modules and run quicklooks
The changes cannot be in effect till the build succeeds and the pom is
updated on maven repo by hudson. I hope the build will not have any
issues but wanted to give a heads up.

Pls let me know if you have any concerns. I will commit the changes
tomorrow around 10 am if I do not hear from anyone
Regards,
Bhakti
Index: javaee-api/pom.xml
===================================================================
--- pom.xml (revision 22208)
+++ pom.xml (working copy)
@@ -137,14 +137,14 @@
         <module>javax.activation</module>
         <module>javax.annotation</module>
         <module>javax.jms</module>
- <module>javax.jws</module>
+ <!--<module>javax.jws</module>-->
         <module>javax.mail</module>
         <module>javax.servlet.jsp</module>
         <module>javax.servlet.jsp.jstl</module>
- <module>javax.xml.bind</module>
+ <!--<module>javax.xml.bind</module>
         <module>javax.xml.rpc</module>
- <module>javax.xml.soap</module>
+ <module>javax.xml.soap</module>-->
         <module>javax.xml.stream</module>
- <module>javax.xml.ws</module>
+ <!--<module>javax.xml.ws</module>-->
     </modules>
 </project>

Index: distributions/external/pom.xml
===================================================================
--- pom.xml (revision 22208)
+++ pom.xml (working copy)
@@ -56,7 +56,7 @@

     <modules>
         <module>ant</module>
- <module>jaxb</module>
+ <!--<module>jaxb</module>-->
         <module>javadb</module>
         <module>apache-commons</module>
         <module>jmxremote_optional</module>