Re: maven-plugin-api com.thoughtworks.qdox.parser.ParseException: syntax error

2010-05-19 Thread Kaeptenblaubaer

Hi

I m also facing the same issue . Where you able to solve your issue?

-- 
View this message in context: 
http://old.nabble.com/maven-plugin-api-com.thoughtworks.qdox.parser.ParseException%3A-syntax-error-tp23874877p28612065.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: maven-plugin-api com.thoughtworks.qdox.parser.ParseException: syntax error

2009-12-10 Thread binums

Hi

I m also facing the same issue . Where you able to solve your issue?

Binu

janszm wrote:
 
 I am trying to write a maven plugin as per
 
 http://maven.apache.org/guides/plugin/guide-java-plugin-development.html
 
 When I compile my plugin I get the following error:
 
 com.thoughtworks.qdox.parser.ParseException: syntax error @[38,33] in
 file:/C:/work/schema-tools/src/main/java/org/w3/_2001/xmlschema/DerivationControl.java
 
 The file is basically a JAXB generated file and the parser seems to
 complain about the @XmlEnumValue(substitution) tag.
 
 Anyone have any ideas why this occurs? I have tried various versions of
 the maven-plugin-api
 The full file contents (minus comments) are:
 
 @XmlType(name = derivationControl)
 @XmlEnum
 public enum DerivationControl {
 
 @XmlEnumValue(substitution)
 SUBSTITUTION(substitution),
 @XmlEnumValue(extension)
 EXTENSION(extension),
 @XmlEnumValue(restriction)
 RESTRICTION(restriction),
 @XmlEnumValue(list)
 LIST(list),
 @XmlEnumValue(union)
 UNION(union);
 private final String value;
 
 DerivationControl(String v) {
 value = v;
 }
 
 public String value() {
 return value;
 }
 
 public static DerivationControl fromValue(String v) {
 for (DerivationControl c: DerivationControl.values()) {
 if (c.value.equals(v)) {
 return c;
 }
 }
 throw new IllegalArgumentException(v);
 }
 }
 
 Help appreciated,
 Menno
 
 
 

-- 
View this message in context: 
http://old.nabble.com/maven-plugin-api-com.thoughtworks.qdox.parser.ParseException%3A-syntax-error-tp23874877p26731409.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org