|
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 | <parent> |
6 | 5 | <groupId>org.springframework.boot</groupId> |
7 | 6 | <artifactId>spring-boot-parent</artifactId> |
8 | | - <version>1.0.0.BUILD-SNAPSHOT</version> |
| 7 | + <version>1.0.0.RC2</version> |
9 | 8 | <relativePath>../spring-boot-parent</relativePath> |
10 | 9 | </parent> |
11 | 10 | <artifactId>spring-boot-cli</artifactId> |
|
249 | 248 | <taskdef resource="net/sf/antcontrib/antcontrib.properties" /> |
250 | 249 | <taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" /> |
251 | 250 | <var name="version-type" value="${project.version}" /> |
252 | | - <propertyregex property="version-type" override="true" |
253 | | - input="${version-type}" regexp=".*\.(.*)" replace="\1" /> |
254 | | - <propertyregex property="version-type" override="true" |
255 | | - input="${version-type}" regexp="(M)\d+" replace="MILESTONE" /> |
256 | | - <propertyregex property="version-type" override="true" |
257 | | - input="${version-type}" regexp="(RC)\d+" replace="MILESTONE" /> |
258 | | - <propertyregex property="version-type" override="true" |
259 | | - input="${version-type}" regexp="BUILD-(.*)" replace="SNAPSHOT" /> |
| 251 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp=".*\.(.*)" replace="\1" /> |
| 252 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp="(M)\d+" replace="MILESTONE" /> |
| 253 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp="(RC)\d+" replace="MILESTONE" /> |
| 254 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp="BUILD-(.*)" replace="SNAPSHOT" /> |
260 | 255 | <stringutil string="${version-type}" property="repo"> |
261 | 256 | <lowercase /> |
262 | 257 | </stringutil> |
263 | | - <checksum algorithm="sha-1" |
264 | | - file="${project.build.directory}/spring-boot-cli-${project.version}-bin.tar.gz" |
265 | | - property="checksum" /> |
266 | | - <echo |
267 | | - message="Customizing homebrew for ${project.version} with checksum ${checksum} in ${repo} repo" /> |
268 | | - <copy file="${basedir}/src/main/homebrew/springboot.rb" |
269 | | - tofile="${project.build.directory}/springboot.rb" overwrite="true"> |
| 258 | + <checksum algorithm="sha-1" file="${project.build.directory}/spring-boot-cli-${project.version}-bin.tar.gz" property="checksum" /> |
| 259 | + <echo message="Customizing homebrew for ${project.version} with checksum ${checksum} in ${repo} repo" /> |
| 260 | + <copy file="${basedir}/src/main/homebrew/springboot.rb" tofile="${project.build.directory}/springboot.rb" overwrite="true"> |
270 | 261 | <filterchain> |
271 | 262 | <expandproperties /> |
272 | 263 | </filterchain> |
273 | 264 | </copy> |
274 | | - <attachartifact file="${project.build.directory}/springboot.rb" |
275 | | - classifier="homebrew" type="rb" /> |
| 265 | + <attachartifact file="${project.build.directory}/springboot.rb" classifier="homebrew" type="rb" /> |
276 | 266 | </target> |
277 | 267 | </configuration> |
278 | 268 | </execution> |
|
339 | 329 | </goals> |
340 | 330 | </pluginExecutionFilter> |
341 | 331 | <action> |
342 | | - <ignore></ignore> |
| 332 | + <ignore /> |
343 | 333 | </action> |
344 | 334 | </pluginExecution> |
345 | 335 | </pluginExecutions> |
|
0 commit comments