|
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>0.5.0.BUILD-SNAPSHOT</version> |
| 6 | + <version>0.5.0.M4</version> |
8 | 7 | <packaging>pom</packaging> |
9 | 8 | <prerequisites> |
10 | 9 | <maven>3.0.0</maven> |
|
88 | 87 | <taskdef resource="net/sf/antcontrib/antcontrib.properties" /> |
89 | 88 | <taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" /> |
90 | 89 | <var name="version-type" value="${project.version}" /> |
91 | | - <propertyregex property="version-type" override="true" |
92 | | - input="${version-type}" regexp=".*\.(.*)" replace="\1" /> |
93 | | - <propertyregex property="version-type" override="true" |
94 | | - input="${version-type}" regexp="(M)\d+" replace="\1ILESTONE" /> |
95 | | - <propertyregex property="version-type" override="true" |
96 | | - input="${version-type}" regexp="BUILD-(.*)" replace="\1" /> |
| 90 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp=".*\.(.*)" replace="\1" /> |
| 91 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp="(M)\d+" replace="\1ILESTONE" /> |
| 92 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp="BUILD-(.*)" replace="\1" /> |
97 | 93 | <stringutil string="${version-type}" property="profile"> |
98 | 94 | <lowercase /> |
99 | 95 | </stringutil> |
100 | 96 | <echo message="Writing settings for ${profile} profile" /> |
101 | | - <copy file=".settings-template.xml" tofile="settings.xml" |
102 | | - overwrite="true"> |
| 97 | + <copy file=".settings-template.xml" tofile="settings.xml" overwrite="true"> |
103 | 98 | <filterset> |
104 | 99 | <filter token="profile" value="${profile}" /> |
105 | 100 | </filterset> |
|
116 | 111 | <inherited>false</inherited> |
117 | 112 | <configuration> |
118 | 113 | <target> |
119 | | - <property name="sourceFile" |
120 | | - value="spring-boot-starters/spring-boot-starter-parent/pom.xml" /> |
| 114 | + <property name="sourceFile" value="spring-boot-starters/spring-boot-starter-parent/pom.xml" /> |
121 | 115 | <xslt in="${sourceFile}" out="${sourceFile}.new" force="true"> |
122 | 116 | <style> |
123 | 117 | <string><![CDATA[ |
|
0 commit comments