You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vxquery.apache.org by pr...@apache.org on 2015/06/28 21:18:30 UTC

[08/14] vxquery git commit: enforce JDK 7

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/9892b1fe
Tree: http://git-wip-us.apache.org/repos/asf/vxquery/tree/9892b1fe
Diff: http://git-wip-us.apache.org/repos/asf/vxquery/diff/9892b1fe

Branch: refs/heads/master
Commit: 9892b1feeced9900dc7c1006f11edd60d03a99a0
Parents: 24c4fff
Author: Till Westmann <we...@gmail.com>
Authored: Sun Mar 1 15:23:54 2015 -0800
Committer: Preston Carman <pr...@apache.org>
Committed: Sun Jun 28 11:37:03 2015 -0700

----------------------------------------------------------------------
 pom.xml | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/vxquery/blob/9892b1fe/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1862890..464cd7b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -375,11 +375,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>