Rename spring-boot-javadoc to spring-boot-docs
Renamed javadoc to a general purpose docs project that can be automatically deployed.
This commit is contained in:
parent
36cdc41cb0
commit
8017c04e30
|
|
@ -8,8 +8,7 @@
|
||||||
<version>0.5.0.BUILD-SNAPSHOT</version>
|
<version>0.5.0.BUILD-SNAPSHOT</version>
|
||||||
<relativePath>../spring-boot-parent</relativePath>
|
<relativePath>../spring-boot-parent</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>spring-boot-javadoc</artifactId>
|
<artifactId>spring-boot-docs</artifactId>
|
||||||
<packaging>jar</packaging>
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
|
|
@ -61,19 +60,43 @@
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>package-and-attach-docs-zip</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<target>
|
||||||
|
<zip
|
||||||
|
destfile="${project.build.directory}/${project.name}-${project.version}.zip">
|
||||||
|
<zipfileset
|
||||||
|
src="${project.build.directory}/${project.name}-${project.version}-javadoc.jar"
|
||||||
|
includes="**/*.html" prefix="api" />
|
||||||
|
</zip>
|
||||||
|
|
||||||
|
</target>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>build-helper-maven-plugin</artifactId>
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-javadoc-zip</id>
|
<id>attach-zip</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>attach-artifact</goal>
|
<goal>attach-artifact</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<artifacts>
|
<artifacts>
|
||||||
<artifact>
|
<artifact>
|
||||||
<file>${project.build.directory}/${project.name}-${project.version}-javadoc.jar</file>
|
<file>${project.build.directory}/${project.name}-${project.version}.zip</file>
|
||||||
<type>zip;zip.type=docs;zip.deployed=false</type>
|
<type>zip;zip.type=docs;zip.deployed=false</type>
|
||||||
</artifact>
|
</artifact>
|
||||||
</artifacts>
|
</artifacts>
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
<module>../spring-boot-cli</module>
|
<module>../spring-boot-cli</module>
|
||||||
<module>../spring-boot-samples</module>
|
<module>../spring-boot-samples</module>
|
||||||
<module>../spring-boot-integration-tests</module>
|
<module>../spring-boot-integration-tests</module>
|
||||||
<module>../spring-boot-javadoc</module>
|
<module>../spring-boot-docs</module>
|
||||||
</modules>
|
</modules>
|
||||||
<profiles>
|
<profiles>
|
||||||
<profile>
|
<profile>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue