diff --git a/build.sbt b/build.sbt
index 72a19343b9..d42b61c24c 100644
--- a/build.sbt
+++ b/build.sbt
@@ -73,7 +73,7 @@ val sharedSettings = assemblySettings ++ scalariformSettings ++ Seq(
Opts.resolver.mavenLocalFile,
Opts.resolver.sonatypeSnapshots,
Opts.resolver.sonatypeReleases,
- "Concurrent Maven Repo" at "http://conjars.org/repo",
+ "Concurrent Maven Repo" at "https://conjars.org/repo",
"Twitter Maven" at "https://maven.twttr.com",
"Cloudera" at "https://repository.cloudera.com/artifactory/cloudera-repos/"
),
@@ -194,17 +194,17 @@ val sharedSettings = assemblySettings ++ scalariformSettings ++ Seq(
posco
Oscar Boykin
- http://twitter.com/posco
+ https://twitter.com/posco
avibryant
Avi Bryant
- http://twitter.com/avibryant
+ https://twitter.com/avibryant
argyris
Argyris Zymnis
- http://twitter.com/argyris
+ https://twitter.com/argyris
)
) ++ mimaDefaultSettings
@@ -687,7 +687,7 @@ lazy val docSettings = Seq(
micrositeDescription := "Scala API for Cascading.",
micrositeAuthor := "Scalding's contributors",
micrositeHighlightTheme := "atom-one-light",
- micrositeHomepage := "http://twitter.github.io/scalding",
+ micrositeHomepage := "https://twitter.github.io/scalding",
micrositeBaseUrl := "scalding",
micrositeDocumentationUrl := "api",
micrositeGithubOwner := "twitter",
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 4c535e9c8e..2294d9e17b 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -1,7 +1,7 @@
-resolvers += Resolver.url("artifactory", url("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns)
+resolvers += Resolver.url("artifactory", url("https://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns)
resolvers ++= Seq(
- "jgit-repo" at "http://download.eclipse.org/jgit/maven",
+ "jgit-repo" at "https://download.eclipse.org/jgit/maven",
"sonatype-releases" at "https://oss.sonatype.org/content/repositories/releases",
"Twitter Maven" at "https://maven.twttr.com"
)
diff --git a/sbt b/sbt
index 100fb3146e..a086e33291 100755
--- a/sbt
+++ b/sbt
@@ -13,10 +13,10 @@ declare -r latest_211="2.11.8"
declare -r buildProps="project/build.properties"
-declare -r sbt_launch_ivy_release_repo="http://repo.typesafe.com/typesafe/ivy-releases"
+declare -r sbt_launch_ivy_release_repo="https://repo.typesafe.com/typesafe/ivy-releases"
declare -r sbt_launch_ivy_snapshot_repo="https://repo.scala-sbt.org/scalasbt/ivy-snapshots"
-declare -r sbt_launch_mvn_release_repo="http://repo.scala-sbt.org/scalasbt/maven-releases"
-declare -r sbt_launch_mvn_snapshot_repo="http://repo.scala-sbt.org/scalasbt/maven-snapshots"
+declare -r sbt_launch_mvn_release_repo="https://repo.scala-sbt.org/scalasbt/maven-releases"
+declare -r sbt_launch_mvn_snapshot_repo="https://repo.scala-sbt.org/scalasbt/maven-snapshots"
declare -r default_jvm_opts_common="-Xms512m -Xmx1536m -Xss2m"
declare -r noshare_opts="-Dsbt.global.base=project/.sbtboot -Dsbt.boot.directory=project/.boot -Dsbt.ivy.home=project/.ivy"
@@ -116,7 +116,7 @@ url_base () {
local version="$1"
case "$version" in
- 0.7.*) echo "http://simple-build-tool.googlecode.com" ;;
+ 0.7.*) echo "https://simple-build-tool.googlecode.com" ;;
0.10.* ) echo "$sbt_launch_ivy_release_repo" ;;
0.11.[12]) echo "$sbt_launch_ivy_release_repo" ;;
0.*-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9][0-9][0-9]) # ie "*-yyyymmdd-hhMMss"
diff --git a/scalding-core/src/main/scala/com/twitter/scalding/mathematics/TypedSimilarity.scala b/scalding-core/src/main/scala/com/twitter/scalding/mathematics/TypedSimilarity.scala
index 593ae42aaf..42da7c6bbc 100644
--- a/scalding-core/src/main/scala/com/twitter/scalding/mathematics/TypedSimilarity.scala
+++ b/scalding-core/src/main/scala/com/twitter/scalding/mathematics/TypedSimilarity.scala
@@ -144,7 +144,7 @@ object TypedSimilarity extends Serializable {
* key: document,
* value: (word, documentsWithWord)
* return: Edge of similarity between words measured by documents
- * See: http://arxiv.org/pdf/1206.2082v2.pdf
+ * See: https://arxiv.org/pdf/1206.2082v2.pdf
*/
def discoCosineSimilarity[N: Ordering](smallG: Grouped[N, (N, Int)],
bigG: Grouped[N, (N, Int)], oversample: Double): TypedPipe[Edge[N, Double]] = {
@@ -181,7 +181,7 @@ object TypedSimilarity extends Serializable {
* key: document,
* value: (word, word weight in the document, norm of the word)
* return: Edge of similarity between words measured by documents
- * See: http://stanford.edu/~rezab/papers/dimsum.pdf
+ * See: https://stanford.edu/~rezab/papers/dimsum.pdf
*/
def dimsumCosineSimilarity[N: Ordering](smallG: Grouped[N, (N, Double, Double)],
bigG: Grouped[N, (N, Double, Double)], oversample: Double): TypedPipe[Edge[N, Double]] = {
@@ -236,7 +236,7 @@ class ExactInCosine[N](reducers: Int = -1)(implicit override val nodeOrdering: O
* minCos: the minimum cosine similarity you care about accuracy for
* delta: the error on the approximated cosine (e.g. 0.05 = 5%)
* boundedProb: the probability we have larger than delta error
- * see: http://arxiv.org/pdf/1206.2082v2.pdf for more details
+ * see: https://arxiv.org/pdf/1206.2082v2.pdf for more details
*/
class DiscoInCosine[N](minCos: Double, delta: Double, boundedProb: Double, reducers: Int = -1)(implicit override val nodeOrdering: Ordering[N]) extends TypedSimilarity[N, InDegree, Double] {
diff --git a/scripts/scald.rb b/scripts/scald.rb
index 7e8770bbfe..59912a4372 100755
--- a/scripts/scald.rb
+++ b/scripts/scald.rb
@@ -330,13 +330,13 @@ def convert_dependencies_to_jars(dependencies = DEPENDENCIES, as_classpath = fal
#Convert a maven dependency to a url for downloading.
#Example:
#Input dependency: org.apache.hadoop/hadoop-core/0.20.2
-#Output url: http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-core/0.20.2/hadoop-core-0.20.2.jar
+#Output url: https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-core/0.20.2/hadoop-core-0.20.2.jar
def dependency_to_url(dependency)
#Each dependency is in the form group/artifact/version.
group, artifact, version = dependency.split("/")
jar_filename = dependency_to_jar(dependency)
group_with_slash = group.split(".").join("/")
- "http://repo1.maven.org/maven2/#{group_with_slash}/#{artifact}/#{version}/#{jar_filename}"
+ "https://repo1.maven.org/maven2/#{group_with_slash}/#{artifact}/#{version}/#{jar_filename}"
end
#Convert a maven dependency to the name of its jar file.