Hi,
I have a classnotfoundexception when running xdoclet2
from maven2
On the nanocontainer
The goal is to run hibernate xdoclet2 plugin but it
doesn't go there yet...
Is there a way to fix this ?
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing
goal
'xdoclet:maven2-xdoclet2-plugin:2.0.5-SNAPSHOT:xdoc
let': Unable to find the mojo
'xdoclet:maven2-xdoclet2-plugin:2.0.5-SNAPSHOT:xdoclet'
in the plugin 'xdoclet:m
aven2-xdoclet2-plugin'
org/nanocontainer/integrationkit/ContainerComposer
[INFO]
----------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException:
Internal error in the plugin manager executing goal 'x
doclet:maven2-xdoclet2-plugin:2.0.5-SNAPSHOT:xdoclet':
Unable to find the mojo
'xdoclet:maven2-xdoclet2-plugin
:2.0.5-SNAPSHOT:xdoclet' in the plugin
'xdoclet:maven2-xdoclet2-plugin'
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:535)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecut
or.java:472)
my pom.xml:
<plugin>
<groupId>xdoclet</groupId>
<artifactId>maven2-xdoclet2-plugin</artifactId>
<version>2.0.5-SNAPSHOT</version>
<configuration>
<configs>
<config>
<!-- here's where you specify which
xdoclet-plugin to run, by its class -->
<plugin>org.xdoclet.plugin.hibernate.HibernateMappingPlugin</plugin>
<!-- here's some config for your plugin-->
<params>
<destdir>${project.build.outputDirectory}</destdir>
<excludedtags>@version,@author,@todo,@param,@return,@see</excludedtags>
<verbose>true</verbose>
</params>
</config>
<!-- run multiple plugins by repeating this
<config> element -->
</configs>
</configuration>
<dependencies>
<!-- here's where you specify which
xdoclet-plugin you need, by its groupId/artifactId,
and any additional dependency it might
have - although you'll most likely already
have these in your project, so no need to
repeat them here -->
<dependency>
<groupId>xdoclet-plugins</groupId>
<artifactId>xdoclet-plugin-web</artifactId>
<version>1.0.4-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<version>2.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>xdoclet</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]