|
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>io.spring.initializr</groupId>
|
7 | 6 | <artifactId>initializr</artifactId>
|
8 |
| - <version>0.6.0.BUILD-SNAPSHOT</version> |
| 7 | + <version>0.6.0.RELEASE</version> |
9 | 8 | </parent>
|
10 | 9 | <artifactId>initializr-docs</artifactId>
|
11 | 10 | <name>Spring Initializr :: Docs</name>
|
|
224 | 223 | <include name="**/*.epub" />
|
225 | 224 | </fileset>
|
226 | 225 | </copy>
|
227 |
| - <move file="${basedir}/target/contents/reference/epub/index.epub" |
228 |
| - tofile="${basedir}/target/contents/reference/epub/initializr-reference.epub" /> |
| 226 | + <move file="${basedir}/target/contents/reference/epub/index.epub" tofile="${basedir}/target/contents/reference/epub/initializr-reference.epub" /> |
229 | 227 | </postProcess>
|
230 | 228 | </configuration>
|
231 | 229 | </execution>
|
|
266 | 264 | </goals>
|
267 | 265 | <configuration>
|
268 | 266 | <target>
|
269 |
| - <zip |
270 |
| - destfile="${project.build.directory}/${project.artifactId}-${project.version}.zip"> |
| 267 | + <zip destfile="${project.build.directory}/${project.artifactId}-${project.version}.zip"> |
271 | 268 | <fileset dir="${project.build.directory}/contents" />
|
272 | 269 | </zip>
|
273 | 270 | </target>
|
|
285 | 282 | <taskdef resource="net/sf/antcontrib/antcontrib.properties" />
|
286 | 283 | <taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" />
|
287 | 284 | <var name="version-type" value="${project.version}" />
|
288 |
| - <propertyregex property="version-type" override="true" |
289 |
| - input="${version-type}" regexp=".*\.(.*)" replace="\1" /> |
290 |
| - <propertyregex property="version-type" override="true" |
291 |
| - input="${version-type}" regexp="(M)\d+" replace="MILESTONE" /> |
292 |
| - <propertyregex property="version-type" override="true" |
293 |
| - input="${version-type}" regexp="(RC)\d+" replace="MILESTONE" /> |
294 |
| - <propertyregex property="version-type" override="true" |
295 |
| - input="${version-type}" regexp="BUILD-(.*)" replace="SNAPSHOT" /> |
| 285 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp=".*\.(.*)" replace="\1" /> |
| 286 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp="(M)\d+" replace="MILESTONE" /> |
| 287 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp="(RC)\d+" replace="MILESTONE" /> |
| 288 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp="BUILD-(.*)" replace="SNAPSHOT" /> |
296 | 289 | <stringutil string="${version-type}" property="initializr-repo">
|
297 | 290 | <lowercase />
|
298 | 291 | </stringutil>
|
299 | 292 | <var name="github-tag" value="v${project.version}" />
|
300 |
| - <propertyregex property="github-tag" override="true" |
301 |
| - input="${github-tag}" regexp=".*SNAPSHOT" replace="master" /> |
| 293 | + <propertyregex property="github-tag" override="true" input="${github-tag}" regexp=".*SNAPSHOT" replace="master" /> |
302 | 294 | </target>
|
303 | 295 | </configuration>
|
304 | 296 | </execution>
|
|
0 commit comments