Hi to all,
I´ m trying to filter/replace a maven2 pom with ant.
So long not the biggest problem. One is my need to replace the <version>
</version> property.
So far just a small problem. I only have to replace the version which is
inside the <parent> </parent> declaration.
<loadfile srcFile="pom.xml" property="test.pom">
<filterchain>
<tokenfilter>
<replaceregex pattern="*-SNAPSHOT" replace="versionIwant"
flags="gi"/>
</tokenfilter>
</filterchain>
Seems not to fit 100%. I would replace all found regex.
Looking ahead for your replys
Saberex
--
View this message in context:
http://www.nabble.com/replace-version-info-in-maven2-pom-with-ant-tp24035984p24035984.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]