|
|
@ -16,6 +16,7 @@
|
|
|
|
<gradle.executable>./gradlew</gradle.executable>
|
|
|
|
<gradle.executable>./gradlew</gradle.executable>
|
|
|
|
<gradle.task>build</gradle.task>
|
|
|
|
<gradle.task>build</gradle.task>
|
|
|
|
<skip.gradle.build>false</skip.gradle.build>
|
|
|
|
<skip.gradle.build>false</skip.gradle.build>
|
|
|
|
|
|
|
|
<refdocs.build.directory>${project.build.directory}/refdocs/</refdocs.build.directory>
|
|
|
|
</properties>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
@ -39,6 +40,24 @@
|
|
|
|
</dependencies>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
|
|
<groupId>com.googlecode.maven-download-plugin</groupId>
|
|
|
|
|
|
|
|
<artifactId>download-maven-plugin</artifactId>
|
|
|
|
|
|
|
|
<executions>
|
|
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
|
|
<id>unpack-doc-resources</id>
|
|
|
|
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
|
|
<goal>wget</goal>
|
|
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
|
|
<url>https://repo.spring.io/release/io/spring/docresources/spring-doc-resources/${spring-doc-resources.version}/spring-doc-resources-${spring-doc-resources.version}.zip</url>
|
|
|
|
|
|
|
|
<unpack>true</unpack>
|
|
|
|
|
|
|
|
<outputDirectory>${refdocs.build.directory}</outputDirectory>
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
@ -69,6 +88,28 @@
|
|
|
|
</execution>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
|
|
|
|
<executions>
|
|
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
|
|
<id>copy-asciidoc-resources</id>
|
|
|
|
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
|
|
<outputDirectory>${refdocs.build.directory}</outputDirectory>
|
|
|
|
|
|
|
|
<resources>
|
|
|
|
|
|
|
|
<resource>
|
|
|
|
|
|
|
|
<directory>src/main/asciidoc</directory>
|
|
|
|
|
|
|
|
<filtering>false</filtering>
|
|
|
|
|
|
|
|
</resource>
|
|
|
|
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
@ -236,10 +277,10 @@
|
|
|
|
<zipfileset
|
|
|
|
<zipfileset
|
|
|
|
src="build/libs/${project.artifactId}-${project.version}-javadoc.jar"
|
|
|
|
src="build/libs/${project.artifactId}-${project.version}-javadoc.jar"
|
|
|
|
prefix="api" />
|
|
|
|
prefix="api" />
|
|
|
|
<zipfileset dir="${project.build.directory}/generated-docs"
|
|
|
|
<zipfileset dir="${project.build.directory}/generated-docs/reference/html"
|
|
|
|
includes="index.html" prefix="reference/html" />
|
|
|
|
prefix="reference/html" />
|
|
|
|
<mappedresources>
|
|
|
|
<mappedresources>
|
|
|
|
<fileset dir="${project.build.directory}/generated-docs"
|
|
|
|
<fileset dir="${project.build.directory}/generated-docs/reference/pdf"
|
|
|
|
includes="index.pdf" />
|
|
|
|
includes="index.pdf" />
|
|
|
|
<globmapper from="index.pdf"
|
|
|
|
<globmapper from="index.pdf"
|
|
|
|
to="reference/pdf/spring-boot-gradle-plugin-reference.pdf" />
|
|
|
|
to="reference/pdf/spring-boot-gradle-plugin-reference.pdf" />
|
|
|
@ -261,7 +302,19 @@
|
|
|
|
<goal>process-asciidoc</goal>
|
|
|
|
<goal>process-asciidoc</goal>
|
|
|
|
</goals>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
<backend>html</backend>
|
|
|
|
<backend>html5</backend>
|
|
|
|
|
|
|
|
<outputDirectory>${project.build.directory}/generated-docs/reference/html</outputDirectory>
|
|
|
|
|
|
|
|
<sourceHighlighter>highlight.js</sourceHighlighter>
|
|
|
|
|
|
|
|
<doctype>book</doctype>
|
|
|
|
|
|
|
|
<attributes>
|
|
|
|
|
|
|
|
<highlightjsdir>js/highlight</highlightjsdir>
|
|
|
|
|
|
|
|
<highlightjs-theme>atom-one-dark-reasonable</highlightjs-theme>
|
|
|
|
|
|
|
|
<linkcss>true</linkcss>
|
|
|
|
|
|
|
|
<imagesdir>./images</imagesdir>
|
|
|
|
|
|
|
|
<icons>font</icons>
|
|
|
|
|
|
|
|
<stylesdir>css/</stylesdir>
|
|
|
|
|
|
|
|
<stylesheet>style.css</stylesheet>
|
|
|
|
|
|
|
|
</attributes>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<execution>
|
|
|
@ -272,10 +325,12 @@
|
|
|
|
</goals>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
<backend>pdf</backend>
|
|
|
|
<backend>pdf</backend>
|
|
|
|
|
|
|
|
<outputDirectory>${project.build.directory}/generated-docs/reference/pdf</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
|
|
|
|
<sourceDirectory>${refdocs.build.directory}</sourceDirectory>
|
|
|
|
<sourceDocumentName>index.adoc</sourceDocumentName>
|
|
|
|
<sourceDocumentName>index.adoc</sourceDocumentName>
|
|
|
|
<attributes>
|
|
|
|
<attributes>
|
|
|
|
<github-tag>${github-tag}</github-tag>
|
|
|
|
<github-tag>${github-tag}</github-tag>
|
|
|
|