aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pom.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index a805e1b4217..d7a92dcf1de 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>