|
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" 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" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 4 | <modelVersion>4.0.0</modelVersion>
|
4 | 5 | <parent>
|
5 | 6 | <groupId>org.springframework.boot</groupId>
|
6 | 7 | <artifactId>spring-boot-parent</artifactId>
|
7 |
| - <version>1.0.1.BUILD-SNAPSHOT</version> |
| 8 | + <version>1.0.0.BUILD-SNAPSHOT</version> |
8 | 9 | <relativePath>../spring-boot-parent</relativePath>
|
9 | 10 | </parent>
|
10 | 11 | <artifactId>spring-boot-docs</artifactId>
|
|
191 | 192 | <include name="**/*.pdf" />
|
192 | 193 | </fileset>
|
193 | 194 | </copy>
|
194 |
| - <move file="${basedir}/target/contents/reference/pdf/index.pdf" tofile="${basedir}/target/contents/reference/pdf/spring-boot-reference.pdf" /> |
| 195 | + <move file="${basedir}/target/contents/reference/pdf/index.pdf" |
| 196 | + tofile="${basedir}/target/contents/reference/pdf/spring-boot-reference.pdf" /> |
195 | 197 | </postProcess>
|
196 | 198 | </configuration>
|
197 | 199 | </execution>
|
|
210 | 212 | <include name="**/*.epub" />
|
211 | 213 | </fileset>
|
212 | 214 | </copy>
|
213 |
| - <move file="${basedir}/target/contents/reference/epub/index.epub" tofile="${basedir}/target/contents/reference/epub/spring-boot-reference.epub" /> |
| 215 | + <move file="${basedir}/target/contents/reference/epub/index.epub" |
| 216 | + tofile="${basedir}/target/contents/reference/epub/spring-boot-reference.epub" /> |
214 | 217 | </postProcess>
|
215 | 218 | </configuration>
|
216 | 219 | </execution>
|
|
251 | 254 | </goals>
|
252 | 255 | <configuration>
|
253 | 256 | <target>
|
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" /> |
| 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" /> |
256 | 262 | <fileset dir="${project.build.directory}/contents" />
|
257 | 263 | </zip>
|
258 | 264 | </target>
|
|
270 | 276 | <taskdef resource="net/sf/antcontrib/antcontrib.properties" />
|
271 | 277 | <taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" />
|
272 | 278 | <var name="version-type" value="${project.version}" />
|
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" /> |
| 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" /> |
277 | 287 | <stringutil string="${version-type}" property="spring-boot-repo">
|
278 | 288 | <lowercase />
|
279 | 289 | </stringutil>
|
280 | 290 | <var name="github-tag" value="v${project.version}" />
|
281 |
| - <propertyregex property="github-tag" override="true" input="${github-tag}" regexp=".*SNAPSHOT" replace="master" /> |
| 291 | + <propertyregex property="github-tag" override="true" |
| 292 | + input="${github-tag}" regexp=".*SNAPSHOT" replace="master" /> |
282 | 293 | </target>
|
283 | 294 | </configuration>
|
284 | 295 | </execution>
|
|
0 commit comments