Skip to content

Commit

Permalink
SCANMAVEN-210: Move to Java 11 (#220)
Browse files Browse the repository at this point in the history
* Move to Java 11
* Update Maven plugins
  • Loading branch information
ADarko22 authored May 16, 2024
1 parent d2c79c1 commit dd5762e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@
</distributionManagement>

<properties>
<mojo.java.target>1.7</mojo.java.target>
<mavenVersion>3.9.4</mavenVersion>
<maven.compiler.release>8</maven.compiler.release>
<mojo.java.target>11</mojo.java.target>
<maven.compiler.release>11</maven.compiler.release>
<sonar.exclusions>src/main/java/org/apache/maven/shared/dependency/tree/DependencyTreeResolutionListener.java,target/generated-sources/**/*</sonar.exclusions>
<gitRepositoryName>sonar-scanner-maven</gitRepositoryName>
</properties>
Expand Down Expand Up @@ -200,7 +200,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>8</source>
<source>11</source>
</configuration>
</plugin>
</plugins>
Expand Down Expand Up @@ -232,7 +232,7 @@
<plugin>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-component-metadata</artifactId>
<version>1.7</version>
<version>2.2.0</version>
<executions>
<execution>
<goals>
Expand All @@ -244,15 +244,15 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<version>3.0.1</version>
<configuration>
<goals>deploy site site:stage</goals>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.4</version>
<version>4.0.0-M14</version>
<executions>
<execution>
<id>stage-for-scm-publish</id>
Expand All @@ -269,7 +269,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>1.1</version>
<version>3.2.1</version>
<configuration>
<scmBranch>gh-pages</scmBranch>
</configuration>
Expand Down Expand Up @@ -328,7 +328,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>3.6.0</version>
<version>3.6.1</version>
<configuration>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<settingsFile>src/it/settings.xml</settingsFile>
Expand Down Expand Up @@ -365,7 +365,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.4</version>
<version>3.13.0</version>
<configuration>
<requirements>
<jdk>${mojo.java.target}</jdk>
Expand All @@ -375,7 +375,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.8.1</version>
<version>3.5.0</version>
<reportSets>
<reportSet>
<reports>
Expand Down

0 comments on commit dd5762e

Please sign in to comment.