And I think 2 of your properties are incorrect:
maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.1
should be
maven.xdoclet.webdoclet.strutsconfigxml.0.validateXML=true maven.xdoclet.webdoclet.strutsconfigxml.0.Version=1.1
Leander
Pierre-Yves Chauveau schrieb:
Did you put the dependency of the apache xdoclet module in your project.xml. If not, nothing happen and you won't know about that it's missing :-(
Pierre-Yves.
-----Message d'origine-----
De : Marco Tedone [mailto:[EMAIL PROTECTED] Envoy� : jeudi 9 septembre 2004 11:26
� : Maven-users
Objet : Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven
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]
