Skip to content

Commit

Permalink
Tweaks to correctly publish on Sonatype.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsacha committed Nov 23, 2013
1 parent dd67dcb commit c45d057
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ publishArtifact in(Compile, packageBin) := true

publishArtifact in(Test, packageBin) := false

publishArtifact in(Compile, packageDoc) := false
publishArtifact in(Compile, packageDoc) := true

publishArtifact in(Compile, packageSrc) := true

Expand All @@ -37,7 +37,7 @@ publishTo <<= version {
if (version.contains("-SNAPSHOT"))
Some("Sonatype Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots")
else
Some("Sonatype Nexus Releases" at "https://oss.sonatype.org/content/repositories/releases")
Some("Sonatype Nexus Releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2")
}

pomExtra :=
Expand Down

0 comments on commit c45d057

Please sign in to comment.