diff --git a/build.sbt b/build.sbt index 5695f3cf..73da9381 100644 --- a/build.sbt +++ b/build.sbt @@ -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") //) @@ -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 := (http://chisel.eecs.berkeley.edu/ + + + apache_v2 + https://opensource.org/licenses/Apache-2.0 + repo + + + + + chick + Charles Markley + https://aspire.eecs.berkeley.edu/author/chick/ + + ), + 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")