Notes re JAXB and the JDK
JDK 1.6 introduced JAXB 2.0 in rt.jar. At present we are generating classes with xjc using target 2.0, which means the JAXB included in JDK 1.6 suffices. This makes for a simpler development environment, but means we miss out on more recent JAXB features and bug fixes.
If you are using Java 1.5, you will need JAXB jars. The easiest way to get them (JAXB 2.1 RI jar files) is to uncomment the relevant lines in pom.xml.
If you regenerate the classes using xjc without the target parameter, you will need the JAXB 2.1 jars. This is most easily done with an earlier JDK, eg 1.5. (If you want to use JAXB 2.1 RI source code as an Eclipse project, and link to that Project, you will also need to configure Eclipse to use the 1.5 JDK, not 6.) To use the 1.5 JDK in Eclipse, first fetch it if necessary, then set Properties > Java Compiler, and Run Dialog > JRE tab > Runtime JRE.
