Skip to content

Commit

Permalink
chore: Remove Java 11 profile (#229)
Browse files Browse the repository at this point in the history
Java 11 is set as minimum requirement for build,
so specific profile is no more needed.
Also fixed sonar settings.
  • Loading branch information
mcollovati authored May 9, 2022
1 parent abe7fd1 commit e33d3a3
Showing 1 changed file with 20 additions and 43 deletions.
63 changes: 20 additions & 43 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<jsinterop.version>1.0.1</jsinterop.version>
<sonar.java.source>8</sonar.java.source>
<sonar.java.source>11</sonar.java.source>
<sonar.analysis.mode>preview</sonar.analysis.mode>
<sonar.issuesReport.console.enable>true
</sonar.issuesReport.console.enable>
Expand Down Expand Up @@ -251,6 +251,13 @@
<parallel>all</parallel>
<threadCount>2</threadCount>
</configuration>
<dependencies>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.6</version>
</dependency>
</dependencies>
</plugin>
<!--This plugin's configuration is used to store Eclipse
m2e settings only. It has no influence on the Maven build itself. -->
Expand Down Expand Up @@ -328,49 +335,19 @@
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>javax.activation-api</artifactId>
<version>1.2.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>

</pluginManagement>
</build>

<profiles>
<profile>
<id>java11</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<properties>
<maven.compiler.release>8</maven.compiler.release>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<dependencies>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.6</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>javax.activation-api</artifactId>
<version>1.2.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
</project>

0 comments on commit e33d3a3

Please sign in to comment.