Bug 1411654 - Pre: Don't block Google's maven repository. r=maliu
authorNick Alexander <nalexander@mozilla.com>
Fri, 27 Oct 2017 14:50:27 -0700
changeset 451119 0850b319efd43ac8f4d61485451722975da55ca1
parent 451118 d276d3deba053f66d74d258d964cab3fd5358a14
child 451120 22a861db1573364916ab2c5b6d0c6321ba08ff55
push id8543
push userryanvm@gmail.com
push dateTue, 16 Jan 2018 14:33:22 +0000
treeherdermozilla-beta@a6525ed16a32 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmaliu
bugs1411654
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1411654 - Pre: Don't block Google's maven repository. r=maliu Turns out Google's maven repository doesn't publish checksums. I can't imagine why not, but there it is. We have to think more about whether to trust the artifacts downloaded from maven.google.com. MozReview-Commit-ID: CdWijorq1IV
taskcluster/scripts/misc/android-gradle-dependencies/nexus.xml
--- a/taskcluster/scripts/misc/android-gradle-dependencies/nexus.xml
+++ b/taskcluster/scripts/misc/android-gradle-dependencies/nexus.xml
@@ -67,17 +67,18 @@
       <localStorage>
         <provider>file</provider>
       </localStorage>
       <remoteStorage>
         <url>https://maven.google.com/</url>
       </remoteStorage>
       <externalConfiguration>
         <repositoryPolicy>RELEASE</repositoryPolicy>
-        <checksumPolicy>STRICT</checksumPolicy>
+        <!-- Google doesn't publish checksums.  Why, Google, why? -->
+        <checksumPolicy>STRICT_IF_EXISTS</checksumPolicy>
         <fileTypeValidation>true</fileTypeValidation>
         <downloadRemoteIndex>false</downloadRemoteIndex>
         <artifactMaxAge>-1</artifactMaxAge>
         <metadataMaxAge>1440</metadataMaxAge>
         <itemMaxAge>1440</itemMaxAge>
         <autoBlockActive>true</autoBlockActive>
       </externalConfiguration>
     </repository>