You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by om...@apache.org on 2018/02/06 21:54:08 UTC

[2/2] orc git commit: ORC-240. Fix maven pom file warnings

ORC-240. Fix maven pom file warnings

Fixes #172

Signed-off-by: Owen O'Malley <om...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/orc/repo
Commit: http://git-wip-us.apache.org/repos/asf/orc/commit/9aaef4f1
Tree: http://git-wip-us.apache.org/repos/asf/orc/tree/9aaef4f1
Diff: http://git-wip-us.apache.org/repos/asf/orc/diff/9aaef4f1

Branch: refs/heads/branch-1.4
Commit: 9aaef4f1fb6c4456bbbaa1abeddb118eb63472cf
Parents: bcef866
Author: Owen O'Malley <om...@apache.org>
Authored: Tue Sep 26 15:34:45 2017 -0700
Committer: Owen O'Malley <om...@apache.org>
Committed: Tue Feb 6 13:51:15 2018 -0800

----------------------------------------------------------------------
 java/pom.xml | 23 ++++++++++++++++++++---
 1 file changed, 20 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/orc/blob/9aaef4f1/java/pom.xml
----------------------------------------------------------------------
diff --git a/java/pom.xml b/java/pom.xml
index a2a3a36..29e5f92 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -35,9 +35,6 @@
      current query.
   </description>
   <inceptionYear>2013</inceptionYear>
-  <prerequisites>
-    <maven>2.2.1</maven>
-  </prerequisites>
 
   <mailingLists>
     <mailingList>
@@ -80,6 +77,26 @@
     <plugins>
       <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>2.2.1</version>
+                </requireMavenVersion>
+              </rules>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <version>2.10.4</version>
         <configuration>