From 930c0e26fc1fe8bb9b457571d7df92904d1e7616 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Mon, 28 Dec 2020 16:59:25 +0100 Subject: optimize maven build process to build source-jar files --- eaaf-springboot-utils/pom.xml | 46 ---------------------------- eaaf_core/pom.xml | 46 ---------------------------- eaaf_core_api/pom.xml | 49 ------------------------------ eaaf_core_utils/pom.xml | 46 ---------------------------- eaaf_modules/eaaf_module_auth_sl20/pom.xml | 44 +-------------------------- eaaf_modules/eaaf_module_moa-sig/pom.xml | 24 --------------- eaaf_modules/eaaf_module_pvp2_core/pom.xml | 46 ---------------------------- eaaf_modules/eaaf_module_pvp2_idp/pom.xml | 29 +----------------- eaaf_modules/eaaf_module_pvp2_sp/pom.xml | 29 ------------------ pom.xml | 44 +++++++++++++++++++++++++++ 10 files changed, 46 insertions(+), 357 deletions(-) diff --git a/eaaf-springboot-utils/pom.xml b/eaaf-springboot-utils/pom.xml index 1e6a85be..825f3ca5 100644 --- a/eaaf-springboot-utils/pom.xml +++ b/eaaf-springboot-utils/pom.xml @@ -78,52 +78,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - 3.7.0 - - 1.8 - 1.8 - - - - - compile - testCompile - - - - - - org.apache.maven.plugins - maven-jar-plugin - 3.1.0 - - - - test-jar - - - - - - - - maven-surefire-plugin - ${surefire.version} - - 1 - - - - org.apache.maven.surefire - surefire-junit47 - ${surefire.version} - - - - com.github.spotbugs spotbugs-maven-plugin diff --git a/eaaf_core/pom.xml b/eaaf_core/pom.xml index 178b53a3..dda9920b 100644 --- a/eaaf_core/pom.xml +++ b/eaaf_core/pom.xml @@ -119,52 +119,6 @@ eaaf_core - - org.apache.maven.plugins - maven-compiler-plugin - 3.7.0 - - 1.8 - 1.8 - - - - - compile - testCompile - - - - - - org.apache.maven.plugins - maven-jar-plugin - 3.1.0 - - - - test-jar - - - - - - - - maven-surefire-plugin - ${surefire.version} - - 1 - - - - org.apache.maven.surefire - surefire-junit47 - ${surefire.version} - - - - com.github.spotbugs spotbugs-maven-plugin diff --git a/eaaf_core_api/pom.xml b/eaaf_core_api/pom.xml index 1db5069c..15b794fa 100644 --- a/eaaf_core_api/pom.xml +++ b/eaaf_core_api/pom.xml @@ -68,55 +68,6 @@ src/main/resources - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.7.0 - - 1.8 - 1.8 - - - - - compile - testCompile - - - - - - org.apache.maven.plugins - maven-jar-plugin - 3.1.0 - - - - test-jar - - - - - - - - maven-surefire-plugin - ${surefire.version} - - 1 - - - - org.apache.maven.surefire - surefire-junit47 - ${surefire.version} - - - - - diff --git a/eaaf_core_utils/pom.xml b/eaaf_core_utils/pom.xml index c7cefa8d..44873a99 100644 --- a/eaaf_core_utils/pom.xml +++ b/eaaf_core_utils/pom.xml @@ -135,52 +135,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - 3.7.0 - - 1.8 - 1.8 - - - - - compile - testCompile - - - - - - org.apache.maven.plugins - maven-jar-plugin - 3.1.0 - - - - test-jar - - - - - - - - maven-surefire-plugin - ${surefire.version} - - 1 - - - - org.apache.maven.surefire - surefire-junit47 - ${surefire.version} - - - - com.github.spotbugs spotbugs-maven-plugin diff --git a/eaaf_modules/eaaf_module_auth_sl20/pom.xml b/eaaf_modules/eaaf_module_auth_sl20/pom.xml index cccb91ad..19bc7230 100644 --- a/eaaf_modules/eaaf_module_auth_sl20/pom.xml +++ b/eaaf_modules/eaaf_module_auth_sl20/pom.xml @@ -32,7 +32,6 @@ at.gv.egiz.eaaf eaaf-core - ${egiz.eaaf.version} org.bitbucket.b_c @@ -99,32 +98,7 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - 3.8.0 - - ${java.version} - ${java.version} - - - - - org.apache.maven.plugins - maven-jar-plugin - 3.1.1 - - - - true - true - true - - - - - + org.apache.maven.plugins maven-clean-plugin @@ -137,22 +111,6 @@ - - - - maven-surefire-plugin - ${surefire.version} - - 1 - - - - org.apache.maven.surefire - surefire-junit47 - ${surefire.version} - - - diff --git a/eaaf_modules/eaaf_module_moa-sig/pom.xml b/eaaf_modules/eaaf_module_moa-sig/pom.xml index c158c497..2917ccef 100644 --- a/eaaf_modules/eaaf_module_moa-sig/pom.xml +++ b/eaaf_modules/eaaf_module_moa-sig/pom.xml @@ -189,15 +189,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - 3.8.0 - - ${java.version} - ${java.version} - - org.apache.maven.plugins @@ -227,21 +218,6 @@ - - - maven-surefire-plugin - ${surefire.version} - - 1 - - - - org.apache.maven.surefire - surefire-junit47 - ${surefire.version} - - - diff --git a/eaaf_modules/eaaf_module_pvp2_core/pom.xml b/eaaf_modules/eaaf_module_pvp2_core/pom.xml index d22d8c37..da1927da 100644 --- a/eaaf_modules/eaaf_module_pvp2_core/pom.xml +++ b/eaaf_modules/eaaf_module_pvp2_core/pom.xml @@ -125,52 +125,6 @@ eaaf_module_pvp2_core - - org.apache.maven.plugins - maven-compiler-plugin - 3.7.0 - - 1.8 - 1.8 - - - - - compile - testCompile - - - - - - org.apache.maven.plugins - maven-jar-plugin - 3.1.0 - - - - test-jar - - - - - - - - maven-surefire-plugin - ${surefire.version} - - 1 - - - - org.apache.maven.surefire - surefire-junit47 - ${surefire.version} - - - - com.github.spotbugs spotbugs-maven-plugin diff --git a/eaaf_modules/eaaf_module_pvp2_idp/pom.xml b/eaaf_modules/eaaf_module_pvp2_idp/pom.xml index b92d0f56..c2e87020 100644 --- a/eaaf_modules/eaaf_module_pvp2_idp/pom.xml +++ b/eaaf_modules/eaaf_module_pvp2_idp/pom.xml @@ -17,7 +17,6 @@ at.gv.egiz.eaaf eaaf_module_pvp2_core - ${egiz.eaaf.version} org.springframework @@ -64,33 +63,7 @@ eaaf_module_pvp2_idp - - - org.apache.maven.plugins - maven-compiler-plugin - 3.7.0 - - 1.8 - 1.8 - - - - - - maven-surefire-plugin - ${surefire.version} - - 1 - - - - org.apache.maven.surefire - surefire-junit47 - ${surefire.version} - - - - + com.github.spotbugs spotbugs-maven-plugin diff --git a/eaaf_modules/eaaf_module_pvp2_sp/pom.xml b/eaaf_modules/eaaf_module_pvp2_sp/pom.xml index f3e9f138..707b251a 100644 --- a/eaaf_modules/eaaf_module_pvp2_sp/pom.xml +++ b/eaaf_modules/eaaf_module_pvp2_sp/pom.xml @@ -17,7 +17,6 @@ at.gv.egiz.eaaf eaaf_module_pvp2_core - ${egiz.eaaf.version} org.slf4j @@ -58,34 +57,6 @@ eaaf_module_pvp2_sp - - - org.apache.maven.plugins - maven-compiler-plugin - 3.7.0 - - 1.8 - 1.8 - - - - - - maven-surefire-plugin - ${surefire.version} - - 1 - - - - org.apache.maven.surefire - surefire-junit47 - ${surefire.version} - - - - - diff --git a/pom.xml b/pom.xml index 88b17165..9799c843 100644 --- a/pom.xml +++ b/pom.xml @@ -648,6 +648,50 @@ 2.7 + + org.apache.maven.plugins + maven-compiler-plugin + 3.7.0 + + 1.8 + 1.8 + + + + + compile + testCompile + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.1.0 + + + + test-jar + + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.2.1 + + + attach-sources + + jar + + + + + maven-surefire-plugin ${surefire.version} -- cgit v1.2.3