Attach javadoc to parent project

This commit is contained in:
Dave Syer
2017-07-18 13:41:16 +01:00
parent 15f0a0bcc9
commit 3c412e04f5

27
pom.xml
View File

@@ -65,20 +65,9 @@
<build> <build>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
<dependencies>
<dependency>
<groupId>org.springframework.boot.experimental</groupId>
<artifactId>spring-boot-thin-layout</artifactId>
<version>${wrapper.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin> <plugin>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<inherited>false</inherited>
<configuration> <configuration>
<aggregate>true</aggregate> <aggregate>true</aggregate>
<excludePackageNames>com.example,functions,example</excludePackageNames> <excludePackageNames>com.example,functions,example</excludePackageNames>
@@ -89,10 +78,22 @@
<goals> <goals>
<goal>aggregate-jar</goal> <goal>aggregate-jar</goal>
</goals> </goals>
<phase>install</phase> <phase>package</phase>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
<dependencies>
<dependency>
<groupId>org.springframework.boot.experimental</groupId>
<artifactId>spring-boot-thin-layout</artifactId>
<version>${wrapper.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
</build> </build>