[PIO-100] Remove SLF4J warning message on pio command Closes #404
Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/commit/0fc9f7f6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/tree/0fc9f7f6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/diff/0fc9f7f6 Branch: refs/heads/livedoc Commit: 0fc9f7f6566f25c8574159d9632e6d874669921f Parents: b6f168a Author: Shinsuke Sugaya <[email protected]> Authored: Mon Jul 10 15:28:15 2017 +0900 Committer: Shinsuke Sugaya <[email protected]> Committed: Mon Jul 10 15:28:15 2017 +0900 ---------------------------------------------------------------------- storage/hdfs/build.sbt | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/0fc9f7f6/storage/hdfs/build.sbt ---------------------------------------------------------------------- diff --git a/storage/hdfs/build.sbt b/storage/hdfs/build.sbt index 47d9dda..50ec379 100644 --- a/storage/hdfs/build.sbt +++ b/storage/hdfs/build.sbt @@ -32,6 +32,11 @@ pomExtra := childrenPomExtra.value assemblyOption in assembly := (assemblyOption in assembly).value.copy(includeScala = false) +assemblyExcludedJars in assembly := { + val cp = (fullClasspath in assembly).value + cp filter {_.data.getName.contains("slf4j-log4j12")} +} + // skip test in assembly test in assembly := {}
