forked from highsource/jaxb-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreplace-version.xml
41 lines (32 loc) · 1.55 KB
/
replace-version.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0"?>
<!-- Usage: ant -f replace-version.xml -->
<project name="replace-version" default="main">
<target name="main">
<replace dir="${basedir}" summary="true">
<include name="**/*pom.xml"/>
<replacetoken><![CDATA[version>2.2.1-SNAPSHOT</]]></replacetoken>
<replacevalue><![CDATA[version>2.2.2-SNAPSHOT</]]></replacevalue>
</replace>
<replace dir="${basedir}" summary="true">
<include name="testing/src/main/java/org/jvnet/higherjaxb/mojo/testing/AbstractMojoTest.java"/>
<replacetoken><![CDATA[DEFAULT_PROJECT_VERSION = "2.2.1-SNAPSHOT"]]></replacetoken>
<replacevalue><![CDATA[DEFAULT_PROJECT_VERSION = "2.2.2-SNAPSHOT"]]></replacevalue>
</replace>
<replace dir="${basedir}" summary="true">
<include name="testing/src/main/java/org/jvnet/higherjaxb/mojo/testing/AbstractMojoTest.java"/>
<replacetoken><![CDATA[DEFAULT_BASICJAXB_VERSION = "2.2.1-SNAPSHOT"]]></replacetoken>
<replacevalue><![CDATA[DEFAULT_BASICJAXB_VERSION = "2.2.2-SNAPSHOT"]]></replacevalue>
</replace>
<replace dir="${basedir}" summary="true">
<include name="LICENSE.md"/>
<replacetoken><![CDATA[Copyright © 2022-2023, Rick O'Sullivan;]]></replacetoken>
<replacevalue><![CDATA[Copyright © 2022-2024, Rick O'Sullivan;]]></replacevalue>
</replace>
<replace dir="${basedir}" summary="true">
<include name="assembly/pom.xml"/>
<replacetoken><![CDATA[version>2.2.0</]]></replacetoken>
<replacevalue><![CDATA[version>2.2.1</]]></replacevalue>
</replace>
</target>
</project>
<!-- vi:set tabstop=4 hardtabs=4 shiftwidth=4: -->