This is an automated email from the ASF dual-hosted git repository.

lresende pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-toree.git


The following commit(s) were added to refs/heads/master by this push:
     new a389294  [HOTFIX] Update maven repo url to use https
a389294 is described below

commit a3892940216d4451df9d86859831f0e864b262ef
Author: Luciano Resende <lrese...@apache.org>
AuthorDate: Mon Feb 10 20:45:59 2020 -0800

    [HOTFIX] Update maven repo url to use https
---
 etc/tools/check-licenses                                          | 4 ++--
 .../test/scala/org/apache/toree/magic/builtin/AddJarSpec.scala    | 8 ++++----
 .../interpreter/scala/AddExternalJarMagicSpecForIntegration.scala | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/etc/tools/check-licenses b/etc/tools/check-licenses
index 8900fa1..5941c43 100755
--- a/etc/tools/check-licenses
+++ b/etc/tools/check-licenses
@@ -20,7 +20,7 @@
 
 acquire_rat_jar () {
 
-  
URL="http://repo1.maven.org/maven2/org/apache/rat/apache-rat/${RAT_VERSION}/apache-rat-${RAT_VERSION}.jar";
+  
URL="https://repo1.maven.org/maven2/org/apache/rat/apache-rat/${RAT_VERSION}/apache-rat-${RAT_VERSION}.jar";
 
   JAR="$rat_jar"
 
@@ -82,4 +82,4 @@ if test ! -z "$ERRORS"; then
     exit 1
 else 
     echo -e "RAT checks passed."
-fi
\ No newline at end of file
+fi
diff --git 
a/kernel/src/test/scala/org/apache/toree/magic/builtin/AddJarSpec.scala 
b/kernel/src/test/scala/org/apache/toree/magic/builtin/AddJarSpec.scala
index 5661250..5a14224 100644
--- a/kernel/src/test/scala/org/apache/toree/magic/builtin/AddJarSpec.scala
+++ b/kernel/src/test/scala/org/apache/toree/magic/builtin/AddJarSpec.scala
@@ -52,7 +52,7 @@ class AddJarSpec extends FunSpec with Matchers with 
MockitoSugar {
           override val config = testConfig
         }
 
-        
addJarMagic.execute("""http://repo1.maven.org/maven2/org/scala-rules/rule-engine-core_2.11/0.5.1/rule-engine-core_2.11-0.5.1.jar""";)
+        
addJarMagic.execute("""https://repo1.maven.org/maven2/org/scala-rules/rule-engine-core_2.11/0.5.1/rule-engine-core_2.11-0.5.1.jar""";)
 
         verify(mockKernel).addJars(any[URI])
         verify(mockPluginManager, times(0)).loadPlugins(any())
@@ -133,7 +133,7 @@ class AddJarSpec extends FunSpec with Matchers with 
MockitoSugar {
           }
         }
 
-        
addJarMagic.execute("""http://repo1.maven.org/maven2/org/scala-rules/rule-engine-core_2.11/0.5.1/rule-engine-core_2.11-0.5.1.jar""";)
+        
addJarMagic.execute("""https://repo1.maven.org/maven2/org/scala-rules/rule-engine-core_2.11/0.5.1/rule-engine-core_2.11-0.5.1.jar""";)
 
         downloadFileCalled should be (false)
         verify(mockKernel).addJars(any[URI])
@@ -160,7 +160,7 @@ class AddJarSpec extends FunSpec with Matchers with 
MockitoSugar {
           }
         }
 
-        addJarMagic.execute("""-f 
http://repo1.maven.org/maven2/org/scala-rules/rule-engine-core_2.11/0.5.1/rule-engine-core_2.11-0.5.1.jar""";)
+        addJarMagic.execute("""-f 
https://repo1.maven.org/maven2/org/scala-rules/rule-engine-core_2.11/0.5.1/rule-engine-core_2.11-0.5.1.jar""";)
 
         downloadFileCalled should be (true)
         verify(mockKernel).addJars(any[URI])
@@ -185,7 +185,7 @@ class AddJarSpec extends FunSpec with Matchers with 
MockitoSugar {
         }
 
         addJarMagic.execute(
-          """--magic 
http://repo1.maven.org/maven2/org/scala-rules/rule-engine-core_2.11/0.5.1/rule-engine-core_2.11-0.5.1.jar""";)
+          """--magic 
https://repo1.maven.org/maven2/org/scala-rules/rule-engine-core_2.11/0.5.1/rule-engine-core_2.11-0.5.1.jar""";)
 
         verify(mockPluginManager).loadPlugins(any())
         verify(mockSparkContext, times(0)).addJar(anyString())
diff --git 
a/scala-interpreter/src/test/scala/integration/interpreter/scala/AddExternalJarMagicSpecForIntegration.scala
 
b/scala-interpreter/src/test/scala/integration/interpreter/scala/AddExternalJarMagicSpecForIntegration.scala
index 45208f7..d2f7d8d 100644
--- 
a/scala-interpreter/src/test/scala/integration/interpreter/scala/AddExternalJarMagicSpecForIntegration.scala
+++ 
b/scala-interpreter/src/test/scala/integration/interpreter/scala/AddExternalJarMagicSpecForIntegration.scala
@@ -92,7 +92,7 @@ class AddExternalJarMagicSpecForIntegration
       }
 
       ignore("should support Scala jars") {
-        val locationURL = 
"http://repo1.maven.org/maven2/org/scala-rules/rule-engine-core_2.11/0.5.1/rule-engine-core_2.11-0.5.1.jar";
+        val locationURL = 
"https://repo1.maven.org/maven2/org/scala-rules/rule-engine-core_2.11/0.5.1/rule-engine-core_2.11-0.5.1.jar";
         val testJarUrl = JarUtils.downloadJar(tempdir.toString, locationURL)
 
         // Should fail since jar was not added to paths

Reply via email to