Use of Java 5 annotations in Mojos produce error in QDox Parser ---------------------------------------------------------------
Key: MPLUGIN-21 URL: http://jira.codehaus.org/browse/MPLUGIN-21 Project: Maven 2.x Plugin Plugin Type: Bug Versions: 2.1 Environment: Windows 2000 JAVA5 1.5.0_06 Reporter: Chris Wewerka If you use Java5 annotations in Mojos, the java extractor throws the following exception: com.thoughtworks.qdox.parser.ParseException: syntax error @[16,5] in file:/E:/prj/o2/o2-sg/sd_area51_3/OcToPuS/tools/maven/plugins/maven-jax wstools-plugin/src/main/java/com/o2/m2/plugins/jaxwstools/TestMojo.java at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:504) [...] The mojo I've used: package com.o2.m2.plugins.jaxwstools; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; /** * @goal testgoal * @phase process-classes * */ public class TestMojo extends AbstractMojo { @Override public boolean equals(Object obj) { return super.equals(obj); } public void execute() throws MojoExecutionException, MojoFailureException {} } -- 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