diff --git a/build.sbt b/build.sbt
index 9398f0562b7..017f54a3a58 100644
--- a/build.sbt
+++ b/build.sbt
@@ -63,6 +63,7 @@ lazy val publishSettings = Seq (
publishMavenStyle := true,
publishArtifact in Test := false,
pomIncludeRepository := { x => false },
+ // Don't add 'scm' elements if we have a git.remoteRepo definition.
pomExtra := http://chisel.eecs.berkeley.edu/
@@ -71,10 +72,6 @@ lazy val publishSettings = Seq (
repo
-
- https://github.com/freechipsproject/chisel3.git
- scm:git:github.com/freechipsproject/chisel3.git
-
jackbackrack