Skip to content

Commit 05376b0

Browse files
committed
add missing javadoc plugin
Signed-off-by: Min Jin <minkimzz@amazon.com>
1 parent e33fddc commit 05376b0

File tree

5 files changed

+41
-1
lines changed

5 files changed

+41
-1
lines changed

client-java-contrib/admissionreview/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@
4040
<skip>true</skip>
4141
</configuration>
4242
</plugin>
43+
<plugin>
44+
<groupId>org.apache.maven.plugins</groupId>
45+
<artifactId>maven-javadoc-plugin</artifactId>
46+
</plugin>
4347
</plugins>
4448
</build>
4549
</project>

client-java-contrib/cert-manager/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
<skip>true</skip>
2929
</configuration>
3030
</plugin>
31+
<plugin>
32+
<groupId>org.apache.maven.plugins</groupId>
33+
<artifactId>maven-javadoc-plugin</artifactId>
34+
</plugin>
3135
</plugins>
3236
</build>
3337
</project>

client-java-contrib/prometheus-operator/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
</parent>
99
<modelVersion>4.0.0</modelVersion>
1010

11+
<name>prometheus-operator-models</name>
1112
<artifactId>client-java-prometheus-operator-models</artifactId>
1213
<version>25.0.0-SNAPSHOT</version>
1314
<dependencies>
@@ -27,6 +28,10 @@
2728
<skip>true</skip>
2829
</configuration>
2930
</plugin>
31+
<plugin>
32+
<groupId>org.apache.maven.plugins</groupId>
33+
<artifactId>maven-javadoc-plugin</artifactId>
34+
</plugin>
3035
</plugins>
3136
</build>
3237
</project>

examples/examples-release-latest/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,13 @@
6969

7070
</dependencies>
7171

72+
<build>
73+
<plugins>
74+
<plugin>
75+
<groupId>org.apache.maven.plugins</groupId>
76+
<artifactId>maven-javadoc-plugin</artifactId>
77+
</plugin>
78+
</plugins>
79+
</build>
80+
7281
</project>

pom.xml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
<maven-plugin-version>1.0.0</maven-plugin-version>
4343
<exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
4444
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
45+
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
4546

4647
<javax.annotation.version>1.3.2</javax.annotation.version>
4748
<jakarta.annotation.version>3.0.0</jakarta.annotation.version>
@@ -360,8 +361,25 @@
360361
<groupId>org.apache.maven.plugins</groupId>
361362
<artifactId>maven-javadoc-plugin</artifactId>
362363
<version>3.11.3</version>
364+
<executions>
365+
<execution>
366+
<id>attach-javadocs</id>
367+
<goals>
368+
<goal>jar</goal>
369+
</goals>
370+
</execution>
371+
</executions>
363372
<configuration>
364-
<doclint>none</doclint>
373+
<!-- TODO: workaround until openapi stops generating a dependency on
374+
the un-exported module: com.google.gson.internal.bind.util -->
375+
<legacyMode>true</legacyMode>
376+
<tags>
377+
<tag>
378+
<name>http.response.details</name>
379+
<placement>a</placement>
380+
<head>Http Response Details:</head>
381+
</tag>
382+
</tags>
365383
</configuration>
366384
</plugin>
367385
<plugin>

0 commit comments

Comments
 (0)