| 
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" 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"  | 
 | 3 | +	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">  | 
3 | 4 | 	<modelVersion>4.0.0</modelVersion>  | 
4 | 5 | 	<groupId>org.springframework.boot</groupId>  | 
5 | 6 | 	<artifactId>spring-boot-build</artifactId>  | 
 | 
95 | 96 | 										<taskdef resource="net/sf/antcontrib/antcontrib.properties" />  | 
96 | 97 | 										<taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" />  | 
97 | 98 | 										<var name="version-type" value="${project.version}" />  | 
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" />  | 
 | 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" />  | 
102 | 107 | 										<stringutil string="${version-type}" property="profile">  | 
103 | 108 | 											<lowercase />  | 
104 | 109 | 										</stringutil>  | 
105 | 110 | 										<echo message="Writing settings for ${profile} profile" />  | 
106 |  | -										<copy file=".settings-template.xml" tofile="settings.xml" overwrite="true">  | 
 | 111 | +										<copy file=".settings-template.xml" tofile="settings.xml"  | 
 | 112 | +											overwrite="true">  | 
107 | 113 | 											<filterset>  | 
108 | 114 | 												<filter token="profile" value="${profile}" />  | 
109 | 115 | 											</filterset>  | 
 | 
120 | 126 | 								<inherited>false</inherited>  | 
121 | 127 | 								<configuration>  | 
122 | 128 | 									<target>  | 
123 |  | -										<property name="sourceFile" value="spring-boot-starters/spring-boot-starter-parent/pom.xml" />  | 
 | 129 | +										<property name="sourceFile"  | 
 | 130 | +											value="spring-boot-starters/spring-boot-starter-parent/pom.xml" />  | 
124 | 131 | 										<xslt in="${sourceFile}" out="${sourceFile}.new" force="true">  | 
125 | 132 | 											<style>  | 
126 | 133 | 												<string><![CDATA[  | 
 | 
0 commit comments