maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gajo Csaba <csaba.g...@cosylab.com>
Subject XML node attributes when writing a custom mojo
Date Wed, 25 Aug 2010 10:14:29 GMT
Hello there!

Is it possible to design a custom Maven plugin in such a way that the 
nodes in its <configuration> use xml attributes? For example, instead of

<configure>
<include>
<name>somefile.txt</name>
</include>
</configure>

I would like to have

<configure>
<include name="somefile.txt"/>
</configure>

Is there some built-in support for this in Maven 2?

Thanks, Csaba



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message