Build failures in itests when using JDK 5
-----------------------------------------

                 Key: TUSCANY-3706
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3706
             Project: Tuscany
          Issue Type: Bug
    Affects Versions: Java-SCA-1.6
            Reporter: Simon Nash
             Fix For: Java-SCA-1.6.1


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to