Skip to content

Commit

Permalink
[UNDERTOW-2291] Shush jdoc and compile warning obfuscating console
Browse files Browse the repository at this point in the history
  • Loading branch information
baranowb committed Mar 27, 2024
1 parent ddb4aee commit 4b8a8c1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@
<version.jmh>1.21</version.jmh>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.javadoc.plugin.quiet>true</maven.javadoc.plugin.quiet>
<maven.compiler.showDeprecation>false</maven.compiler.showDeprecation>
<maven.compiler.showWarnings>false</maven.compiler.showWarnings>
</properties>

<modules>
Expand Down Expand Up @@ -137,6 +140,7 @@
following setting.
-->
<doclint>none</doclint>
<quiet>${maven.javadoc.plugin.quiet}</quiet>
<!-- @implNote is a non-standard tag and must be declared or the build will fail -->
<tags>
<tag>
Expand Down Expand Up @@ -187,6 +191,9 @@
<compilerArgs>
<arg>-J--add-opens=java.base/java.lang=ALL-UNNAMED</arg>
</compilerArgs>
<!-- need to specify directly, for some reason properties are ignored -->
<showDeprecation>${maven.compiler.showDeprecation}</showDeprecation>
<showWarnings>${maven.compilie${maven.compiler.showWarnings}</showWarnings>
</configuration>
</plugin>

Expand Down Expand Up @@ -643,5 +650,18 @@
<modular.jdk.props>-Djava.security.manager=allow</modular.jdk.props>
</properties>
</profile>
<profile>
<id>verbose</id>
<activation>
<property>
<name>findbugs</name>
</property>
</activation>
<properties>
<maven.javadoc.plugin.quiet>false</maven.javadoc.plugin.quiet>
<maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
<maven.compiler.showWarnings>false</maven.compiler.showWarnings>
</properties>
</profile>
</profiles>
</project>

0 comments on commit 4b8a8c1

Please sign in to comment.