Skip to content

Commit 7c51320

Browse files
jxblummp911de
authored andcommitted
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.
1 parent 30c2f67 commit 7c51320

File tree

2 files changed

+66
-7
lines changed

2 files changed

+66
-7
lines changed

Diff for: pom.xml

+64
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,70 @@
5454
<spring-shell.version>1.2.0.RELEASE</spring-shell.version>
5555
</properties>
5656

57+
<build>
58+
<plugins>
59+
<plugin>
60+
<groupId>org.apache.maven.plugins</groupId>
61+
<artifactId>maven-javadoc-plugin</artifactId>
62+
<configuration>
63+
<dependencySourceExcludes>
64+
<dependencySourceExclude>org.apache.geode:geode-gfsh</dependencySourceExclude>
65+
</dependencySourceExcludes>
66+
<failOnWarnings>false</failOnWarnings>
67+
<links>
68+
<link>https://geode.apache.org/releases/latest/javadoc/</link>
69+
</links>
70+
</configuration>
71+
</plugin>
72+
</plugins>
73+
</build>
74+
75+
<profiles>
76+
77+
<profile>
78+
<id>ci</id>
79+
<build>
80+
<plugins>
81+
<plugin>
82+
<groupId>org.apache.maven.plugins</groupId>
83+
<artifactId>maven-javadoc-plugin</artifactId>
84+
<configuration>
85+
<dependencySourceExcludes>
86+
<dependencySourceExclude>org.apache.geode:geode-gfsh</dependencySourceExclude>
87+
</dependencySourceExcludes>
88+
<failOnWarnings>false</failOnWarnings>
89+
<links>
90+
<link>https://geode.apache.org/releases/latest/javadoc/</link>
91+
</links>
92+
</configuration>
93+
</plugin>
94+
</plugins>
95+
</build>
96+
</profile>
97+
98+
<profile>
99+
<id>distribute</id>
100+
<build>
101+
<plugins>
102+
<plugin>
103+
<groupId>org.apache.maven.plugins</groupId>
104+
<artifactId>maven-javadoc-plugin</artifactId>
105+
<configuration>
106+
<dependencySourceExcludes>
107+
<dependencySourceExclude>org.apache.geode:geode-gfsh</dependencySourceExclude>
108+
</dependencySourceExcludes>
109+
<failOnWarnings>false</failOnWarnings>
110+
<links>
111+
<link>https://geode.apache.org/releases/latest/javadoc/</link>
112+
</links>
113+
</configuration>
114+
</plugin>
115+
</plugins>
116+
</build>
117+
</profile>
118+
119+
</profiles>
120+
57121
<repositories>
58122

59123
<repository>

Diff for: spring-data-geode/pom.xml

+2-7
Original file line numberDiff line numberDiff line change
@@ -283,17 +283,11 @@
283283
</systemProperties>
284284
</configuration>
285285
</plugin>
286-
<plugin>
287-
<groupId>org.apache.maven.plugins</groupId>
288-
<artifactId>maven-javadoc-plugin</artifactId>
289-
<configuration>
290-
<excludePackageNames>org.apache.geode.lang:org.apache.geode.management.internal</excludePackageNames>
291-
</configuration>
292-
</plugin>
293286
</plugins>
294287
</build>
295288

296289
<profiles>
290+
297291
<profile>
298292
<id>local-java17</id>
299293
<build>
@@ -343,6 +337,7 @@
343337
</plugins>
344338
</build>
345339
</profile>
340+
346341
</profiles>
347342

348343
</project>

0 commit comments

Comments
 (0)