123456789101112131415161718192021222324 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <project name="maven-antrun-" default="main" >
- <target name="main">
- <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath"/>
- <if>
- <available file="about.mappings"/>
- <then>
- <echo message="Replacing back build id within about.mappings with @build@ token."/>
- <replace file="about.mappings">
- <replacefilter token="${unqualifiedVersion}.${buildQualifier}" value="@build@"/>
- </replace>
- </then>
- </if>
- <if>
- <available file="javadocOptions.txt"/>
- <then>
- <echo message="Replacing back build id within javadocOptions.txt with @build@ token."/>
- <replace file="javadocOptions.txt">
- <replacefilter token="${unqualifiedVersion}.${buildQualifier}" value="@build@"/>
- </replace>
- </then>
- </if>
- </target>
- </project>
|