Hi,
I believe I just successfully installed the xdoclet2 plugin that I am using to try to create hibernate mapping files from POJO's but I am getting the following error, complaining about hibernate tags when running mvn compile :
Unknown tag: @hibernate.component in file
my POJO has the code:
/**
* DOCUMENT ME!
*
* @hibernate.class
* table = "Message"
*/
public class Message implements Serializable {
Here is the full message if it helps:
C:\dev\test_Maven>mvn compile
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] TestMaven
[INFO] test_Maven
[INFO] -------------------------------------------------------------------------
---
[INFO] Building TestMaven
[INFO] task-segment: [compile]
[INFO] -------------------------------------------------------------------------
---
[INFO] No goals needed for project - skipping
[INFO] -------------------------------------------------------------------------
---
[INFO] Building test_Maven
[INFO] task-segment: [compile]
[INFO] -------------------------------------------------------------------------
---
[INFO] snapshot xdoclet:maven2-xdoclet2-plugin:2.0.5-SNAPSHOT: checking for upda
tes from behr.plugins.snapshots
[INFO] snapshot xdoclet:maven2-xdoclet2-plugin:2.0.5-SNAPSHOT: checking for upda
tes from behr.snapshots
[ERROR] Plugin contains a <goals/> section: this is IGNORED - please use <execut
ions/> instead.
[INFO] snapshot xdoclet-plugins:xdoclet-plugin-qtags:1.0.4-SNAPSHOT: checking fo
r updates from behr.plugins.snapshots
[INFO] snapshot xdoclet-plugins:xdoclet-plugins:1.0.4-SNAPSHOT: checking for upd
ates from behr.plugins.snapshots
[INFO] snapshot xdoclet:xdoclet:2.0.6-SNAPSHOT: checking for updates from behr.p
lugins.snapshots
[INFO] snapshot generama:generama:1.2.3-SNAPSHOT: checking for updates from behr
.plugins.snapshots
Downloading: http://dist.codehaus.org//generama/poms/qdox-20051211.114207.pom
[WARNING] Unable to get resource from repository codehaus-plugins (http://dist.c
odehaus.org/)
Downloading: http://repo.masco-coatings.com/maven2/releases/generama/qdox/200512
11.114207/qdox-20051211.114207.pom
[WARNING] Unable to get resource from repository behr.plugins.releases (http://r
epo.masco-coatings.com/maven2/releases)
Downloading: http://repo.masco-coatings.com/maven2/non.central/generama/qdox/200
51211.114207/qdox-20051211.114207.pom
[WARNING] Unable to get resource from repository plugins.non.central (http://rep
o.masco-coatings.com/maven2/non.central)
Downloading: http://dist.codehaus.org/generama/poms/qdox-20051211.114207.pom
[WARNING] Unable to get resource from repository dist.codehaus.org (http://dist.
codehaus.org)
Downloading: http://cvs.apache.org/repository/generama/poms/qdox-20051211.114207
.pom
[WARNING] Unable to get resource from repository apache (http://cvs.apache.org/r
epository)
Downloading: http://people.apache.org/maven-snapshot-repository//generama/qdox/2
0051211.114207/qdox-20051211.114207.pom
[WARNING] Unable to get resource from repository apache-snapshots (http://people
.apache.org/maven-snapshot-repository/)
Downloading: http://repo1.maven.org/maven2/generama/qdox/20051211.114207/qdox-20
051211.114207.pom
[WARNING] Unable to get resource from repository central (http://repo1.maven.org
/maven2)
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-4:compile' is invalid. It will be ig
nored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'commons-jelly:commons-jelly-tags-xml:pom:20050823.222913:comp
ile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.
0 POM.
[INFO] snapshot xdoclet-plugins:xdoclet-taglib-qtags:1.0.4-SNAPSHOT: checking fo
r updates from behr.plugins.snapshots
[WARNING] POM for 'commons-jelly:commons-jelly-tags-xml:pom:20050823.222913:comp
ile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.
0 POM.
[WARNING]
Artifact xdoclet:xdoclet:jar:2.0.6-SNAPSHOT:runtime retains local scope
'runtime' overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove the loc
al scope.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-4:runtime' is invalid. It will be ig
nored for artifact resolution. Reason: Not a v4.0.0 POM.
[INFO] [2-xdoclet2:xdoclet {execution: xdoclet}]
Running org.xdoclet.plugin.qtags.impl.QTagImplPlugin
Running org.xdoclet.plugin.qtags.impl.QTagLibraryPlugin
Running org.xdoclet.plugin.qtags.doclipse.QTagDoclipsePlugin
log4j:WARN No appenders could be found for logger (org.apache.commons.jelly.pars
er.XMLParser).
log4j:WARN Please initialize the log4j system properly.
Running org.xdoclet.plugin.qtags.confluence.QTagConfluencePlugin
Unknown tag: @hibernate.class in file:/C:/dev/test_Maven/service/src/main/java/c
om/behr/tm/Message.java (line 15)
Unknown tag: @hibernate.component in file:/C:/dev/test_Maven/service/src/main/ja
va/com/behr/tm/Message.java (line 40)
Unknown tag: @hibernate.id in file:/C:/dev/test_Maven/service/src/main/java/com/
behr/tm/Message.java (line 51)
Unknown tag: @hibernate.property in file:/C:/dev/test_Maven/service/src/main/jav
a/com/behr/tm/Message.java (line 65)
Unknown tag: @hibernate.class in file:/C:/dev/test_Maven/service/src/main/java/c
om/behr/tm/Message.java (line 15)
Unknown tag: @hibernate.component in file:/C:/dev/test_Maven/service/src/main/ja
va/com/behr/tm/Message.java (line 40)
Unknown tag: @hibernate.id in file:/C:/dev/test_Maven/service/src/main/java/com/
behr/tm/Message.java (line 51)
Unknown tag: @hibernate.property in file:/C:/dev/test_Maven/service/src/main/jav
a/com/behr/tm/Message.java (line 65)
Unknown tag: @hibernate.class in file:/C:/dev/test_Maven/service/src/main/java/c
om/behr/tm/Message.java (line 15)
Unknown tag: @hibernate.component in file:/C:/dev/test_Maven/service/src/main/ja
va/com/behr/tm/Message.java (line 40)
Unknown tag: @hibernate.id in file:/C:/dev/test_Maven/service/src/main/java/com/
behr/tm/Message.java (line 51)
Unknown tag: @hibernate.property in file:/C:/dev/test_Maven/service/src/main/jav
a/com/behr/tm/Message.java (line 65)
Unknown tag: @hibernate.class in file:/C:/dev/test_Maven/service/src/main/java/c
om/behr/tm/Message.java (line 15)
Unknown tag: @hibernate.component in file:/C:/dev/test_Maven/service/src/main/ja
va/com/behr/tm/Message.java (line 40)
Unknown tag: @hibernate.id in file:/C:/dev/test_Maven/service/src/main/java/com/
behr/tm/Message.java (line 51)
Unknown tag: @hibernate.property in file:/C:/dev/test_Maven/service/src/main/jav
a/com/behr/tm/Message.java (line 65)
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot com.behr.commons:behr-commons:1.6-SNAPSHOT: checking for updates
from behr.snapshots
[INFO] [compiler:compile]
Compiling 2 source files to C:\dev\test_Maven\service\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
Thanks a lot!
-------------------------------------------------------
The information contained in this e-mail message may be proprietary, privileged, confidential or protected from disclosure. If you are not the intended recipient, any dissemination, distribution or copying is strictly prohibited. If you think that you have received this e-mail message in error, please e-mail the sender.
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ xdoclet-plugins-interest mailing list xdoclet-plugins-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest