Yes! I added the dependency and it works. However, Pierre, for your reference, on ibiblio the 1.2.1 version is not there. I've used 1.2 and it seems it works nicely
----- Original Message ----- From: "Pierre-Yves Chauveau" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Thursday, September 09, 2004 11:13 AM Subject: RE: Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven So you're missing the apache module one : <dependency> <groupId>xdoclet</groupId> <artifactId>xdoclet-apache-module</artifactId> <version>1.2.1</version> <url>http://xdoclet.sourceforge.net</url> </dependency> -----Message d'origine----- De : Marco Tedone [mailto:[EMAIL PROTECTED] Envoyé : jeudi 9 septembre 2004 12:11 À : Maven Users List Objet : Re: Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven These are the xdoclet dependencies (declared in the parent project): <dependency> <groupId>xdoclet</groupId> <artifactId>xdoclet</artifactId> <version>1.2</version> </dependency> <dependency> <groupId>xdoclet</groupId> <artifactId>xdoclet-ejb-module</artifactId> <version>1.2</version> <url>http://xdoclet.sf.net/</url> </dependency> <dependency> <groupId>xjavadoc</groupId> <artifactId>xjavadoc</artifactId> <version>1.0.2</version> <url>http://xdoclet.sf.net/</url> </dependency> <dependency> <groupId>xdoclet</groupId> <artifactId>xdoclet-jmx-module</artifactId> <version>1.2</version> <url>http://xdoclet.sf.net/</url> </dependency> <dependency> <groupId>xdoclet</groupId> <artifactId>xdoclet-web-module</artifactId> <version>1.2</version> <url>http://xdoclet.sf.net/</url> </dependency> <dependency> <groupId>xdoclet</groupId> <artifactId>xdoclet-jboss-module</artifactId> <version>1.2</version> <url>http://xdoclet.sf.net/</url> </dependency> <dependency> <groupId>xdoclet</groupId> <artifactId>maven-xdoclet-plugin</artifactId> <version>1.2</version> <type>plugin</type> <url>http://xdoclet.sf.net/</url> </dependency> This is then declared in my 'war' subproject: <dependency> <groupId>struts</groupId> <artifactId>struts</artifactId> <version>1.1</version> <properties> <war.bundle>true</war.bundle> </properties> </dependency> ----- Original Message ----- From: "Mark Lowe" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Thursday, September 09, 2004 11:02 AM Subject: Re: Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven > Have you included the xdoclet-apache-module stuff in your dependencies? > > > On 9 Sep 2004, at 11:25, Marco Tedone wrote: > > > Hi, I've got the following pregoal in maven.xml > > > > > > <preGoal name="war:webapp"> > > <attainGoal name="xdoclet:webdoclet"/> > > </preGoal> > > > > which, you know better than me, executes webdoclet before running the > > war > > goal. The web.xml gets generated, ok. Now I want to generate also the > > struts-related configuration files. From XDoclet I learn that there is > > a > > nested element for <webdoclet>, <strutsconfigxml> that generates the > > struts-related files. > > > > How could I tell to Maven to run also the <strutsconfigxml> nested > > element > > when running webdoclet? I had a look on the internet, and tried to > > specify > > the following properties: > > > > maven.xdoclet.webdoclet.strutsconfigxml.0=true > > maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true > > maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.1 > > maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=src/merge/struts > > > > > > But nothing happens. > > > > I had a look also at the mailing list archives but I didn't find > > anything > > which could help. Could anyone help? > > > > Thanks, > > > > Marco Tedone > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]