mirror of
https://github.com/shred/acme4j.git
synced 2025-12-13 11:14:02 +08:00
Fix javadoc output on Java 9+
This commit is contained in:
21
pom.xml
21
pom.xml
@@ -253,4 +253,25 @@
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<!-- Workaround: Java 9's javadoc search is broken if no module is defined -->
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>java-9</id>
|
||||
<activation>
|
||||
<jdk>[9,)</jdk>
|
||||
</activation>
|
||||
<reporting>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<additionalJOption combine.self="override">--no-module-directories</additionalJOption>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user