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>
|
||||
<relativePath>../spring-boot-parent</relativePath>
|
||||
</parent>
|
||||
<artifactId>spring-boot-javadoc</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>spring-boot-docs</artifactId>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
|
|
@ -61,19 +60,43 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</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>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadoc-zip</id>
|
||||
<id>attach-zip</id>
|
||||
<goals>
|
||||
<goal>attach-artifact</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifacts>
|
||||
<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>
|
||||
</artifact>
|
||||
</artifacts>
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
<module>../spring-boot-cli</module>
|
||||
<module>../spring-boot-samples</module>
|
||||
<module>../spring-boot-integration-tests</module>
|
||||
<module>../spring-boot-javadoc</module>
|
||||
<module>../spring-boot-docs</module>
|
||||
</modules>
|
||||
<profiles>
|
||||
<profile>
|
||||
|
|
|
|||
Loading…
Reference in New Issue