From 252ab7bcd1134e895b2531c175571e873cecbe1c Mon Sep 17 00:00:00 2001 From: moparisthebest Date: Mon, 15 Apr 2019 00:06:16 -0400 Subject: [PATCH] Update pom.xml files to support both standard and full jars --- http-doh-listener/pom.xml | 3 ++ jDnsProxy-all/pom.xml | 16 +++++++++ pom.xml | 75 ++++++++++++++++++++++----------------- xmpp-dox/pom.xml | 5 +++ 4 files changed, 66 insertions(+), 33 deletions(-) diff --git a/http-doh-listener/pom.xml b/http-doh-listener/pom.xml index 4d0387b..481d30f 100644 --- a/http-doh-listener/pom.xml +++ b/http-doh-listener/pom.xml @@ -53,6 +53,9 @@ spring-boot-maven-plugin ${spring.boot.version} + + maven-shade-plugin + diff --git a/jDnsProxy-all/pom.xml b/jDnsProxy-all/pom.xml index 95b978d..57cca6f 100644 --- a/jDnsProxy-all/pom.xml +++ b/jDnsProxy-all/pom.xml @@ -29,5 +29,21 @@ ${project.artifactId} + + + maven-shade-plugin + + + package + + shade + + + + + + + + diff --git a/pom.xml b/pom.xml index b040778..9e312bf 100644 --- a/pom.xml +++ b/pom.xml @@ -62,9 +62,21 @@ -Xlint:all + -Werror + + maven-jar-plugin + 3.1.1 + + + + com.moparisthebest.dns.DnsProxy + + + + org.sonatype.plugins nexus-staging-maven-plugin @@ -76,39 +88,6 @@ true - - maven-shade-plugin - 3.2.1 - - - package - - shade - - - false - false - ${project.build.directory}/${project.artifactId}-full.jar - - - *:* - - META-INF/*.SF - META-INF/*.DSA - META-INF/*.RSA - - - - - - - com.moparisthebest.dns.DnsProxy - - - - - - @@ -120,6 +99,36 @@ -Xdoclint:none + + maven-shade-plugin + 3.2.1 + + + package + + shade + + + false + false + ${project.build.directory}/${project.artifactId}-full.jar + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + + + + + + + diff --git a/xmpp-dox/pom.xml b/xmpp-dox/pom.xml index 24b71e2..253badc 100644 --- a/xmpp-dox/pom.xml +++ b/xmpp-dox/pom.xml @@ -30,5 +30,10 @@ ${project.artifactId} + + + maven-shade-plugin + +