Configure the maven-javadoc-plugin for the project build, the 'ci' build profile and the 'distribute' build profile.
Add link to Apache Geode (public) Javadoc site. Add dependency source excluces on org.apache.geode:geode-gfsh. Set 'failOnWarnings' to false. Resolves gh-538.
This commit is contained in:
64
pom.xml
64
pom.xml
@@ -54,6 +54,70 @@
|
||||
<spring-shell.version>1.2.0.RELEASE</spring-shell.version>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<dependencySourceExcludes>
|
||||
<dependencySourceExclude>org.apache.geode:geode-gfsh</dependencySourceExclude>
|
||||
</dependencySourceExcludes>
|
||||
<failOnWarnings>false</failOnWarnings>
|
||||
<links>
|
||||
<link>https://geode.apache.org/releases/latest/javadoc/</link>
|
||||
</links>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
|
||||
<profile>
|
||||
<id>ci</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<dependencySourceExcludes>
|
||||
<dependencySourceExclude>org.apache.geode:geode-gfsh</dependencySourceExclude>
|
||||
</dependencySourceExcludes>
|
||||
<failOnWarnings>false</failOnWarnings>
|
||||
<links>
|
||||
<link>https://geode.apache.org/releases/latest/javadoc/</link>
|
||||
</links>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>distribute</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<dependencySourceExcludes>
|
||||
<dependencySourceExclude>org.apache.geode:geode-gfsh</dependencySourceExclude>
|
||||
</dependencySourceExcludes>
|
||||
<failOnWarnings>false</failOnWarnings>
|
||||
<links>
|
||||
<link>https://geode.apache.org/releases/latest/javadoc/</link>
|
||||
</links>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
</profiles>
|
||||
|
||||
<repositories>
|
||||
|
||||
<repository>
|
||||
|
||||
@@ -283,17 +283,11 @@
|
||||
</systemProperties>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<excludePackageNames>org.apache.geode.lang:org.apache.geode.management.internal</excludePackageNames>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
|
||||
<profile>
|
||||
<id>local-java17</id>
|
||||
<build>
|
||||
@@ -343,6 +337,7 @@
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user