-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Settings for publishing to oss.sonatype.org
Separated macros and core scarango driver projects. Added organisation as maven groupid. Added links to example projects and other documentation improvements.
- Loading branch information
1 parent
0f7b738
commit 0111e2d
Showing
5 changed files
with
105 additions
and
24 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
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
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
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,38 @@ | ||
import sbt._ | ||
import Keys._ | ||
|
||
object Publish { | ||
val nexus = "https://oss.sonatype.org/" | ||
|
||
lazy val settings = Seq( | ||
organization := "com.auginte", | ||
licenses := Seq("Apache 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")), | ||
homepage := Some(url("http://scarango.auginte.com/")), | ||
|
||
publishMavenStyle := true, | ||
publishArtifact in Test := false, | ||
pomIncludeRepository := (_ => false), | ||
|
||
publishTo <<= version { v => | ||
if (v.trim endsWith "SNAPSHOT") | ||
Some("snapshots" at nexus + "content/repositories/snapshots") | ||
else | ||
Some("releases" at nexus + "service/local/staging/deploy/maven2") | ||
}, | ||
|
||
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials"), | ||
|
||
pomExtra := | ||
<scm> | ||
<url>git@github.com:aurelijusb/scarango.git/scarango-macros</url> | ||
<connection>scm:git@github.com:aurelijusb/scarango.git/scarango-macros</connection> | ||
</scm> | ||
<developers> | ||
<developer> | ||
<id>aurelijusb</id> | ||
<name>Aurelijus Banelis</name> | ||
<url>http://aurelijus.banelis.lt</url> | ||
</developer> | ||
</developers> | ||
) | ||
} |
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