Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Remove explicit pom scm from build.sbt (#281)
Browse files Browse the repository at this point in the history
This is now set by sbt-ci-release

(cherry picked from commit 007c9c0)

# Conflicts:
#	build.sbt
  • Loading branch information
jackkoenig authored and mergify-bot committed Dec 4, 2020
1 parent ee512b5 commit 27acad7
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ libraryDependencies ++= Seq(
"org.json4s" %% "json4s-native" % "3.6.8"
)

<<<<<<< HEAD
//javaOptions in run ++= Seq(
//"-Xms2G", "-Xmx4G", "-XX:MaxPermSize=1024M", "-XX:+UseConcMarkSweepGC")
//)
Expand Down Expand Up @@ -122,6 +123,35 @@ publishTo := {
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT")) {
Some("snapshots" at nexus + "content/repositories/snapshots")
=======
lazy val publishSettings = Seq(
publishMavenStyle := true,
publishArtifact in Test := false,
pomIncludeRepository := { x => false },
pomExtra := (<url>http://chisel.eecs.berkeley.edu/</url>
<licenses>
<license>
<name>apache_v2</name>
<url>https://opensource.org/licenses/Apache-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>chick</id>
<name>Charles Markley</name>
<url>https://aspire.eecs.berkeley.edu/author/chick/</url>
</developer>
</developers>),
publishTo := {
val v = version.value
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT")) {
Some("snapshots".at(nexus + "content/repositories/snapshots"))
} else {
Some("releases".at(nexus + "service/local/staging/deploy/maven2"))
}
>>>>>>> 007c9c0... Remove explicit pom scm from build.sbt (#281)
}
else {
Some("releases" at nexus + "service/local/staging/deploy/maven2")
Expand Down

0 comments on commit 27acad7

Please sign in to comment.