You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by co...@apache.org on 2016/04/26 11:42:12 UTC

incubator-ranger git commit: RANGER-945 - SaveVersion python script in ranger-util not working

Repository: incubator-ranger
Updated Branches:
  refs/heads/master 95c8f693d -> e6ae22fd2


RANGER-945 - SaveVersion python script in ranger-util not working


Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/e6ae22fd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/e6ae22fd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/e6ae22fd

Branch: refs/heads/master
Commit: e6ae22fd29a4c7f343da78af5a852032fee92262
Parents: 95c8f69
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Fri Apr 22 11:03:36 2016 +0100
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Tue Apr 26 10:41:39 2016 +0100

----------------------------------------------------------------------
 ranger-util/pom.xml | 52 +++---------------------------------------------
 1 file changed, 3 insertions(+), 49 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/e6ae22fd/ranger-util/pom.xml
----------------------------------------------------------------------
diff --git a/ranger-util/pom.xml b/ranger-util/pom.xml
index a4c63d9..b4ad8fa 100644
--- a/ranger-util/pom.xml
+++ b/ranger-util/pom.xml
@@ -28,54 +28,8 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.hadoop</groupId>
-            <artifactId>hadoop-common</artifactId>
+            <artifactId>hadoop-annotations</artifactId>
             <version>${hadoop-common.version}</version>
-            <exclusions>
-                <exclusion>
-                    <groupId>javax.servlet</groupId>
-                    <artifactId>*</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>org.mortbay.jetty</groupId>
-                    <artifactId>*</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>org.mortbay.jetty</groupId>
-                    <artifactId>jetty</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>org.mortbay.jetty</groupId>
-                    <artifactId>jetty-util</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>org.mortbay.jetty</groupId>
-                    <artifactId>jsp-2.1</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>org.mortbay.jetty</groupId>
-                    <artifactId>jsp-api-2.1</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>org.mortbay.jetty</groupId>
-                    <artifactId>servlet-api-2.1</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>javax.servlet</groupId>
-                    <artifactId>servlet-api</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>javax.servlet.jsp</groupId>
-                    <artifactId>jsp-api</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>tomcat</groupId>
-                    <artifactId>jasper-compiler</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>tomcat</groupId>
-                    <artifactId>jasper-runtime</artifactId>
-                </exclusion>
-            </exclusions>
         </dependency>
     </dependencies>
     <build>
@@ -96,7 +50,7 @@
                                     <arg value="${project.basedir}/src/scripts/saveVersion.py"/>
                                     <arg value="${project.version}"/>
                                     <arg value="${ranger.version.shortname}"/>
-                                    <arg value="${project.basedir}"/>
+                                    <arg value="${project.basedir}/target"/>
                                 </exec>
                             </target>
                         </configuration>
@@ -118,7 +72,7 @@
                         </goals>
                         <configuration>
                             <sources>
-                                <source>src/gen</source>
+                                <source>target/gen</source>
                             </sources>
                         </configuration>
                     </execution>