Configure the maven javadoc plugin to work with java 9+
Yeah, the wonderful of modules...
</plugin>
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <activation>
+ <jdk>[9,)</jdk>
+ </activation>
+ <id>java-9+</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <!-- wonderful reliability of javadoc used with modules breaking on non exposed packages -->
+ <source>8</source>
+ <release>8</release>
+ <detectJavaApiLink>false</detectJavaApiLink>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
\ No newline at end of file
