Commit 8017c04e authored by Phillip Webb's avatar Phillip Webb

Rename spring-boot-javadoc to spring-boot-docs

Renamed javadoc to a general purpose docs project that can be
automatically deployed.
parent 36cdc41c
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment