Hi! (Using Maven from CVS a week ago)
I have written a Maven plugin for Zeus (http://zeus.enhydra.org/) that will invoke the Zeus DTD/Schema -> Java generator. It works just fine, and it defines one goal called "zeus". This goal expects some properties to be set (maven.zeus.constraints and maven.zeus.package). In my project (XDoclet 2) I want to invoke the zeus goal several times with different properties. I've tried: <preGoal name="java:compile"> <attainGoal name="zeus"> <property name="maven.zeus.constraints" value="${maven.src.dir}/testdata/geek-1.0.dtd"/> <property name="maven.zeus.package" value="xdoclet.plugins.xmlFacade.test.geek.geek_1_0"/> </attainGoal> <attainGoal name="zeus"> <property name="maven.zeus.constraints" value="${maven.src.dir}/testdata/geek-2.0.dtd"/> <property name="maven.zeus.package" value="xdoclet.plugins.xmlFacade.test.geek.geek_2_0"/> </attainGoal> </preGoal> This doesn't work the way I want it to. The zeus goal is attained twice, but both times with the properties I specified in the first attainGoal. -But I _want_ them to be overridden. Is there some other technique I could use to achieve the desired effect? Cheers, Aslak -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
