Bug 1411654 - Pre: Don't block Google's maven repository. r=maliu draft
authorNick Alexander <nalexander@mozilla.com>
Fri, 27 Oct 2017 14:50:27 -0700
changeset 749684 6c66cf1444876624f10409ea6437863e2c2ea9b0
parent 749683 58449c7791d76441dc0068645c7c059877f8cf05
child 749685 c6e58c6be966dd8ace6aa796b5a5e6000ee9c65e
push id97470
push usernalexander@mozilla.com
push dateWed, 31 Jan 2018 21:14:34 +0000
reviewersmaliu
bugs1411654
milestone60.0a1
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>