|
106 | 106 | <checkstyle.sevntu.configLocation>https://raw.githubusercontent.com/checkstyle/checkstyle/checkstyle-${maven.sevntu.checkstyle.plugin.checkstyle.version}/config/checkstyle-sevntu-checks.xml</checkstyle.sevntu.configLocation> |
107 | 107 | <checkstyle.sevntu.cache.file>${project.build.outputDirectory}/sevntu.cache</checkstyle.sevntu.cache.file> |
108 | 108 | <maven.jacoco.plugin.version>0.8.10</maven.jacoco.plugin.version> |
109 | | - <java.version>11</java.version> |
| 109 | + <maven.compiler.release>11</maven.compiler.release> |
110 | 110 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
111 | 111 | <!-- we disable ITs by default as it need download of 200MB sonar application jar --> |
112 | 112 | <skipITs>true</skipITs> |
|
330 | 330 | <groupId>org.apache.maven.plugins</groupId> |
331 | 331 | <artifactId>maven-compiler-plugin</artifactId> |
332 | 332 | <version>3.11.0</version> |
333 | | - <configuration> |
334 | | - <source>${java.version}</source> |
335 | | - <target>${java.version}</target> |
336 | | - </configuration> |
337 | 333 | </plugin> |
338 | 334 | <plugin> |
339 | 335 | <groupId>org.codehaus.mojo</groupId> |
|
452 | 448 | <version>3.13.0</version> |
453 | 449 | <configuration> |
454 | 450 | <analysisCache>false</analysisCache> |
455 | | - <targetJdk>${java.version}</targetJdk> |
| 451 | + <targetJdk>${maven.compiler.release}</targetJdk> |
456 | 452 | <minimumTokens>20</minimumTokens> |
457 | 453 | <skipEmptyReport>false</skipEmptyReport> |
458 | 454 | <failOnViolation>true</failOnViolation> |
|
515 | 511 | <artifactId>forbiddenapis</artifactId> |
516 | 512 | <version>3.5.1</version> |
517 | 513 | <configuration> |
518 | | - <targetVersion>${java.version}</targetVersion> |
| 514 | + <targetVersion>${maven.compiler.release}</targetVersion> |
519 | 515 | <failOnUnsupportedJava>false</failOnUnsupportedJava> |
520 | 516 | <bundledSignatures> |
521 | 517 | <bundledSignature>jdk-unsafe</bundledSignature> |
|
804 | 800 | <configuration> |
805 | 801 | <rules> |
806 | 802 | <requireJavaVersion> |
807 | | - <version>${java.version}</version> |
| 803 | + <version>${maven.compiler.release}</version> |
808 | 804 | </requireJavaVersion> |
809 | 805 | <requireMavenVersion> |
810 | 806 | <version>3.0.1</version> |
|
0 commit comments