Estou tento um problema com o maven quando compilo um projeto que utiliza jaxb.
Quando eu digito “mvn clean install” acontece o seguinte erro (alguém tem alguma luz?):
[b][INFO] Scanning for projects…
[INFO] ------------------------------------------------------------------------
[INFO] Building Norxs JDBC Driver Manager
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [antrun:run {execution: Generate XBean}]
[INFO] Executing tasks
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: com.thoughtworks.qdox.parser.ParseException: syntax error @[81,29] in file:/C:/tools/tools-driverManager/src/main/java/com/norxs/tools/driverManager/model/Driver.java
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Fri Aug 07 09:46:47 BRT 2009
[INFO] Final Memory: 8M/15M
[INFO] ------------------------------------------------------------------------[/b]
[code]//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2009.08.03 at 11:33:43 AM BRT
//
package com.norxs.tools.driverManager.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
-
Java class for anonymous complex type.
-
The following schema fragment specifies the expected content contained within this class.
-
- <complexType>
- <complexContent>
-
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-
<sequence>
-
<element ref="{}Name"/>
-
<element ref="{}URLFormat"/>
-
<element ref="{}DefaultClass"/>
-
<element ref="{}WebSite"/>
-
<element ref="{}ClassConfigured"/>
-
<element ref="{}Dialect"/>
-
</sequence>
-
</restriction>
- </complexContent>
- </complexType>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = “”, propOrder = {
“name”,
“urlFormat”,
“defaultClass”,
“webSite”,
“classConfigured”,
“dialect”
})
@XmlRootElement(name = “Driver”)
public class Driver {
@XmlElement(name = "Name", required = true)
protected String name;
@XmlElement(name = "URLFormat", required = true)
protected String urlFormat;
@XmlElement(name = "DefaultClass", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NCName")
protected String defaultClass;
@XmlElement(name = "WebSite", required = true)
@XmlSchemaType(name = "anyURI")
protected String webSite;
@XmlElement(name = "ClassConfigured")
protected String classConfigured;
@XmlElement(name = "Dialect")
protected String dialect;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the urlFormat property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getURLFormat() {
return urlFormat;
}
/**
* Sets the value of the urlFormat property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setURLFormat(String value) {
this.urlFormat = value;
}
/**
* Gets the value of the defaultClass property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDefaultClass() {
return defaultClass;
}
/**
* Sets the value of the defaultClass property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDefaultClass(String value) {
this.defaultClass = value;
}
/**
* Gets the value of the webSite property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getWebSite() {
return webSite;
}
/**
* Sets the value of the webSite property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setWebSite(String value) {
this.webSite = value;
}
/**
* Gets the value of the classConfigured property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClassConfigured() {
return classConfigured;
}
/**
* Sets the value of the classConfigured property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setClassConfigured(String value) {
this.classConfigured = value;
}
/**
* Gets the value of the dialect property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDialect() {
return dialect;
}
/**
* Sets the value of the dialect property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDialect(String value) {
this.dialect = value;
}
}[/code]