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 2017/09/28 17:02:05 UTC

orc git commit: ORC-240. Fix maven pom file warnings

Repository: orc
Updated Branches:
  refs/heads/master 83983a2bd -> 87d77ac8e


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/87d77ac8
Tree: http://git-wip-us.apache.org/repos/asf/orc/tree/87d77ac8
Diff: http://git-wip-us.apache.org/repos/asf/orc/diff/87d77ac8

Branch: refs/heads/master
Commit: 87d77ac8efe51d6db6fffdb248c49a2c5ad0ea87
Parents: 83983a2
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 Sep 26 15:42:32 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/orc/blob/87d77ac8/java/pom.xml
----------------------------------------------------------------------
diff --git a/java/pom.xml b/java/pom.xml
index ed3607e..d75212b 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>
@@ -83,6 +80,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>
@@ -246,15 +263,6 @@
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-compiler-plugin</artifactId>
-          <version>3.1</version>
-          <configuration>
-            <source>1.7</source>
-            <target>1.7</target>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-shade-plugin</artifactId>
           <version>3.0.0</version>
           <executions>