Here is my XDoclet declaration:
<!--
=======================================================-->
<!-- XDoclet Plugin -->
<!--
=======================================================-->
<!--
This plugin will ...
-->
<!--
=======================================================-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xdoclet-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>xdoclet</goal>
</goals>
<configuration>
<tasks>
<hibernatedoclet
destdir="${basedir}/src/main/resources"
mergedir="${basedir}/src/main/resources"
excludedtags="@version,@author,@todo,@see,@desc"
verbose="true">
<fileset
dir="${basedir}/src/main/java">
<include name="**/*.java"/>
</fileset>
<hibernate version="3.0"/>
</hibernatedoclet>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
On 4/6/07, Peter L. Berghold <[EMAIL PROTECTED]> wrote:
After munging out some typos in the cited webpage I now get the follwing
error when I run mvn install:
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.codehaus.mojo:maven-xdoclet-plugin
Reason: POM 'org.codehaus.mojo:maven-xdoclet-plugin' not found in
repository: Unable to download the artifact from any repository
org.codehaus.mojo:maven-xdoclet-plugin:pom:1.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
So... I check the repository and I see the following:
[EMAIL PROTECTED] my-webapp]$ ls
~/.m2/repository/xdoclet/maven-xdoclet-plugin/
1.0-SNAPSHOT maven-metadata-local.xml
[EMAIL PROTECTED] my-webapp]$ ls
~/.m2/repository/xdoclet/maven-xdoclet-plugin/1.0-SNAPSHOT/
maven-metadata-local.xml maven-xdoclet-plugin-1.0-SNAPSHOT.jar
so... what's up with that?
--
Peter L. Berghold Unix Professional
[EMAIL PROTECTED] AIM: redcowdawg YIM: blue_cowdawg
"Those who fail to learn from history are condemned to repeat it."
--
---
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---