Skip to content

Commit 4bf409e

Browse files
committed
Pick up Javadoc site configuration from parent POM and make sure it
works Fixes: [WARNING] Javadoc Warnings [WARNING] warning: The code being documented uses packages in the unnamed module, but the packages defined in https://docs.oracle.com/en/java/javase/21/docs/api/ are in named modules. [WARNING] 1 warning
1 parent 05cec2b commit 4bf409e

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

pom.xml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
</dependency>
210210
</dependencies>
211211
<build>
212-
<defaultGoal>clean verify apache-rat:check checkstyle:check spotbugs:check javadoc:javadoc</defaultGoal>
212+
<defaultGoal>clean verify apache-rat:check checkstyle:check spotbugs:check javadoc:javadoc site</defaultGoal>
213213
<resources>
214214
<resource>
215215
<directory>src/main/resources</directory>
@@ -440,28 +440,6 @@
440440
<reportSet/>
441441
</reportSets>
442442
</plugin>
443-
<plugin>
444-
<groupId>org.apache.maven.plugins</groupId>
445-
<artifactId>maven-javadoc-plugin</artifactId>
446-
<version>${commons.javadoc.version}</version>
447-
<configuration>
448-
<!-- keep only errors and warnings -->
449-
<show>private</show>
450-
<quiet>true</quiet>
451-
<encoding>${commons.encoding}</encoding>
452-
<notimestamp>true</notimestamp>
453-
<links>
454-
<link>${commons.javadoc.java.link}</link>
455-
<link>${commons.javadoc.javaee.link}</link>
456-
</links>
457-
<archive>
458-
<manifest>
459-
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
460-
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
461-
</manifest>
462-
</archive>
463-
</configuration>
464-
</plugin>
465443
<plugin>
466444
<artifactId>maven-checkstyle-plugin</artifactId>
467445
<configuration>

0 commit comments

Comments
 (0)