Skip to content

Commit

Permalink
0.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ozancicek committed Feb 28, 2020
1 parent 647cd8d commit 19728f5
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 6 deletions.
51 changes: 45 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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"))
Expand All @@ -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"))
)


8 changes: 8 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,11 @@ addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
addSbtPlugin("org.spark-packages" % "sbt-spark-package" % "0.2.6")

addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1")

addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.1")

addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.4")

addSbtPlugin("com.dwijnand" % "sbt-travisci" % "1.1.0")

addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "1.1")

0 comments on commit 19728f5

Please sign in to comment.