alejandrohdezma / sbt-remove-test-from-pom   0.1.0

Apache License 2.0 GitHub

SBT plugin to remove test dependencies from POM

Scala versions: 2.12
sbt plugins: 1.0

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")