|
|
|
@ -1,5 +1,6 @@ |
|
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
|
<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"> |
|
|
|
<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"> |
|
|
|
<modelVersion>4.0.0</modelVersion> |
|
|
|
<modelVersion>4.0.0</modelVersion> |
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
<artifactId>spring-boot-build</artifactId> |
|
|
|
<artifactId>spring-boot-build</artifactId> |
|
|
|
@ -95,15 +96,20 @@ |
|
|
|
<taskdef resource="net/sf/antcontrib/antcontrib.properties" /> |
|
|
|
<taskdef resource="net/sf/antcontrib/antcontrib.properties" /> |
|
|
|
<taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" /> |
|
|
|
<taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" /> |
|
|
|
<var name="version-type" value="${project.version}" /> |
|
|
|
<var name="version-type" value="${project.version}" /> |
|
|
|
<propertyregex property="version-type" override="true" input="${version-type}" regexp=".*\.(.*)" replace="\1" /> |
|
|
|
<propertyregex property="version-type" override="true" |
|
|
|
<propertyregex property="version-type" override="true" input="${version-type}" regexp="(M)\d+" replace="MILESTONE" /> |
|
|
|
input="${version-type}" regexp=".*\.(.*)" replace="\1" /> |
|
|
|
<propertyregex property="version-type" override="true" input="${version-type}" regexp="(RC)\d+" replace="MILESTONE" /> |
|
|
|
<propertyregex property="version-type" override="true" |
|
|
|
<propertyregex property="version-type" override="true" input="${version-type}" regexp="BUILD-(.*)" replace="SNAPSHOT" /> |
|
|
|
input="${version-type}" regexp="(M)\d+" replace="MILESTONE" /> |
|
|
|
|
|
|
|
<propertyregex property="version-type" override="true" |
|
|
|
|
|
|
|
input="${version-type}" regexp="(RC)\d+" replace="MILESTONE" /> |
|
|
|
|
|
|
|
<propertyregex property="version-type" override="true" |
|
|
|
|
|
|
|
input="${version-type}" regexp="BUILD-(.*)" replace="SNAPSHOT" /> |
|
|
|
<stringutil string="${version-type}" property="profile"> |
|
|
|
<stringutil string="${version-type}" property="profile"> |
|
|
|
<lowercase /> |
|
|
|
<lowercase /> |
|
|
|
</stringutil> |
|
|
|
</stringutil> |
|
|
|
<echo message="Writing settings for ${profile} profile" /> |
|
|
|
<echo message="Writing settings for ${profile} profile" /> |
|
|
|
<copy file=".settings-template.xml" tofile="settings.xml" overwrite="true"> |
|
|
|
<copy file=".settings-template.xml" tofile="settings.xml" |
|
|
|
|
|
|
|
overwrite="true"> |
|
|
|
<filterset> |
|
|
|
<filterset> |
|
|
|
<filter token="profile" value="${profile}" /> |
|
|
|
<filter token="profile" value="${profile}" /> |
|
|
|
</filterset> |
|
|
|
</filterset> |
|
|
|
@ -120,7 +126,8 @@ |
|
|
|
<inherited>false</inherited> |
|
|
|
<inherited>false</inherited> |
|
|
|
<configuration> |
|
|
|
<configuration> |
|
|
|
<target> |
|
|
|
<target> |
|
|
|
<property name="sourceFile" value="spring-boot-starters/spring-boot-starter-parent/pom.xml" /> |
|
|
|
<property name="sourceFile" |
|
|
|
|
|
|
|
value="spring-boot-starters/spring-boot-starter-parent/pom.xml" /> |
|
|
|
<xslt in="${sourceFile}" out="${sourceFile}.new" force="true"> |
|
|
|
<xslt in="${sourceFile}" out="${sourceFile}.new" force="true"> |
|
|
|
<style> |
|
|
|
<style> |
|
|
|
<string><![CDATA[ |
|
|
|
<string><![CDATA[ |
|
|
|
|