From d574f1c039c92108fd0845f7c6775588b69041a0 Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Mon, 29 Mar 2021 09:57:56 +0700 Subject: [PATCH] Replace Ant and Xerces system-scopes libraries by normal dependencies Signed-off-by: Alexander Kriegisch --- build/pom.xml | 5 ++--- libx/pom.xml | 15 +++++++-------- loadtime/pom.xml | 27 ++++++++++++--------------- pom.xml | 13 ++++++++----- run-all-junit-tests/pom.xml | 10 ++++------ taskdefs/pom.xml | 21 +++++++++------------ testing/pom.xml | 32 ++++++++++++++------------------ tests/pom.xml | 10 ++++------ 8 files changed, 60 insertions(+), 73 deletions(-) diff --git a/build/pom.xml b/build/pom.xml index 61610af7d..fe6b41cb0 100644 --- a/build/pom.xml +++ b/build/pom.xml @@ -21,11 +21,10 @@ + ant ant - 1.0 - system - ${project.basedir}/../lib/ant/lib/ant.jar + ${lib.ant.version} diff --git a/libx/pom.xml b/libx/pom.xml index 00b3a2eae..987ae1d11 100644 --- a/libx/pom.xml +++ b/libx/pom.xml @@ -12,9 +12,8 @@ libx - apache-ant - 1.6.3 - ${ant.name}-${ant.version} + apache-ant + ${lib.ant.name}-${lib.ant.version} @@ -32,7 +31,7 @@ wget - https://archive.apache.org/dist/ant/binaries/${ant.artifact}-bin.zip + https://archive.apache.org/dist/ant/binaries/${lib.ant.artifact}-bin.zip ant 3fa9f816a0c4c63249efad8e6225f2e83794f0c0 @@ -44,7 +43,7 @@ wget - https://archive.apache.org/dist/ant/source/${ant.artifact}-src.zip + https://archive.apache.org/dist/ant/source/${lib.ant.artifact}-src.zip ant b9f3c8c31bb6c9069ad5b655059a17769af12f20 @@ -165,7 +164,7 @@ regexp regexp - 1.2 + ${lib.regexp.version} jar false regexp @@ -210,7 +209,7 @@ This is why we use the TrueZIP plugin: It can seamlessly copy out of or into ZIP files as if they were normal file system paths. No additional moves and deletes with Antrun are necessary. --> - ant/${ant.artifact}-bin.zip/${ant.artifact} + ant/${lib.ant.artifact}-bin.zip/${lib.ant.artifact} ant @@ -249,7 +248,7 @@ This is why we use the TrueZIP plugin: It can seamlessly copy out of or into ZIP files as if they were normal file system paths. No additional moves and deletes with Antrun are necessary. --> - ant/${ant.artifact}-src.zip/${ant.artifact}/src/main + ant/${lib.ant.artifact}-src.zip/${lib.ant.artifact}/src/main ant/ant-src.zip diff --git a/loadtime/pom.xml b/loadtime/pom.xml index 91a850ef7..5b19cb73c 100644 --- a/loadtime/pom.xml +++ b/loadtime/pom.xml @@ -55,18 +55,16 @@ ${project.version} - xml-apis - xml-apis - 1.0 - system - ${project.basedir}/../lib/ant/lib/xml-apis.jar + + xerces + xmlParserAPIs + ${lib.ant.xerces.version} - xercesImpl + + xerces xercesImpl - 1.0 - system - ${project.basedir}/../lib/ant/lib/xercesImpl.jar + ${lib.ant.xerces.version} jrockit @@ -75,17 +73,16 @@ system ${project.basedir}/../lib/ext/jrockit/jrockit.jar - + - ant + + ant ant - 1.0 - system - ${project.basedir}/../lib/ant/lib/ant.jar + ${lib.ant.version} - ant ant - 1.0 - system - ${project.basedir}/../lib/ant/lib/ant.jar + ${lib.ant.version} org.aspectj @@ -263,11 +262,10 @@ ${project.basedir}/../lib/jdiff/jdiff.jar + ant ant-launcher - 1.0 - system - ${project.basedir}/../lib/ant/lib/ant-launcher.jar + ${lib.ant.version} diff --git a/taskdefs/pom.xml b/taskdefs/pom.xml index b686fa663..74abf20a6 100644 --- a/taskdefs/pom.xml +++ b/taskdefs/pom.xml @@ -35,25 +35,22 @@ ${project.version} - xml-apis - xml-apis - 1.0 - system - ${project.basedir}/../lib/ant/lib/xml-apis.jar + + xerces + xmlParserAPIs + ${lib.ant.xerces.version} - xercesImpl + + xerces xercesImpl - 1.0 - system - ${project.basedir}/../lib/ant/lib/xercesImpl.jar + ${lib.ant.xerces.version} + ant ant - 1.0 - system - ${project.basedir}/../lib/ant/lib/ant.jar + ${lib.ant.version} diff --git a/testing/pom.xml b/testing/pom.xml index d0c20be24..bbbe67319 100644 --- a/testing/pom.xml +++ b/testing/pom.xml @@ -92,18 +92,16 @@ ${project.basedir}/../lib/jdiff/jdiff.jar + ant ant - 1.0 - system - ${project.basedir}/../lib/ant/lib/ant.jar + ${lib.ant.version} - jakarta-regexp - jakarta-regexp - 1.0 - system - ${project.basedir}/../lib/regexp/jakarta-regexp-1.2.jar + + regexp + regexp + ${lib.regexp.version} org.aspectj @@ -118,18 +116,16 @@ test-jar - xercesImpl - xercesImpl - 1.0 - system - ${project.basedir}/../lib/ant/lib/xercesImpl.jar + + xerces + xmlParserAPIs + ${lib.ant.xerces.version} - xml-apis - xml-apis - 1.0 - system - ${project.basedir}/../lib/ant/lib/xml-apis.jar + + xerces + xercesImpl + ${lib.ant.xerces.version} junit diff --git a/tests/pom.xml b/tests/pom.xml index 01a890f36..f325b7bd2 100644 --- a/tests/pom.xml +++ b/tests/pom.xml @@ -75,11 +75,10 @@ test-jar + ant ant - 1.0 - system - ${project.basedir}/../lib/ant/lib/ant.jar + ${lib.ant.version} org.aspectj @@ -114,11 +113,10 @@ ${project.version} + ant ant-launcher - 1.0 - system - ${project.basedir}/../lib/ant/lib/ant-launcher.jar + ${lib.ant.version} commons -- 2.39.5