From a1b35e204bc28b4120005faa1e165c96eb112d69 Mon Sep 17 00:00:00 2001 From: "C.T. Paterson" Date: Thu, 13 Sep 2018 15:38:41 -0400 Subject: New maven plugin to respect naming convention Change-Id: I613c5cb616457169840810893166a73ff13d7802 Issue-ID: AAI-1547 Signed-off-by: C.T. Paterson --- pom.xml | 21 +++++---------------- project.clj | 11 ++++------- 2 files changed, 9 insertions(+), 23 deletions(-) diff --git a/pom.xml b/pom.xml index 1309264..510c28b 100644 --- a/pom.xml +++ b/pom.xml @@ -3,11 +3,11 @@ org.onap.aai chameleon jar - 1.3.0-SNAPSHOT. + 1.3.0-SNAPSHOT aai-chameleon - 9e290f5c3a984d529133e19bd013e4329a3efaa2 + 220e170103ae5711addcfd84f597fc06a5e3aaca src @@ -77,24 +77,13 @@ org.apache.maven.plugins - maven-assembly-plugin - 2.4.1 - - - jar-with-dependencies - - - - chameleon.server - - - + maven-shade-plugin + 3.2.0 - assemble package - single + shade diff --git a/project.clj b/project.clj index 8d0661a..ec8ef18 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject org.onap.aai/chameleon "1.3.0-SNAPSHOT." +(defproject org.onap.aai/chameleon "1.3.0-SNAPSHOT" :name "chameleon" :dependencies [[org.clojure/clojure "1.9.0"] [org.clojure/core.async "0.4.474"] @@ -64,13 +64,10 @@ {:executions ([:execution [:id "copy-dependencies"] [:goals ([:goal "copy-dependencies"])] [:phase "package"]])}] - [org.apache.maven.plugins/maven-assembly-plugin "2.4.1" - {:configuration ([:descriptorRefs [:descriptorRef "jar-with-dependencies"]] - [:archive [:manifest - [:mainClass "chameleon.server"]]]) - :executions ([:execution [:id "assemble"] + [org.apache.maven.plugins/maven-shade-plugin "3.2.0" + {:executions ([:execution [:phase "package"] - [:goals ([:goal "single"])]])}] + [:goals ([:goal "shade"])]])}] [org.sonatype.plugins/nexus-staging-maven-plugin "1.6.7" {:extensions true :configuration ([:nexusUrl "https://nexus.onap.org"] -- cgit 1.2.3-korg