jdiff doclet fails with jdk 1.4
-------------------------------
Key: MPJDIFF-10
URL: http://jira.codehaus.org/browse/MPJDIFF-10
Project: maven-jdiff-plugin
Issue Type: Bug
Affects Versions: 1.5
Reporter: Lukas Theussl
Fix For: 1.5.1
Running jdiff with jdk 1.4.2_10 gives the following exception:
{noformat}
[javadoc] JDiff: doclet started ...
[javadoc] javadoc: In doclet class jdiff.JDiff, method start has thrown an
exception java.lang.reflect.InvocationTargetException
[javadoc] java.lang.NoClassDefFoundError: org/xml/sax/ext/Attributes2
{noformat}
The build succeeds but there are no files generated. Note that it only happens
with the current svn version of the plugin, it works when downgrading to the
released maven-jdiff-plugin-1.5 . It also works with java 5 since the missing
class is contained in the rt.jar. I fixed it by adding a dependency to
xml-apis, but I think that should not be necessary?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira