diff --git a/.gitignore b/.gitignore index 0789c14..123ffdc 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ target/ logs/ *.sqlite lib/ +dependency-reduced-pom.xml diff --git a/Makefile b/Makefile index e9098ff..20e1096 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ .PHONY: clean build format lint run-dev run-dev-pitch run-rti test verify clean-vendor refresh run-debug-portico -APP_JAR := target/hla-xapi-1.0-SNAPSHOT-jar-with-dependencies.jar +APP_JAR := target/hla-xapi-1.0-SNAPSHOT.jar PORTICO_REPO_URL ?= https://github.com/yetanalytics/portico.git PORTICO_REF ?= yet_patch_object_subs PORTICO_JAR ?= lib/maven-repository/org/porticoproject/portico/3.0.0-local/portico-3.0.0-local.jar diff --git a/pom.xml b/pom.xml index 28177f1..fc1830e 100644 --- a/pom.xml +++ b/pom.xml @@ -180,6 +180,11 @@ spotless-maven-plugin 2.43.0 + + org.apache.maven.plugins + maven-shade-plugin + 3.6.2 + org.apache.maven.plugins maven-checkstyle-plugin @@ -254,25 +259,34 @@ org.apache.maven.plugins - maven-assembly-plugin - 3.7.1 - - - - com.yetanalytics.hlaxapi.App - - - - src/main/assembly/jar-with-dependencies.xml - - + maven-shade-plugin - make-assembly package - single + shade + + + + + + + com.yetanalytics.hlaxapi.App + + + + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + diff --git a/src/main/assembly/jar-with-dependencies.xml b/src/main/assembly/jar-with-dependencies.xml deleted file mode 100644 index 90302c7..0000000 --- a/src/main/assembly/jar-with-dependencies.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - jar-with-dependencies - - jar - - false - - - metaInf-services - - - - - / - true - true - runtime - - -