Skip to content

Commit

Permalink
Deployed to sonatype
Browse files Browse the repository at this point in the history
  • Loading branch information
jakehschwartz committed May 4, 2017
1 parent 4d335d3 commit f18b113
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 20 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ language: scala
scala:
- 2.12.2
jdk:
- oraclejdk8
- oraclejdk8

branches:
only:
- master
57 changes: 38 additions & 19 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,41 @@ scalacOptions ++= Seq(
"-language:implicitConversions"
)

homepage := Some(url("https://jakehschwartz.github.io/finatra-swagger"))

scmInfo := Some(ScmInfo(url("https://github.com/jakehschwartz/finatra-swagger"),
"[email protected]:jakehschwartz/finatra-swagger.git"))

developers ++= List(
Developer("jakehschwartz",
"Jake Schwartz",
"[email protected]",
url("https://github.com/jakehschwartz")),
Developer("xiaodongw",
"Xiaodong Wang",
"[email protected]",
url("https://github.com/xiaodongw"))
)

licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))

pomIncludeRepository := (_ => false)
pomIncludeRepository := { _ => false }

publishMavenStyle := true

publishTo := {
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")
}

pomExtra in Global := {
<url>https://jakehschwartz.github.io/finatra-swagger</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<scm>
<connection>https://github.com/jakehschwartz/finatra-swagger.git</connection>
<developerConnection>https://github.com/jakehschwartz/finatra-swagger.git</developerConnection>
<url>https://github.com/jakehschwartz/finatra-swagger</url>
</scm>
<developers>
<developer>
<id>jakehschwartz</id>
<name>Jake Schwartz</name>
<url>https://www.jakehschwartz.com</url>
</developer>
<developer>
<id>xiaodongw</id>
<name>Xiaodong Wang</name>
<url>https://github.com/xiaodongw</url>
</developer>
</developers>
}

0 comments on commit f18b113

Please sign in to comment.