knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject knox git commit: KNOX-1075 and KNOX-1070 - Enforce minimum maven and Java version (Rick Kellogg via Sandeep More)
Date Wed, 04 Oct 2017 19:05:57 GMT
Repository: knox
Updated Branches:
  refs/heads/master ff3af36d6 -> 485769b95


KNOX-1075 and KNOX-1070 - Enforce minimum maven and Java version (Rick Kellogg via Sandeep
More)


Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/485769b9
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/485769b9
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/485769b9

Branch: refs/heads/master
Commit: 485769b95b44f47699c48c47945a75c2b1d2ff97
Parents: ff3af36
Author: Sandeep More <more@apache.org>
Authored: Wed Oct 4 15:05:50 2017 -0400
Committer: Sandeep More <more@apache.org>
Committed: Wed Oct 4 15:05:50 2017 -0400

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


http://git-wip-us.apache.org/repos/asf/knox/blob/485769b9/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 2708f6b..fb00d71 100644
--- a/pom.xml
+++ b/pom.xml
@@ -336,6 +336,30 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-enforcer-plugin</artifactId>
+                <version>3.0.0-M1</version>
+                <executions>
+                  <execution>
+                    <id>enforce-maven</id>
+                    <goals>
+                      <goal>enforce</goal>
+                    </goals>
+                    <configuration>
+                      <rules>
+                        <requireMavenVersion>
+                          <version>[3.0.2,)</version>
+                        </requireMavenVersion>
+                        <!--<requireJavaVersion>
+                          <version>[1.8,)</version>
+                        </requireJavaVersion> -->
+                      </rules>
+                    </configuration>
+                  </execution>
+                </executions>
+            </plugin>
+
         </plugins>
     </build>
 


Mime
View raw message