diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2014-03-26 23:33:03 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2014-03-26 23:33:03 +0100 |
commit | fd1fc5ea0d851015dae0f3fe3baf7cbe555b998c (patch) | |
tree | f5ce1a37025ca103c8689ceda6025273cb1f61d2 /pom.xml | |
parent | c677827e4075a18b465477ac4b4c6e300f09ab60 (diff) | |
download | sonarqube-fd1fc5ea0d851015dae0f3fe3baf7cbe555b998c.tar.gz sonarqube-fd1fc5ea0d851015dae0f3fe3baf7cbe555b998c.zip |
Force using JDK6 during release
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -1265,6 +1265,27 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <executions> + <execution> + <id>enforce-java6</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireJavaVersion> + <message>To release this project JDK ${jdk.min.version} is required. + </message> + <version>[1.6,1.7)</version> + </requireJavaVersion> + </rules> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build> </profile> |