Seems that did not find some of dependencies. Try latest (1.0.1) version of xdoclet2.
As option you also could build xdoclet distribution from CVS or wait several days when 1.0.2 version will be release.
On 9/2/05, Neil Blue <
[EMAIL PROTECTED]> wrote:
Hello,
I am trying to get started with the maven plugin. Here is what I have:
POM dependencies
<dependency>
<groupId>xdoclet-plugins</groupId>
<artifactId>xdoclet-plugin-ejb</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<xdoclet.dependency>true</xdoclet.dependency>
</properties>
</dependency>
<dependency>
<groupId>xdoclet-plugins</groupId>
<artifactId>maven-xdoclet2-plugin</artifactId>
<version>1.0.1</version>
<type>plugin</type>
</dependency>
</dependencies>
project.properties
## XDoclet settings
maven.xdoclet.0=ejbxml
maven.xdoclet.0.ejbxml=org.xdoclet.plugin.ejb.descriptor.EjbJarXmlPlugin
maven.xdoclet.0.ejbxml.destdir=${maven.build.dir}/xdoclet
maven.xdoclet.0.fileset.0.dir=${maven.build.dir}
maven.xdoclet.0.fileset.0.include=**/*.java
All I think look OK. But when I run maven xdoclet2:
Attempting to download xdoclet-plugin-ejb-1.0-SNAPSHOT.jar.
Attempting to download qdox-1.6-SNAPSHOT.jar .
build:start:
xdoclet2:init:
xdoclet2:run:
BUILD FAILED
File...... C:\Documents and
Settings\blueneil\.maven\cache\maven-xdoclet2-plugin
-1.0.1\plugin.jelly
Element... ant:xdoclet
Line...... 31
Column.... 52
org/apache/commons/jelly/JellyException
Total time : 5 seconds
Finished at : 02 September 2005 16:46:01 BST
Mmm not much luck and little info. Running with the -X gives reports of
missing jelly classes:
...
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
... 21 more
Root cause
java.lang.NoClassDefFoundError: org/apache/commons/jelly/JellyException
at java.lang.Class.forName0 (Native Method)
at java.lang.Class.forName(Class.java:164)
at org.generama.Generama.class$(Generama.java:23)
at org.generama.Generama.composeContainer(Generama.java:26)
at org.xdoclet.XDoclet.composeContainer (XDoclet.java:22)
at
org.xdoclet.ant.XDocletTask$1.composeContainer(XDocletTask.java:25)
at
org.nanocontainer.ant.PicoContainerTask$1.composeContainer(PicoContai
nerTask.java:62)
...
Any ideas please?
Thanks
Neil
*********************************************
The information contained in this message is likely to be confidential. It is intended only for the person named above. Any dissemination, distribution, copying, disclosure or use of this message or its contents unless authorised by BioWisdom Ltd is strictly prohibited. Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of BioWisdom Ltd. If you have received this message in error, please immediately notify us and delete it. Thank you. BioWisdom Ltd, Harston Mill, Harston, Cambridge, CB2 5GG. Tel: +44 (0)1223 874800, Fax: +44 (0) 1223 874801, Internet:www.biowisdom.com
*********************************************
--
anatol
