Does anyone know of a Maven plugin which provides functionality similar to
the "xmltask" [1] Ant Task?
description:
"
Uses include:
* modifying configuration files for applications during builds
...
"
usage example:
-----------------------------------------------------------
original file, src/blah.xml:
<blah>
<name></name>
</blah>
inserting the "name"
<xmltask source="src/blah.xml" dest="target/blah.xml">
<insert path="/blah/name" xml="Tiger"/>
</xmltask>
which results in:
<blah>
<name>Tiger</name>
</blah>
-----------------------------------------------------------
If there isn't a direct Maven plugin, I'll try wrapping in a
maven-antrun-plugin call. The only problem then is that xmltask isn't in
central. I logged an enhancement request [2] for that issue.
Thanks,
Luke
[1] http://www.oopsconsultancy.com/software/xmltask/
[2]
http://sourceforge.net/tracker/?func=detail&aid=2914839&group_id=27398&atid=390338
--
View this message in context:
http://old.nabble.com/xmltask-equivalant-Maven-plugin-tp26803518p26803518.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]