I said I wouldn't, but I did it anyway. This morning, I built a batch file and a pom to install the NetBeans distribution of Jax-WS into my local maven 2 repository. I based my approach on this post, which detailed the process using a unix shell.
I use Windows at work, so I created a batch file to install the jars and a pom into my local repository. The group ids for each package are the public group prepended with 'local'. To use the library, include the following dependency in your project pom:
<dependency>
<groupId>local.sun.java.net</groupId>
<artifactId>jaxws-ri</artifactId>
<version>2.1</version>
<type>pom</type>
</dependency>
You can download a zip file containing the jars and the bat file here: jaxws21.zip Just unzip and click install.bat.
