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>
|
<spring-shell.version>1.2.0.RELEASE</spring-shell.version>
|
||||||
</properties>
|
</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>
|
<repositories>
|
||||||
|
|
||||||
<repository>
|
<repository>
|
||||||
|
|||||||
@@ -283,17 +283,11 @@
|
|||||||
</systemProperties>
|
</systemProperties>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</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>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
|
||||||
<profile>
|
<profile>
|
||||||
<id>local-java17</id>
|
<id>local-java17</id>
|
||||||
<build>
|
<build>
|
||||||
@@ -343,6 +337,7 @@
|
|||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
Reference in New Issue
Block a user