diff --git a/build.sbt b/build.sbt index df8dcf6..0131e4d 100644 --- a/build.sbt +++ b/build.sbt @@ -99,6 +99,11 @@ Seq("-noverify", "-XX:+UseConcMarkSweepGC", "-XX:+CMSClassUnloadingEnabled", s"-javaagent:${path}") } +// Exclude a war file from published artifacts +packagedArtifacts := { + packagedArtifacts.value.filterNot { case (artifact, file) => file.getName.endsWith(".war") } +} + // Create executable war file val ExecutableConfig = config("executable").hide Keys.ivyConfigurations += ExecutableConfig