Skip to content

Commit c5557c7

Browse files
committed
Suppress CDK deprecation and unchecked warnings in compiler config
1 parent c355fa6 commit c5557c7

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

pom.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,11 @@
220220
<configuration>
221221
<source>${jdk.version}</source>
222222
<target>${jdk.version}</target>
223-
<showDeprecation>true</showDeprecation>
223+
<showDeprecation>false</showDeprecation>
224+
<compilerArgs>
225+
<arg>-Xlint:-deprecation</arg>
226+
<arg>-Xlint:-unchecked</arg>
227+
</compilerArgs>
224228
</configuration>
225229
</plugin>
226230
<plugin>
@@ -268,7 +272,11 @@
268272
<artifactId>maven-compiler-plugin</artifactId>
269273
<version>3.14.1</version>
270274
<configuration>
271-
<showDeprecation>true</showDeprecation>
275+
<showDeprecation>false</showDeprecation>
276+
<compilerArgs>
277+
<arg>-Xlint:-deprecation</arg>
278+
<arg>-Xlint:-unchecked</arg>
279+
</compilerArgs>
272280
</configuration>
273281
</plugin>
274282
<plugin>

0 commit comments

Comments
 (0)