aboutsummaryrefslogtreecommitdiffstats
path: root/scald-mvp/build.sbt
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2018-05-23 12:27:59 -0700
committerBryan Newbold <bnewbold@archive.org>2018-05-24 00:02:36 -0700
commit4ba428db30593b67283dd90b92141f99840dc78e (patch)
treef63c8e146e7f90a530abfebdb993ab45d57426d5 /scald-mvp/build.sbt
parent29e4a83ff76da07bc6ad5d3f49d746ee0bc72023 (diff)
downloadsandcrawler-4ba428db30593b67283dd90b92141f99840dc78e.tar.gz
sandcrawler-4ba428db30593b67283dd90b92141f99840dc78e.zip
rename jvm/scalding directories
Diffstat (limited to 'scald-mvp/build.sbt')
-rw-r--r--scald-mvp/build.sbt49
1 files changed, 0 insertions, 49 deletions
diff --git a/scald-mvp/build.sbt b/scald-mvp/build.sbt
deleted file mode 100644
index aae8506..0000000
--- a/scald-mvp/build.sbt
+++ /dev/null
@@ -1,49 +0,0 @@
-import Dependencies._
-
-val hadoopVersion = "2.5.0-cdh5.3.1" // IA cluster 2018-05-21: 2.5.0-cdh5.3.1
-val hbaseVersion = "0.98.6-cdh5.3.1" // IA cluster 2018-05-21: 0.98.6-cdh5.3.1
-
-lazy val root = (project in file(".")).
-
- settings(
- inThisBuild(List(
- organization := "org.archive",
- scalaVersion := "2.11.8",
- version := "0.1.0-SNAPSHOT",
- test in assembly := {},
- )),
-
- name := "scald-mvp",
-
- resolvers += "conjars.org" at "http://conjars.org/repo",
- resolvers += "Apache HBase" at "https://repository.apache.org/content/repositories/releases",
- resolvers += "Cloudera Maven Repository" at "https://repository.cloudera.com/artifactory/cloudera-repos",
- resolvers += "Twitter Maven Repository" at "https://maven.twttr.com",
-
- libraryDependencies += scalaTest % Test,
- libraryDependencies += "org.scala-lang" % "scala-library" % "2.11.8",
- libraryDependencies += "com.twitter" % "scalding-core_2.11" % "0.17.2",
- libraryDependencies += "org.apache.hadoop" % "hadoop-common" % hadoopVersion,
- libraryDependencies += "org.apache.hadoop" % "hadoop-client" % hadoopVersion,
- libraryDependencies += "org.apache.hadoop" % "hadoop-mapreduce-client-jobclient" % hadoopVersion classifier "tests",
- libraryDependencies += "org.apache.hbase" % "hbase-common" % hbaseVersion,
- libraryDependencies += "parallelai" % "parallelai.spyglass" % "2.11_0.17.2_cdh5.3.1",
-
- // cargo-culted from twitter/scalding's build.sbt
- // hint via https://stackoverflow.com/questions/23280494/sbt-assembly-error-deduplicate-different-file-contents-found-in-the-following#23280952
- mergeStrategy in assembly := {
- case s if s.endsWith(".class") => MergeStrategy.last
- case s if s.endsWith("project.clj") => MergeStrategy.concat
- case s if s.endsWith(".html") => MergeStrategy.last
- case s if s.endsWith(".dtd") => MergeStrategy.last
- case s if s.endsWith(".xsd") => MergeStrategy.last
- case s if s.endsWith("pom.properties") => MergeStrategy.last
- case s if s.endsWith("pom.xml") => MergeStrategy.last
- case s if s.endsWith(".jnilib") => MergeStrategy.rename
- case s if s.endsWith("jansi.dll") => MergeStrategy.rename
- case s if s.endsWith("libjansi.so") => MergeStrategy.rename
- case s if s.endsWith("properties") => MergeStrategy.filterDistinctLines
- case s if s.endsWith("xml") => MergeStrategy.last
- case x => (mergeStrategy in assembly).value(x)
- },
- )