(refs #1748) Exclude gitbucket.war from published artifacts

This commit is contained in:
Naoki Takezoe
2017-10-21 17:04:35 +09:00
parent e46e55f985
commit 94ca597cf8

View File

@@ -99,6 +99,11 @@ javaOptions in Jetty ++= Option(System.getenv().get("JREBEL")).toSeq.flatMap { p
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