|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 3 | <modelVersion>4.0.0</modelVersion> |
5 | 4 | <groupId>org.springframework.boot</groupId> |
6 | 5 | <artifactId>spring-boot-build</artifactId> |
7 | | - <version>1.0.0.BUILD-SNAPSHOT</version> |
| 6 | + <version>1.0.0.RC4</version> |
8 | 7 | <packaging>pom</packaging> |
9 | 8 | <prerequisites> |
10 | 9 | <maven>3.0.0</maven> |
|
96 | 95 | <taskdef resource="net/sf/antcontrib/antcontrib.properties" /> |
97 | 96 | <taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" /> |
98 | 97 | <var name="version-type" value="${project.version}" /> |
99 | | - <propertyregex property="version-type" override="true" |
100 | | - input="${version-type}" regexp=".*\.(.*)" replace="\1" /> |
101 | | - <propertyregex property="version-type" override="true" |
102 | | - input="${version-type}" regexp="(M)\d+" replace="MILESTONE" /> |
103 | | - <propertyregex property="version-type" override="true" |
104 | | - input="${version-type}" regexp="(RC)\d+" replace="MILESTONE" /> |
105 | | - <propertyregex property="version-type" override="true" |
106 | | - input="${version-type}" regexp="BUILD-(.*)" replace="SNAPSHOT" /> |
| 98 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp=".*\.(.*)" replace="\1" /> |
| 99 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp="(M)\d+" replace="MILESTONE" /> |
| 100 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp="(RC)\d+" replace="MILESTONE" /> |
| 101 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp="BUILD-(.*)" replace="SNAPSHOT" /> |
107 | 102 | <stringutil string="${version-type}" property="profile"> |
108 | 103 | <lowercase /> |
109 | 104 | </stringutil> |
110 | 105 | <echo message="Writing settings for ${profile} profile" /> |
111 | | - <copy file=".settings-template.xml" tofile="settings.xml" |
112 | | - overwrite="true"> |
| 106 | + <copy file=".settings-template.xml" tofile="settings.xml" overwrite="true"> |
113 | 107 | <filterset> |
114 | 108 | <filter token="profile" value="${profile}" /> |
115 | 109 | </filterset> |
|
126 | 120 | <inherited>false</inherited> |
127 | 121 | <configuration> |
128 | 122 | <target> |
129 | | - <property name="sourceFile" |
130 | | - value="spring-boot-starters/spring-boot-starter-parent/pom.xml" /> |
| 123 | + <property name="sourceFile" value="spring-boot-starters/spring-boot-starter-parent/pom.xml" /> |
131 | 124 | <xslt in="${sourceFile}" out="${sourceFile}.new" force="true"> |
132 | 125 | <style> |
133 | 126 | <string><![CDATA[ |
|
0 commit comments