-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
53 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,14 @@ val sparkVer = sys.props.getOrElse("spark.version", defaultSparkVersion) | |
|
||
val components = Seq("streaming", "sql", "mllib") | ||
|
||
val shortDesc = "Bayesian filtering with Spark" | ||
|
||
val longDesc = """Model-parallel bayesian filtering with Apache Spark. | ||
| | ||
|This library allows you to define model-parallel bayesian filters by leveraging arbitrary stateful | ||
|transformation capabilities of Spark DataFrames. Supports both structured streaming and | ||
|batch processing mode. Suitable for latent state estimation of many similar small scale systems | ||
|rather than a big single system.""".stripMargin | ||
|
||
lazy val settings = Seq( | ||
scalaVersion := scalaVer, | ||
|
@@ -26,6 +34,10 @@ lazy val root = (project in file(".")) | |
.settings( | ||
name := "artan", | ||
fork in run := true, | ||
(packageBin in Compile) := { | ||
println("here") | ||
spPackage.value | ||
}, | ||
settings) | ||
|
||
lazy val examples = (project in file("examples")) | ||
|
@@ -46,14 +58,41 @@ spName := "ozancicek/artan" | |
|
||
credentials += Credentials(Path.userHome / ".ivy2" / ".sparkpackagescredentials") | ||
|
||
credentials += Credentials(Path.userHome / ".ivy2" / ".sonatypecredentials") | ||
|
||
spShortDescription := "Bayesian filtering with Spark" | ||
|
||
spDescription := """Model-parallel bayesian filtering with Apache Spark. | ||
| | ||
|This library allows you to define model-parallel bayesian filters by leveraging arbitrary stateful | ||
|transformation capabilities of Spark DataFrames. Supports both structured streaming and | ||
|batch processing mode. Suitable for latent state estimation of many similar small scale systems | ||
|rather than a big single system.""".stripMargin | ||
spDescription := shortDesc | ||
|
||
licenses += "Apache-2.0" -> url("http://opensource.org/licenses/Apache-2.0") | ||
|
||
homepage := Some(url("https://github.com/ozancicek/artan")) | ||
|
||
publishMavenStyle := true | ||
|
||
publishArtifact in Test := false | ||
|
||
pomIncludeRepository := { _ => false } | ||
|
||
publishTo in ThisBuild := { | ||
val nexus = "https://oss.sonatype.org/" | ||
if (isSnapshot.value) { | ||
Some("snapshots" at nexus + "content/repositories/snapshots") | ||
} else { | ||
Some("releases" at nexus + "service/local/staging/deploy/maven2") | ||
} | ||
} | ||
scmInfo := Some( | ||
ScmInfo( | ||
url("https://github.com/ozancicek/artan"), | ||
"scm:git:[email protected]:ozancicek/artan.git" | ||
) | ||
) | ||
|
||
description := shortDesc | ||
|
||
developers := List( | ||
Developer("ozancicek", "Ozan Cicekci", "[email protected]", url("https://github.com/ozancicek")) | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters