enforce JDK 7
Project: http://git-wip-us.apache.org/repos/asf/vxquery/repo Commit: http://git-wip-us.apache.org/repos/asf/vxquery/commit/6ec07026 Tree: http://git-wip-us.apache.org/repos/asf/vxquery/tree/6ec07026 Diff: http://git-wip-us.apache.org/repos/asf/vxquery/diff/6ec07026 Branch: refs/heads/master Commit: 6ec0702640ed7f531be9599cffaaa35a84f9d2d5 Parents: 42a5952 Author: Till Westmann <[email protected]> Authored: Sun Mar 1 15:23:54 2015 -0800 Committer: Eldon Carman <[email protected]> Committed: Wed Apr 1 11:34:53 2015 -0700 ---------------------------------------------------------------------- pom.xml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/vxquery/blob/6ec07026/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 5b4a15d..8c6f21b 100644 --- a/pom.xml +++ b/pom.xml @@ -378,11 +378,31 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> - <source>1.6</source> - <target>1.6</target> + <source>1.7</source> + <target>1.7</target> </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <version>1.4</version> + <executions> + <execution> + <id>enforce-java</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireJavaVersion> + <version>1.7.0</version> + </requireJavaVersion> + </rules> + </configuration> + </execution> + </executions> + </plugin> + <plugin> <artifactId>maven-install-plugin</artifactId> <configuration> <createChecksum>true</createChecksum>
