Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Java-SCA-1.6
-
None
-
None
Description
A number of itests don't build when using JDK 5. This is caused by (at least) two separate issues:
1. The JSR 181 API dependency is missing from a number of the itest poms. When building with JDK 6 this doesn't matter because these classes are part of the JDK. When building with JDK 5 this results in compilation errors.
2. The maven central repository has a bad version of jaxws-api-2.1.jar with some missing classes. The correct version is in the download.java.net repository. If by random bad luck the user happens to get the bad jar downloaded, a number of itest builds will fail with wsimport and wsgen errors. The workaround is to add explicit dependencies to the jaws-maven-plugin configuration to pull in the missing classes. This has been added to some Tuscany poms, but it's missing from a number of the itest poms. Again this only shows up when building with JDK 5 because the missing classes are included with JDK 6.