Hello,
I have problem with maven 2.0.6 and xdoclet-maven-plugin (1.0-alpha-2).
After creating simple project (mvn archetype:create
-DgroupId=com.mycompany.app -DartifactId=my-app)
and adding following section to pom.xml:
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xdoclet-maven-plugin</artifactId>
<version>1.0-alpha-2</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>xdoclet</goal>
</goals>
<configuration>
<tasks>
<echo>
Hello world!
</echo>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
i get this output (mvn generate-sources):
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building my-app
[INFO] task-segment: [generate-sources]
[INFO]
----------------------------------------------------------------------------
[WARNING] While downloading servletapi:servletapi:2.3
This artifact has been relocated to javax.servlet:servlet-api:2.3.
-----------------------------------------------------
this realm = app0.child-container[org.codehaus.mojo:xdoclet-maven-plugin]
urls[0] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/org/codehaus/mojo/xdoclet-maven-plugin/1.0-alpha-2/xdoclet-maven-plugin-1.0-alpha-2.jar
urls[1] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-wsee-module/1.2.3/xdoclet-wsee-module-1.2.3.jar
urls[2] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-jboss-module/1.2.3/xdoclet-jboss-module-1.2.3.jar
urls[3] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
urls[4] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-orion-module/1.2.3/xdoclet-orion-module-1.2.3.jar
urls[5] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-xdoclet-module/1.2.3/xdoclet-xdoclet-module-1.2.3.jar
urls[6] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-ibm-module/1.2.3/xdoclet-ibm-module-1.2.3.jar
urls[7] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-jmx-module/1.2.3/xdoclet-jmx-module-1.2.3.jar
urls[8] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
urls[9] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/commons-collections/commons-collections/2.1/commons-collections-2.1.jar
urls[10] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/ant/ant/1.5.2/ant-1.5.2.jar
urls[11] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-apache-module/1.2.3/xdoclet-apache-module-1.2.3.jar
urls[12] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-objectweb-module/1.2.3/xdoclet-objectweb-module-1.2.3.jar
urls[13] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
urls[14] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-fr_FR-locale/1.2.3/xdoclet-fr_FR-locale-1.2.3.jar
urls[15] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/org/apache/maven/plugins/maven-antrun-plugin/1.0/maven-antrun-plugin-1.0.jar
urls[16] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-java-module/1.2.3/xdoclet-java-module-1.2.3.jar
urls[17] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-exolab-module/1.2.3/xdoclet-exolab-module-1.2.3.jar
urls[18] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-mvcsoft-module/1.2.3/xdoclet-mvcsoft-module-1.2.3.jar
urls[19] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-bea-module/1.2.3/xdoclet-bea-module-1.2.3.jar
urls[20] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-sun-module/1.2.3/xdoclet-sun-module-1.2.3.jar
urls[21] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-spring-module/1.2.3/xdoclet-spring-module-1.2.3.jar
urls[22] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-de-locale/1.2.3/xdoclet-de-locale-1.2.3.jar
urls[23] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/jboss/jboss-j2ee/3.2.1/jboss-j2ee-3.2.1.jar
urls[24] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-caucho-module/1.2.3/xdoclet-caucho-module-1.2.3.jar
urls[25] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar
urls[26] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-web-module/1.2.3/xdoclet-web-module-1.2.3.jar
urls[27] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-jdo-module/1.2.3/xdoclet-jdo-module-1.2.3.jar
urls[28] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-tjdo-module/1.2.3/xdoclet-tjdo-module-1.2.3.jar
urls[29] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
urls[30] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-openejb-module/1.2.3/xdoclet-openejb-module-1.2.3.jar
urls[31] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-oracle-module/1.2.3/xdoclet-oracle-module-1.2.3.jar
urls[32] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-hp-module/1.2.3/xdoclet-hp-module-1.2.3.jar
urls[33] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-webwork-module/1.2.3/xdoclet-webwork-module-1.2.3.jar
urls[34] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-mx4j-module/1.2.3/xdoclet-mx4j-module-1.2.3.jar
urls[35] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-solarmetric-module/1.2.3/xdoclet-solarmetric-module-1.2.3.jar
urls[36] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet/1.2.3/xdoclet-1.2.3.jar
urls[37] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-jsf-module/1.2.3/xdoclet-jsf-module-1.2.3.jar
urls[38] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-pt_BR-locale/1.2.3/xdoclet-pt_BR-locale-1.2.3.jar
urls[39] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-pramati-module/1.2.3/xdoclet-pramati-module-1.2.3.jar
urls[40] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-borland-module/1.2.3/xdoclet-borland-module-1.2.3.jar
urls[41] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-ejb-module/1.2.3/xdoclet-ejb-module-1.2.3.jar
urls[42] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-hibernate-module/1.2.3/xdoclet-hibernate-module-1.2.3.jar
urls[43] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-sybase-module/1.2.3/xdoclet-sybase-module-1.2.3.jar
urls[44] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-mockobjects-module/1.2.3/xdoclet-mockobjects-module-1.2.3.jar
urls[45] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-libelis-module/1.2.3/xdoclet-libelis-module-1.2.3.jar
urls[46] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-portlet-module/1.2.3/xdoclet-portlet-module-1.2.3.jar
urls[47] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xjavadoc/1.1/xjavadoc-1.1.jar
urls[48] = file:/C:/Documents and
Settings/pmadzik/.m2/repository/xdoclet/xdoclet-macromedia-module/1.2.3/xdoclet-macromedia-module-1.2.3.jar
Number of imports: 4
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
this realm = plexus.core
urls[0] = file:/e:/maven-2.0.6/lib/maven-core-2.0.6-uber.jar
Number of imports: 4
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
-----------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal
'org.codehaus.mojo:xdoclet-maven-plugin:1.0-alpha-2:xdoclet': Unable to find
the mojo 'org.codehaus.mojo:xdoclet-maven-plugin:1.0-alpha-2:xdoclet' in the
plugin 'org.codehaus.mojo:xdoclet-maven-plugin'
org/apache/tools/ant/PropertyHelper
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Wed Apr 04 14:24:18 CEST 2007
[INFO] Final Memory: 2M/6M
[INFO]
------------------------------------------------------------------------
In 2.0.5 everything works ok. Is this issue with xdoclet plugin or new
version of maven?
--
View this message in context:
http://www.nabble.com/maven-2.0.6-and-xdoclet-maven-plugin-tf3525559s177.html#a9836034
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]