Hey Sandakith:

Lahiru Sandakith wrote:
Hi Devs,

Glen reported me an issue on wsas build, that maven does not resolve the javax.xml.bind.annotation on windows build
this is related to the jaxb-api-2.0.jar

:~/.m2/repository$ find . -name '*.jar' -exec grep javax.xml.bind.annotation {} \; -print
Binary file ./javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar matches
./javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar


as the problem seems to be related to maven2 does not correctly download the artifact to the local repository on windows and matadata of repo seems not to be consistent as well. Problem seems to be not occurring on unix versions of the maven 2.0.7 and to confirm this I have started a wsas clean build on windows with clean repo on a test machine ( java 5 / maven 2.0.7 ), and will report the results as it finishes.

Note that this will now work, as I updated the JAXWS sample's pom.xml to explicitly include JAXB dependencies. If you want to remove that stuff and run it to try and debug, please feel free, but I'm not sure it's worth it right now....

I do think we need to be running regular builds on Windows (for all the products) to make sure that everything stays functional on both environments. Come to think of it, maybe we should set this up on Macs too, just in case.

--Glen

_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

Reply via email to