|
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.RC5</version> |
9 | 8 | <relativePath>../spring-boot-parent</relativePath> |
10 | 9 | </parent> |
11 | 10 | <artifactId>spring-boot-docs</artifactId> |
|
192 | 191 | <include name="**/*.pdf" /> |
193 | 192 | </fileset> |
194 | 193 | </copy> |
195 | | - <move file="${basedir}/target/contents/reference/pdf/index.pdf" |
196 | | - tofile="${basedir}/target/contents/reference/pdf/spring-boot-reference.pdf" /> |
| 194 | + <move file="${basedir}/target/contents/reference/pdf/index.pdf" tofile="${basedir}/target/contents/reference/pdf/spring-boot-reference.pdf" /> |
197 | 195 | </postProcess> |
198 | 196 | </configuration> |
199 | 197 | </execution> |
|
212 | 210 | <include name="**/*.epub" /> |
213 | 211 | </fileset> |
214 | 212 | </copy> |
215 | | - <move file="${basedir}/target/contents/reference/epub/index.epub" |
216 | | - tofile="${basedir}/target/contents/reference/epub/spring-boot-reference.epub" /> |
| 213 | + <move file="${basedir}/target/contents/reference/epub/index.epub" tofile="${basedir}/target/contents/reference/epub/spring-boot-reference.epub" /> |
217 | 214 | </postProcess> |
218 | 215 | </configuration> |
219 | 216 | </execution> |
|
254 | 251 | </goals> |
255 | 252 | <configuration> |
256 | 253 | <target> |
257 | | - <zip |
258 | | - destfile="${project.build.directory}/${project.name}-${project.version}.zip"> |
259 | | - <zipfileset |
260 | | - src="${project.build.directory}/${project.name}-${project.version}-javadoc.jar" |
261 | | - prefix="api" /> |
| 254 | + <zip destfile="${project.build.directory}/${project.name}-${project.version}.zip"> |
| 255 | + <zipfileset src="${project.build.directory}/${project.name}-${project.version}-javadoc.jar" prefix="api" /> |
262 | 256 | <fileset dir="${project.build.directory}/contents" /> |
263 | 257 | </zip> |
264 | 258 | </target> |
|
276 | 270 | <taskdef resource="net/sf/antcontrib/antcontrib.properties" /> |
277 | 271 | <taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" /> |
278 | 272 | <var name="version-type" value="${project.version}" /> |
279 | | - <propertyregex property="version-type" override="true" |
280 | | - input="${version-type}" regexp=".*\.(.*)" replace="\1" /> |
281 | | - <propertyregex property="version-type" override="true" |
282 | | - input="${version-type}" regexp="(M)\d+" replace="MILESTONE" /> |
283 | | - <propertyregex property="version-type" override="true" |
284 | | - input="${version-type}" regexp="(RC)\d+" replace="MILESTONE" /> |
285 | | - <propertyregex property="version-type" override="true" |
286 | | - input="${version-type}" regexp="BUILD-(.*)" replace="SNAPSHOT" /> |
| 273 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp=".*\.(.*)" replace="\1" /> |
| 274 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp="(M)\d+" replace="MILESTONE" /> |
| 275 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp="(RC)\d+" replace="MILESTONE" /> |
| 276 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp="BUILD-(.*)" replace="SNAPSHOT" /> |
287 | 277 | <stringutil string="${version-type}" property="spring-boot-repo"> |
288 | 278 | <lowercase /> |
289 | 279 | </stringutil> |
290 | 280 | <var name="github-tag" value="v${project.version}" /> |
291 | | - <propertyregex property="github-tag" override="true" |
292 | | - input="${github-tag}" regexp=".*SNAPSHOT" replace="master" /> |
| 281 | + <propertyregex property="github-tag" override="true" input="${github-tag}" regexp=".*SNAPSHOT" replace="master" /> |
293 | 282 | </target> |
294 | 283 | </configuration> |
295 | 284 | </execution> |
|
0 commit comments