hi all,,
can anyone point me in the right direction for using maven2 xdoclet2 plugin?
i followed this link
http://xdoclet.codehaus.org/Maven2+plugin
to try, i wrote a simple pom.xml like in the example
<project>
<modelVersion>4.0.0</modelVersion>
<artifactId>Backend</artifactId>
<packaging>jar</packaging>
<version>1.0</version>
<name>Backend</name>
<parent>
<groupId>TestJSFAppM2</groupId>
<artifactId>TestJSFAppM2</artifactId>
<version> 1.0</version>
</parent>
<dependencies>
<dependency>
<groupId>aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>1.5.0</version>
</dependency>
<dependency>
<groupId>jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>1.2.4</version>
</dependency>
<dependency>
<groupId>commons-digester</groupId>
<artifactId>commons-digester</artifactId>
<version>1.7</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version> 1.2.9</version>
</dependency>
<dependency>
<groupId>castor</groupId>
<artifactId>castor</artifactId>
<version>1.0M4 </version>
</dependency>
<dependency>
<groupId> javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version> 2.4</version>
</dependency>
<dependency>
<groupId>TestJSFAppM2</groupId>
<artifactId>Commons</artifactId>
<version> 1.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>xdoclet</groupId>
<artifactId>maven2-xdoclet2-plugin</artifactId>
<configuration>
<configs>
<config>
<!-- here's where you specify which xdoclet-plugin to run, by its class name -->
<plugin> org.xdoclet.plugin.web.TaglibPlugin</plugin>
<!-- here's some config for your plugin-->
<params>
<jspversion>2.0</jspversion>
<destdir>${basedir}/target/xdoclet/META-INF</destdir>
</params>
</config>
<!-- run multiple plugins by repeating this <config> element -->
</configs>
</configuration>
<executions>
<execution>
<goals>
<goal>xdoclet</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
!-- The following two sections should be unnecessary shortly.
surefire-2.2 is due for release yesterday. -->
<repositories>
<repository>
<id>apache.snapshots</id>
<url> http://cvs.apache.org/maven-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>apache.snapshots </id>
<url>http://cvs.apache.org/maven-snapshot-repository</url>
</pluginRepository>
<pluginRepository>
<id>codehaus-plugins</id>
<url>http://dist.codehaus.org/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
</project>
when i run mvn:compile i got following error
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'xdoclet:maven2-xdoclet2-plugin' does not exist or no valid ve
rsion could be found
[INFO] ------------------------------------------------------------------------
and when i run mvn xdoclet:xdoclet i got this
[INFO] The plugin 'org.apache.maven.plugins:maven-xdoclet-plugin ' does not exist
or no valid version could be found
can anyone help me out on how to start? i got plugins working fine for maven1, btu now i have
moved to maven2 ...
thx and regards
can anyone point me in the right direction for using maven2 xdoclet2 plugin?
i followed this link
http://xdoclet.codehaus.org/Maven2+plugin
to try, i wrote a simple pom.xml like in the example
<project>
<modelVersion>4.0.0</modelVersion>
<artifactId>Backend</artifactId>
<packaging>jar</packaging>
<version>1.0</version>
<name>Backend</name>
<parent>
<groupId>TestJSFAppM2</groupId>
<artifactId>TestJSFAppM2</artifactId>
<version> 1.0</version>
</parent>
<dependencies>
<dependency>
<groupId>aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>1.5.0</version>
</dependency>
<dependency>
<groupId>jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>1.2.4</version>
</dependency>
<dependency>
<groupId>commons-digester</groupId>
<artifactId>commons-digester</artifactId>
<version>1.7</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version> 1.2.9</version>
</dependency>
<dependency>
<groupId>castor</groupId>
<artifactId>castor</artifactId>
<version>1.0M4 </version>
</dependency>
<dependency>
<groupId> javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version> 2.4</version>
</dependency>
<dependency>
<groupId>TestJSFAppM2</groupId>
<artifactId>Commons</artifactId>
<version> 1.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>xdoclet</groupId>
<artifactId>maven2-xdoclet2-plugin</artifactId>
<configuration>
<configs>
<config>
<!-- here's where you specify which xdoclet-plugin to run, by its class name -->
<plugin> org.xdoclet.plugin.web.TaglibPlugin</plugin>
<!-- here's some config for your plugin-->
<params>
<jspversion>2.0</jspversion>
<destdir>${basedir}/target/xdoclet/META-INF</destdir>
</params>
</config>
<!-- run multiple plugins by repeating this <config> element -->
</configs>
</configuration>
<executions>
<execution>
<goals>
<goal>xdoclet</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
!-- The following two sections should be unnecessary shortly.
surefire-2.2 is due for release yesterday. -->
<repositories>
<repository>
<id>apache.snapshots</id>
<url> http://cvs.apache.org/maven-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>apache.snapshots </id>
<url>http://cvs.apache.org/maven-snapshot-repository</url>
</pluginRepository>
<pluginRepository>
<id>codehaus-plugins</id>
<url>http://dist.codehaus.org/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
</project>
when i run mvn:compile i got following error
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'xdoclet:maven2-xdoclet2-plugin' does not exist or no valid ve
rsion could be found
[INFO] ------------------------------------------------------------------------
and when i run mvn xdoclet:xdoclet i got this
[INFO] The plugin 'org.apache.maven.plugins:maven-xdoclet-plugin ' does not exist
or no valid version could be found
can anyone help me out on how to start? i got plugins working fine for maven1, btu now i have
moved to maven2 ...
thx and regards
marco
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-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user