forked from conduktor/kafka-security-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsonatype.sbt
24 lines (17 loc) · 1.1 KB
/
sonatype.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
// Your profile name of the sonatype account. The default is the same with the organization value
sonatypeProfileName := "com.github.simplesteph"
// To sync with Maven central, you need to supply the following information:
publishMavenStyle := true
// License of your choice
licenses ++= Seq("MIT" -> url("https://github.com/simplesteph/kafka-security-manager/blob/master/LICENSE.txt"))
// Where is the source code hosted
import xerial.sbt.Sonatype._
sonatypeProjectHosting := Some(GitHubHosting("simplesteph", "kafka-security-manager", "[email protected]"))
developers := List(Developer(id="simplesteph",name="Stephane Maarek",email="[email protected]",url= url("https://github.com/simplesteph")))
credentials ++= (for {
username <- sys.env.get("SONATYPE_USERNAME")
password <- sys.env.get("SONATYPE_PASSWORD")
} yield Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", username, password)).toSeq
pgpPublicRing := file("./travis/local.pubring.asc")
pgpSecretRing := file("./travis/local.secring.asc")
pgpPassphrase := sys.env.get("PGP_PASS").map(_.toCharArray)