SBT plugin to remove test dependencies from POM

This plugin removes test dependencies from SBT-generated POMs if the POM's project sets the publishArtifact in Test setting to false (which is the default value).

If a projects enables the publication of test artifacts this plugin will do nothing:

publishArtifact in Test := true

Installation

Add the following line to your plugins.sbt file:

addSbtPlugin("com.alejandrohdezma" %% "sbt-remove-test-from-pom" % "0.1.0")