Merge pull request #265 from joelsch/require_java_8

Configure maven-enforcer-plugin to require JDK 1.8 or higher.
This commit is contained in:
James Agnew 2015-12-01 18:10:35 -05:00
commit 5c4f78fbea
1 changed files with 22 additions and 0 deletions

22
pom.xml
View File

@ -950,6 +950,28 @@
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-java</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>[1.8,)</version>
<message>
The hapi-fhir Maven build requires JDK version 1.8 or higher.
</message>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>