Skip to content

Commit

Permalink
Force javadocs to be 1.8 dues to missing module-info.java
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez committed Sep 1, 2022
1 parent ecabfea commit cbf8cc1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,17 @@
</execution>
</executions>
</plugin>
<!-- TODO - Workaround for javadoc / module-info generation -->
<!-- The javadoc plugin expects a module-info.java (because it finds the .class generated one), and
because we don't have one, it fails. Forcing to 1.8 removes any module configuration for the
javadoc command
-->
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>1.8</source>
</configuration>
</plugin>
<plugin>
<groupId>io.github.dmlloyd.module-info</groupId>
<artifactId>module-info</artifactId>
Expand Down

0 comments on commit cbf8cc1

Please sign in to comment.