sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mau...@apache.org
Subject sqoop git commit: SQOOP-2925: Modify ivy settings to work from the local ivy cache, thus making ant compile much faster
Date Fri, 02 Dec 2016 20:43:54 GMT
Repository: sqoop
Updated Branches:
  refs/heads/trunk 0e26d92a3 -> c3ac21f71


SQOOP-2925: Modify ivy settings to work from the
local ivy cache, thus making ant compile much faster


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

Branch: refs/heads/trunk
Commit: c3ac21f7161127713e7a4893a4f87ef21282b3a5
Parents: 0e26d92
Author: Attila Szabo <maugli@apache.org>
Authored: Fri Dec 2 21:43:15 2016 +0100
Committer: Attila Szabo <maugli@apache.org>
Committed: Fri Dec 2 21:43:15 2016 +0100

----------------------------------------------------------------------
 ivy/ivysettings.xml | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/c3ac21f7/ivy/ivysettings.xml
----------------------------------------------------------------------
diff --git a/ivy/ivysettings.xml b/ivy/ivysettings.xml
index 2920c89..ac16b45 100644
--- a/ivy/ivysettings.xml
+++ b/ivy/ivysettings.xml
@@ -48,6 +48,7 @@ under the License.
   <property name="maven2.pattern"
       value="[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier])"/>
   <property name="repo.dir" value="${user.home}/.m2/repository"/>
+  <property name="ivy.cache.dir" value="${user.home}/.ivy2/cache"/>
   <property name="maven2.pattern.ext"  value="${maven2.pattern}.[ext]"/>
   <property name="resolvers" value="default" override="false"/>
   <settings defaultResolver="${resolvers}"/>
@@ -69,8 +70,14 @@ under the License.
        <ivy pattern="${repo.dir}/[organisation]/[module]/[revision]/[module]-[revision].pom"/>
     </filesystem>
 
+    <filesystem name="fs2">
+       <artifact pattern="${ivy.cache.dir}/[organisation]/[module]/jars/[module]-[revision](-[classifier]).[ext]"/>
+       <ivy pattern="${ivy.cache.dir}/[organisation]/[module]/ivy-[revision].xml"/>
+    </filesystem>
+
     <chain name="default" dual="true" checkmodified="true"
         changingPattern=".*SNAPSHOT">
+      <resolver ref="fs2"/>
       <resolver ref="fs"/>
       <resolver ref="apache-snapshot"/>
       <resolver ref="datanucleus"/>
@@ -80,6 +87,7 @@ under the License.
     </chain>
 
     <chain name="internal" dual="true">
+      <resolver ref="fs2"/>
       <resolver ref="fs"/>
       <resolver ref="apache-snapshot"/>
       <resolver ref="datanucleus"/>


Mime
View raw message