Repository: incubator-edgent-samples Updated Branches: refs/heads/develop 081d709c3 -> 5f06787fe
add hint about utilizing uber jar minimizeJar Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent-samples/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent-samples/commit/5f06787f Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent-samples/tree/5f06787f Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent-samples/diff/5f06787f Branch: refs/heads/develop Commit: 5f06787fe48473b7a69d949175d1eb3295790ee4 Parents: 081d709 Author: Dale LaBossiere <dlab...@us.ibm.com> Authored: Fri Dec 15 13:57:06 2017 -0500 Committer: Dale LaBossiere <dlab...@us.ibm.com> Committed: Fri Dec 15 13:57:06 2017 -0500 ---------------------------------------------------------------------- pom.xml | 5 +++++ template/pom.xml | 5 +++++ 2 files changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-edgent-samples/blob/5f06787f/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index fe2d0ad..be6169b 100644 --- a/pom.xml +++ b/pom.xml @@ -261,6 +261,11 @@ paho.mqtt. Apparently watson-iot or paho.mqtt has some behind the scenes depedency that's not captured in the uber jar when minimize is true. + + Hmm... apparently there may be a way to address this sort + of thing using shade plugin configuration filters. + See + https://stackoverflow.com/questions/8817257/minimize-an-uber-jar-correctly-using-shade-plugin --> <!-- <minimizeJar>true</minimizeJar> --> <shadedArtifactAttached>true</shadedArtifactAttached> http://git-wip-us.apache.org/repos/asf/incubator-edgent-samples/blob/5f06787f/template/pom.xml ---------------------------------------------------------------------- diff --git a/template/pom.xml b/template/pom.xml index 257c06a..80e87d9 100644 --- a/template/pom.xml +++ b/template/pom.xml @@ -268,6 +268,11 @@ paho.mqtt. Apparently watson-iot or paho.mqtt has some behind the scenes depedency that's not captured in the uber jar when minimize is true. + + Hmm... apparently there may be a way to address this sort + of thing using shade plugin configuration filters. + See + https://stackoverflow.com/questions/8817257/minimize-an-uber-jar-correctly-using-shade-plugin --> <!-- <minimizeJar>true</minimizeJar> --> <shadedArtifactAttached>true</shadedArtifactAttached>