You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2018/07/31 06:48:31 UTC

[5/5] impala git commit: IMPALA-7329: Blacklist CDH Maven snapshots repository

IMPALA-7329: Blacklist CDH Maven snapshots repository

The Impala development bootstrapping depends on CDH Maven snapshots
which transitively pull dependencies from other repositories which
can cause the build to be non-reproducible, e.g. IMPALA-7316. This
patch makes the build to be reproducible by blacklisting
cdh.snapshots.repo so that Maven does not accidentally downloads the
latest CDH snapshots when running a build, which can cause
incompatibility issues.

Testing:
- Ran core tests with CDH_BUILD_NUMBER=422770 and did not hit the
  issue described in IMPALA-7316

Change-Id: Id945bc2769f92f3df3bb4f617b00db77a6502ff3
Reviewed-on: http://gerrit.cloudera.org:8080/10999
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


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

Branch: refs/heads/master
Commit: 316b17ac55adb3d1deeb1289b4045688269b201d
Parents: 3f8375d
Author: Fredy Wijaya <fw...@cloudera.com>
Authored: Thu Jul 19 19:59:29 2018 -0700
Committer: Impala Public Jenkins <im...@cloudera.com>
Committed: Tue Jul 31 02:49:48 2018 +0000

----------------------------------------------------------------------
 impala-parent/pom.xml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/impala/blob/316b17ac/impala-parent/pom.xml
----------------------------------------------------------------------
diff --git a/impala-parent/pom.xml b/impala-parent/pom.xml
index bd091ea..92233f4 100644
--- a/impala-parent/pom.xml
+++ b/impala-parent/pom.xml
@@ -71,6 +71,26 @@ under the License.
       </snapshots>
     </repository>
     <repository>
+      <!--
+      The Impala development bootstrapping depends on CDH Maven snapshots
+      which transitively pull dependencies from other repositories which
+      can cause the build to be non-reproducible, e.g. IMPALA-7316. This
+      patch makes the build to be reproducible by blacklisting
+      cdh.snapshots.repo so that Maven does not accidentally downloads the
+      latest CDH snapshots when running a build, which can cause
+      incompatibility issues.
+      -->
+      <id>cdh.snapshots.repo</id>
+      <url>https://repository.cloudera.com/content/repositories/snapshots</url>
+      <name>CDH Snapshots Repository</name>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+    </repository>
+    <repository>
       <id>cdh.rcs.releases.repo</id>
       <url>https://repository.cloudera.com/content/groups/cdh-releases-rcs</url>
       <name>CDH Releases Repository</name>