Hi,
I get the an error (see end of email) when building with JDK 1.5. I am
guessing that is why Jakub commented it out in the first place :-)
Adding a dependency on JAXB did not resolve it.
I presume this is a dependency on the "maven-wadl-plugin" which has a
profile for JAXB with 1.5.
For now i am commenting out this sample so we can build and push to maven.
Paul.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
in any resource loader.
[INFO] Velocimacro : error using VM library template
VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
[INFO] Velocimacro : VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in
templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
be global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [javadoc:javadoc {execution: default}]
1 error
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An error has occurred in JavaDocs report generation:Exit code: 1
- java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
at java.lang.Class.getMethod0(Class.java:2642)
at java.lang.Class.getMethod(Class.java:1579)
at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:246)
at com.sun.tools.javadoc.DocletInvoker.optionLength(DocletInvoker.java:169)
at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:290)
at com.sun.tools.javadoc.Start.begin(Start.java:128)
at com.sun.tools.javadoc.Main.execute(Main.java:41)
at com.sun.tools.javadoc.Main.main(Main.java:31)
javadoc: error - fatal error
Command line was:"cd
/export/home/ps23762/Projects/REST/jersey/trunk/jersey/samples/generate-wadl/target/site/apidocs
&& /usr/jdk/instances/jdk1.5.0/jre/../bin/javadoc" @options
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109