-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
76 lines (67 loc) · 2.89 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
lazy val commonSettings = Seq(
version := "0.1.0",
scalaVersion := "2.10.6",
crossScalaVersions := Seq("2.11.5", "2.10.5"),
organization := "com.example",
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html")),
scalacOptions ++= Seq(
"-deprecation",
"-unchecked",
"-Yinline-warnings",
"-language:implicitConversions",
"-language:reflectiveCalls",
"-language:higherKinds",
"-language:postfixOps",
"-language:existentials",
"-feature"),
publishMavenStyle := true,
publishArtifact in Test := false,
pomIncludeRepository := { _ => false },
resolvers ++= Seq(
"geosolutions" at "http://maven.geo-solutions.it/",
"osgeo" at "http://download.osgeo.org/webdav/geotools/",
"boundlessgeo" at "https://boundless.artifactoryonline.com/boundless/main",
"geowave" at "http://geowave-maven.s3-website-us-east-1.amazonaws.com/release"
),
resolvers += Resolver.sonatypeRepo("releases"),
libraryDependencies ++= Seq(
"com.azavea.geotrellis" %% "geotrellis-accumulo" % Version.geotrellis,
"com.azavea.geotrellis" %% "geotrellis-spark" % Version.geotrellis,
//"org.apache.spark" %% "spark-core" % "1.5.2" % "provided",
"org.geotools" % "gt-coverage" % Version.geotools,
"org.geotools" % "gt-epsg-hsql" % Version.geotools,
"org.geotools" % "gt-geotiff" % Version.geotools,
"org.geotools" % "gt-main" % Version.geotools,
"org.geotools" % "gt-referencing" % Version.geotools,
"mil.nga.giat" % "geowave-adapter-vector" % "0.9.1",
"mil.nga.giat" % "geowave-datastore-accumulo" % "0.9.1",
"org.apache.accumulo" % "accumulo-monitor" % "1.7.0",
compilerPlugin("org.scalamacros" % "paradise" % "2.0.1" cross CrossVersion.full)
),
// When creating fat jar, remote some files with
// bad signatures and resolve conflicts by taking the first
// versions of shared packaged types.
assemblyMergeStrategy in assembly := {
case "reference.conf" => MergeStrategy.concat
case "application.conf" => MergeStrategy.concat
case "META-INF/MANIFEST.MF" => MergeStrategy.discard
case "META-INF\\MANIFEST.MF" => MergeStrategy.discard
case "META-INF/ECLIPSEF.RSA" => MergeStrategy.discard
case "META-INF/ECLIPSEF.SF" => MergeStrategy.discard
case "META-INF/BCKEY.SF" => MergeStrategy.discard
case "META-INF/BCKEY.DSA" => MergeStrategy.discard
case _ => MergeStrategy.first
}
) ++ net.virtualvoid.sbt.graph.Plugin.graphSettings
lazy val root = Project("gwVectorIngest", file("."))
.settings(commonSettings: _*)
lazy val base = Project("base", file("base"))
.settings(commonSettings: _*)
lazy val ingest = Project("ingest", file("ingest"))
.settings(commonSettings: _*)
.dependsOn(base)
lazy val rdd = Project("rdd", file("rdd"))
.settings(commonSettings: _*)
.dependsOn(base)
lazy val minicluster = Project("minicluster", file("minicluster"))
.settings(commonSettings: _*)