I found to successfully generate web.xml, struts-config.xml and validation.xml I
had to include the following dependencies. Some are obvious, but others are
not - go figure ???
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-apache-module</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-jmx-module</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-web-module</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-xdoclet-module</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xjavadoc</artifactId>
<version>1.0.2</version>
</dependency>
<dependency>
<id>xdoclet+ejb+module</id>
<version>1.2</version>
</dependency>
--
Robbe Stewart
2C30
ext: 97981
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Friday, 26 March 2004 11:54 PM
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-user] maven plugins struts generation can't find the
> maven jelly tag lib.
>
>
> With maven-1.0-rc2, I want to generate struts-config.xml using the
> maven-xdoclet-plugin-1.2. But when I execute maven
> xdoclet:webdoclet I
> have the following message and no files are generate. I
> probably forgot
> some configuration / properties or dependencies. But it seems
> that the
> plugin can't find the maven jelly tag lib.
>
> Log :
>
> Tag library requested that is not present: 'maven' in plugin:
> 'maven-xdoclet-plugin-1.2'
> BUILD SUCCESSFUL
> Total time: 8 seconds
> Finished at: Fri Mar 26 14:15:45 CET 2004
>
> My properties :
>
> maven.xdoclet.webdoclet.force=true
> maven.xdoclet.webdoclet.mergedir=conf/merge
>
> maven.xdoclet.webdoclet.fileset.0=true
> maven.xdoclet.webdoclet.fileset.0.include=**/*Action.java
>
> maven.xdoclet.webdoclet.strutsconfigxml.0=true
> maven.xdoclet.webdoclet.strutsconfigxml.destDir=${maven.build.
> dir}/xdoclet/web/struts
> maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true
> maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.1
> maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=conf/merge
>
> My dependencies :
>
> <dependency>
> <artifactId>xdoclet</artifactId>
> <groupId>xdoclet</groupId>
> <version>1.2</version>
> <type>jar</type>
> </dependency>
> <dependency>
> <artifactId>xdoclet-apache-module</artifactId>
> <groupId>xdoclet</groupId>
> <version>1.2</version>
> <type>jar</type>
> </dependency>
> <dependency>
> <artifactId>xdoclet-web-module</artifactId>
> <groupId>xdoclet</groupId>
> <version>1.2</version>
> <type>jar</type>
> </dependency>
> <dependency>
> <artifactId>xdoclet-xdoclet-module</artifactId>
> <groupId>xdoclet</groupId>
> <version>1.2</version>
> <type>jar</type>
> </dependency>
> <dependency>
> <groupId>xdoclet</groupId>
> <artifactId>xjavadoc</artifactId>
> <version>1.0.2</version>
> <url>http://xdoclet.sourceforge.net/</url>
> <jar>xjavadoc-1.0.2.jar</jar>
> </dependency>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user