-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from treeverse/chore/fix-publish
Actually publish the right project
- Loading branch information
Showing
2 changed files
with
122 additions
and
10 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 |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# This is https://raw.githubusercontent.com/scala/scala/2.13.x/.gitignore | ||
|
||
# Are you tempted to edit this file? | ||
# | ||
# First consider if the changes make sense for all, | ||
# or if they are specific to your workflow/system. | ||
# If it is the latter, you can augment this list with | ||
# entries in .git/info/excludes | ||
# | ||
# see also test/files/.gitignore | ||
# | ||
|
||
# | ||
# JARs aren't checked in, they are fetched by sbt | ||
# | ||
/lib/*.jar | ||
/test/files/codelib/*.jar | ||
/test/files/lib/*.jar | ||
/test/files/speclib/instrumented.jar | ||
/tools/*.jar | ||
|
||
# Developer specific properties | ||
/build.properties | ||
/buildcharacter.properties | ||
|
||
# might get generated when testing Jenkins scripts locally | ||
/jenkins.properties | ||
|
||
# target directory for build | ||
/build/ | ||
|
||
# other | ||
/out/ | ||
/bin/ | ||
/sandbox/ | ||
|
||
# intellij | ||
/src/intellij*/*.iml | ||
/src/intellij*/*.ipr | ||
/src/intellij*/*.iws | ||
**/.cache | ||
/.idea | ||
/.settings | ||
|
||
# vscode | ||
/.vscode | ||
|
||
# Standard symbolic link to build/quick/bin | ||
/qbin | ||
|
||
# sbt's target directories | ||
/target/ | ||
/project/**/target/ | ||
/test/macro-annot/target/ | ||
/test/files/target/ | ||
/test/target/ | ||
/build-sbt/ | ||
local.sbt | ||
jitwatch.out | ||
|
||
# Used by the restarr/restarrFull commands as target directories | ||
/build-restarr/ | ||
/target-restarr/ | ||
|
||
# metals | ||
.metals | ||
.bloop | ||
project/**/metals.sbt | ||
|
||
.bsp |
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 |
---|---|---|
@@ -1,9 +1,6 @@ | ||
lazy val projectVersion = "0.0.1" | ||
lazy val projectVersion = "0.0.3-RC.0" | ||
|
||
lazy val project = Project("lakefs-spark-extension", file("./src/")) | ||
.settings( | ||
version := projectVersion, | ||
) | ||
version := projectVersion | ||
|
||
semanticdbEnabled := true | ||
semanticdbVersion := scalafixSemanticdb.revision | ||
|
@@ -23,18 +20,15 @@ libraryDependencies ++= Seq( | |
|
||
val nexus = "https://s01.oss.sonatype.org/" | ||
lazy val publishSettings = Seq( | ||
publishTo := { | ||
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots") | ||
else Some("releases" at nexus + "service/local/staging/deploy/maven2") | ||
}, | ||
// Remove all additional repository other than Maven Central from POM | ||
pomIncludeRepository := { _ => false }, | ||
credentials ++= Seq( | ||
Credentials(Path.userHome / ".sbt" / "credentials"), | ||
Credentials(Path.userHome / ".sbt" / "sonatype_credentials") | ||
) | ||
), | ||
) | ||
|
||
ThisBuild / publishConfiguration := publishConfiguration.value.withOverwrite(true) | ||
ThisBuild / isSnapshot := false | ||
ThisBuild / versionScheme := Some("early-semver") | ||
ThisBuild / organization := "io.lakefs" | ||
|
@@ -45,3 +39,51 @@ ThisBuild / licenses := List( | |
"Apache 2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt") | ||
) | ||
ThisBuild / homepage := Some(url("https://lakefs.io")) | ||
ThisBuild / publishTo := { | ||
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots") | ||
else Some("releases" at nexus + "service/local/staging/deploy/maven2") | ||
} | ||
ThisBuild / scmInfo := Some( | ||
ScmInfo( | ||
url("https://github.com/treeverse/lakefs-spark-extensions"), | ||
"scm:[email protected]:treeverse/lakefs-spark-extensions.git" | ||
) | ||
) | ||
ThisBuild / developers := List( | ||
Developer( | ||
id = "ariels", | ||
name = "Ariel Shaqed (Scolnicov)", | ||
email = "[email protected]", | ||
url = url("https://github.com/arielshaqed") | ||
), | ||
Developer( | ||
id = "baraktr", | ||
name = "B. A.", | ||
email = "[email protected]", | ||
url = url("https://github.com/nopcoder") | ||
), | ||
Developer( | ||
id = "ozkatz", | ||
name = "Oz Katz", | ||
email = "[email protected]", | ||
url = url("https://github.com/ozkatz") | ||
), | ||
Developer( | ||
id = "johnnyaug", | ||
name = "J. A.", | ||
email = "[email protected]", | ||
url = url("https://github.com/johnnyaug") | ||
), | ||
Developer( | ||
id = "itai.admi", | ||
name = "Itai Admi", | ||
email = "[email protected]", | ||
url = url("https://github.com/itaiad200") | ||
), | ||
Developer( | ||
id = "niro", | ||
name = "Nir Ozery", | ||
email = "[email protected]", | ||
url = url("https://github.com/N-o-Z") | ||
) | ||
) |