diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-12-16 15:18:48 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-12-16 15:18:48 +0100 |
commit | 6b0786b94cdb2c9206b746728cbf0d3f8c9c6fff (patch) | |
tree | 2feb50fb438fa80d197afd606ce910f8b90a74a0 /pom.xml | |
parent | c6a9ef0c9bde8583974dd2823b4f66dc8e9f7956 (diff) | |
download | sonarqube-6b0786b94cdb2c9206b746728cbf0d3f8c9c6fff.tar.gz sonarqube-6b0786b94cdb2c9206b746728cbf0d3f8c9c6fff.zip |
SONAR-5706 move to Java 7 codebase
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -77,7 +77,7 @@ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.min.version>3.0.5</maven.min.version> <maven.api.version>3.0.5</maven.api.version> - <jdk.min.version>1.6</jdk.min.version> + <jdk.min.version>1.7</jdk.min.version> <timestamp>${maven.build.timestamp}</timestamp> <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ssZ</maven.build.timestamp.format> @@ -85,11 +85,6 @@ <skipServerTests>false</skipServerTests> <skipWebTests>false</skipWebTests> - <!-- To configure animal-sniffer to check API compat --> - <animal-sniffer.signature.groupId>org.codehaus.mojo.signature</animal-sniffer.signature.groupId> - <animal-sniffer.signature.artifactId>java16</animal-sniffer.signature.artifactId> - <animal-sniffer.signature.version>1.1</animal-sniffer.signature.version> - <version.animal-sniffer.plugin>1.11</version.animal-sniffer.plugin> <version.maven-license.plugin>1.9.0</version.maven-license.plugin> <skipSanityChecks>false</skipSanityChecks> @@ -112,12 +107,12 @@ <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> - <version>${version.animal-sniffer.plugin}</version> + <version>1.13</version> <configuration> <signature> - <groupId>${animal-sniffer.signature.groupId}</groupId> - <artifactId>${animal-sniffer.signature.artifactId}</artifactId> - <version>${animal-sniffer.signature.version}</version> + <groupId>org.codehaus.mojo.signature</groupId> + <artifactId>java17</artifactId> + <version>1.0</version> </signature> <skip>${skipSanityChecks}</skip> </configuration> @@ -1256,7 +1251,7 @@ <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution> - <id>enforce-java6</id> + <id>enforce-java7</id> <goals> <goal>enforce</goal> </goals> @@ -1265,7 +1260,7 @@ <requireJavaVersion> <message>To release this project JDK ${jdk.min.version} is required. </message> - <version>[1.6,1.7)</version> + <version>[1.7)</version> </requireJavaVersion> </rules> </configuration> |