Add Javadoc aggregate project

Add a Maven project to aggregate appropriate Javadocs into a
consolidated set.
pull/50/head
Phillip Webb 11 years ago
parent a33425920b
commit 2a3985eab7

@ -8,7 +8,7 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>
<module>../</module> <module>../</module>
<module>../spring-boot-dependencies</module> <module>../spring-boot-dependencies</module>
<module>../spring-boot-parent</module> <module>../spring-boot-parent</module>
<module>../spring-boot-tools</module> <module>../spring-boot-tools</module>
<module>../spring-boot</module> <module>../spring-boot</module>
@ -18,6 +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>
</modules> </modules>
<profiles> <profiles>
<profile> <profile>

@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-parent</artifactId>
<version>0.5.0.BUILD-SNAPSHOT</version>
<relativePath>../spring-boot-parent</relativePath>
</parent>
<artifactId>spring-boot-javadoc</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>spring-boot</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>spring-boot-actuator</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>spring-boot-loader</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>spring-boot-loader-tools</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<profiles>
<profile>
<id>full</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>aggregate-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<includeDependencySources>true</includeDependencySources>
<dependencySourceIncludes>
<dependencySourceInclude>${project.groupId}:*</dependencySourceInclude>
</dependencySourceIncludes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

@ -332,6 +332,7 @@
<goals> <goals>
<goal>jar</goal> <goal>jar</goal>
</goals> </goals>
<inherited>true</inherited>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>

Loading…
Cancel
Save