|
|
|
@ -1,10 +1,9 @@
|
|
|
|
|
<?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>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-build</artifactId>
|
|
|
|
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
|
|
|
|
<version>1.0.0.RC4</version>
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
<prerequisites>
|
|
|
|
|
<maven>3.0.0</maven>
|
|
|
|
@ -96,20 +95,15 @@
|
|
|
|
|
<taskdef resource="net/sf/antcontrib/antcontrib.properties" />
|
|
|
|
|
<taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" />
|
|
|
|
|
<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"
|
|
|
|
|
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" />
|
|
|
|
|
<propertyregex property="version-type" override="true" input="${version-type}" regexp=".*\.(.*)" replace="\1" />
|
|
|
|
|
<propertyregex property="version-type" override="true" 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">
|
|
|
|
|
<lowercase />
|
|
|
|
|
</stringutil>
|
|
|
|
|
<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>
|
|
|
|
|
<filter token="profile" value="${profile}" />
|
|
|
|
|
</filterset>
|
|
|
|
@ -126,8 +120,7 @@
|
|
|
|
|
<inherited>false</inherited>
|
|
|
|
|
<configuration>
|
|
|
|
|
<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">
|
|
|
|
|
<style>
|
|
|
|
|
<string><![CDATA[
|
|
|
|
|