Skip to content

Commit fa0876f

Browse files
sonar vulnerabilities fixes
1 parent 3d89a62 commit fa0876f

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

pom.xml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<json-simple-version>1.1.1</json-simple-version>
3838
<maven-site-plugin.version>3.3</maven-site-plugin.version>
3939
<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
40-
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
40+
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
4141
<nexus-staging-maven-plugin.version>1.6.7</nexus-staging-maven-plugin.version>
4242
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
4343
<json-version>20210307</json-version>
@@ -230,6 +230,11 @@
230230
<version>3.3</version>
231231
</plugin>
232232

233+
<plugin>
234+
<groupId>org.apache.maven.plugins</groupId>
235+
<artifactId>maven-enforcer-plugin</artifactId>
236+
<version>3.0.0-M2</version>
237+
</plugin>
233238
<!--
234239
Signs all of a project's attached artifacts with GnuPG.
235240
You need to have previously configured the default key.
@@ -258,10 +263,10 @@
258263
<plugin>
259264
<groupId>org.apache.maven.plugins</groupId>
260265
<artifactId>maven-compiler-plugin</artifactId>
261-
<version>3.8.0</version>
266+
<version>${maven-compiler-plugin.version}</version>
262267
<configuration>
263-
<source>${java.version}</source>
264-
<target>${java.version}</target>
268+
<source>1.8</source>
269+
<target>1.8</target>
265270
<compilerArgument>-Xlint:all</compilerArgument>
266271
<showWarnings>true</showWarnings>
267272
<showDeprecation>true</showDeprecation>

0 commit comments

Comments
 (0)