Skip to content

Commit e0b4e10

Browse files
toddbaertbeeme1mr
andauthored
chore: allow override of javadoc warnings (#645)
Signed-off-by: Todd Baert <[email protected]> Co-authored-by: Michael Beemer <[email protected]>
1 parent 193f572 commit e0b4e10

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5252
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
5353
<module-name>${groupId}.${artifactId}</module-name>
54+
<javadoc.failOnWarnings>true</javadoc.failOnWarnings>
5455
</properties>
5556

5657
<dependencies>
@@ -342,7 +343,7 @@
342343
<artifactId>maven-javadoc-plugin</artifactId>
343344
<version>3.6.3</version>
344345
<configuration>
345-
<failOnWarnings>true</failOnWarnings>
346+
<failOnWarnings>${javadoc.failOnWarnings}</failOnWarnings>
346347
<sourceFileExcludes>
347348
<sourceFileExclude>**/GoFeatureFlagProviderOptions.java</sourceFileExclude>
348349
</sourceFileExcludes>

providers/flipt/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
<description>Flipt provider for Java</description>
1717
<url>https://www.flipt.io/</url>
1818

19+
<properties>
20+
<javadoc.failOnWarnings>false</javadoc.failOnWarnings>
21+
</properties>
22+
1923
<dependencies>
2024
<dependency>
2125
<groupId>io.flipt</groupId>

0 commit comments

Comments
 (0)