Skip to content

Commit

Permalink
chore: allow override of javadoc warnings (#645)
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
  • Loading branch information
toddbaert and beeme1mr committed Jan 25, 2024
1 parent 193f572 commit e0b4e10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<module-name>${groupId}.${artifactId}</module-name>
<javadoc.failOnWarnings>true</javadoc.failOnWarnings>
</properties>

<dependencies>
Expand Down Expand Up @@ -342,7 +343,7 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<configuration>
<failOnWarnings>true</failOnWarnings>
<failOnWarnings>${javadoc.failOnWarnings}</failOnWarnings>
<sourceFileExcludes>
<sourceFileExclude>**/GoFeatureFlagProviderOptions.java</sourceFileExclude>
</sourceFileExcludes>
Expand Down
4 changes: 4 additions & 0 deletions providers/flipt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
<description>Flipt provider for Java</description>
<url>https://www.flipt.io/</url>

<properties>
<javadoc.failOnWarnings>false</javadoc.failOnWarnings>
</properties>

<dependencies>
<dependency>
<groupId>io.flipt</groupId>
Expand Down

0 comments on commit e0b4e10

Please sign in to comment.