You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@predictionio.apache.org by sh...@apache.org on 2017/07/10 06:28:53 UTC

incubator-predictionio git commit: [PIO-100] Remove SLF4J warning message on pio command

Repository: incubator-predictionio
Updated Branches:
  refs/heads/develop b6f168afb -> 0fc9f7f65


[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/develop
Commit: 0fc9f7f6566f25c8574159d9632e6d874669921f
Parents: b6f168a
Author: Shinsuke Sugaya <sh...@apache.org>
Authored: Mon Jul 10 15:28:15 2017 +0900
Committer: Shinsuke Sugaya <sh...@apache.org>
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 := {}