|
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.RELEASE</version> |
9 | 8 | <relativePath>../spring-boot-parent</relativePath> |
10 | 9 | </parent> |
11 | 10 | <artifactId>spring-boot-docs</artifactId> |
|
199 | 198 | <include name="**/*.pdf" /> |
200 | 199 | </fileset> |
201 | 200 | </copy> |
202 | | - <move file="${basedir}/target/contents/reference/pdf/index.pdf" |
203 | | - tofile="${basedir}/target/contents/reference/pdf/spring-boot-reference.pdf" /> |
| 201 | + <move file="${basedir}/target/contents/reference/pdf/index.pdf" tofile="${basedir}/target/contents/reference/pdf/spring-boot-reference.pdf" /> |
204 | 202 | </postProcess> |
205 | 203 | </configuration> |
206 | 204 | </execution> |
|
219 | 217 | <include name="**/*.epub" /> |
220 | 218 | </fileset> |
221 | 219 | </copy> |
222 | | - <move file="${basedir}/target/contents/reference/epub/index.epub" |
223 | | - tofile="${basedir}/target/contents/reference/epub/spring-boot-reference.epub" /> |
| 220 | + <move file="${basedir}/target/contents/reference/epub/index.epub" tofile="${basedir}/target/contents/reference/epub/spring-boot-reference.epub" /> |
224 | 221 | </postProcess> |
225 | 222 | </configuration> |
226 | 223 | </execution> |
|
261 | 258 | </goals> |
262 | 259 | <configuration> |
263 | 260 | <target> |
264 | | - <zip |
265 | | - destfile="${project.build.directory}/${project.artifactId}-${project.version}.zip"> |
266 | | - <zipfileset |
267 | | - src="${project.build.directory}/${project.artifactId}-${project.version}-javadoc.jar" |
268 | | - prefix="api" /> |
| 261 | + <zip destfile="${project.build.directory}/${project.artifactId}-${project.version}.zip"> |
| 262 | + <zipfileset src="${project.build.directory}/${project.artifactId}-${project.version}-javadoc.jar" prefix="api" /> |
269 | 263 | <fileset dir="${project.build.directory}/contents" /> |
270 | 264 | </zip> |
271 | 265 | </target> |
|
283 | 277 | <taskdef resource="net/sf/antcontrib/antcontrib.properties" /> |
284 | 278 | <taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" /> |
285 | 279 | <var name="version-type" value="${project.version}" /> |
286 | | - <propertyregex property="version-type" override="true" |
287 | | - input="${version-type}" regexp=".*\.(.*)" replace="\1" /> |
288 | | - <propertyregex property="version-type" override="true" |
289 | | - input="${version-type}" regexp="(M)\d+" replace="MILESTONE" /> |
290 | | - <propertyregex property="version-type" override="true" |
291 | | - input="${version-type}" regexp="(RC)\d+" replace="MILESTONE" /> |
292 | | - <propertyregex property="version-type" override="true" |
293 | | - input="${version-type}" regexp="BUILD-(.*)" replace="SNAPSHOT" /> |
| 280 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp=".*\.(.*)" replace="\1" /> |
| 281 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp="(M)\d+" replace="MILESTONE" /> |
| 282 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp="(RC)\d+" replace="MILESTONE" /> |
| 283 | + <propertyregex property="version-type" override="true" input="${version-type}" regexp="BUILD-(.*)" replace="SNAPSHOT" /> |
294 | 284 | <stringutil string="${version-type}" property="spring-boot-repo"> |
295 | 285 | <lowercase /> |
296 | 286 | </stringutil> |
297 | 287 | <var name="github-tag" value="v${project.version}" /> |
298 | | - <propertyregex property="github-tag" override="true" |
299 | | - input="${github-tag}" regexp=".*SNAPSHOT" replace="master" /> |
| 288 | + <propertyregex property="github-tag" override="true" input="${github-tag}" regexp=".*SNAPSHOT" replace="master" /> |
300 | 289 | </target> |
301 | 290 | </configuration> |
302 | 291 | </execution> |
|
0 commit comments