From fc0f78401a17177c2f52dac50be5221a490f828f Mon Sep 17 00:00:00 2001 From: Tamas Cservenak Date: Tue, 13 Jun 2023 20:33:41 +0200 Subject: [PATCH] Get rid of security alerts (#190) This is cosmetic only (no plugin code or dependency change), as ITs contains POMs with old dependencies that do trigger security alerts (despite they are harmless). Get rid of them as they look bad. --- src/it/projects/MSHADE-105/bundle/pom.xml | 2 +- src/it/projects/MSHADE-105/shaded-jar/pom.xml | 2 +- .../MSHADE-36-inject-dep-reduced-pom-in-final/pom.xml | 4 ++-- .../MSHADE-36-inject-dep-reduced-pom-in-final/verify.bsh | 4 ++-- .../MSHADE-391_noRelocationKeepOriginalClasses/pom.xml | 2 +- src/it/projects/mini-jar-respect-includes/pom.xml | 8 ++++---- src/it/projects/mini-jar-respect-includes/verify.bsh | 5 ++--- src/it/projects/project-with-reactors-included/pom.xml | 4 ++-- src/it/projects/shading-with-java-8-sources/pom.xml | 2 +- src/it/projects/shading-with-release-sources/pom.xml | 2 +- src/it/projects/users-shader-impl/pom.xml | 2 +- 11 files changed, 18 insertions(+), 19 deletions(-) diff --git a/src/it/projects/MSHADE-105/bundle/pom.xml b/src/it/projects/MSHADE-105/bundle/pom.xml index 31884588..c603506a 100644 --- a/src/it/projects/MSHADE-105/bundle/pom.xml +++ b/src/it/projects/MSHADE-105/bundle/pom.xml @@ -42,7 +42,7 @@ under the License. org.apache.felix maven-bundle-plugin - 2.1.0 + 5.1.9 true diff --git a/src/it/projects/MSHADE-105/shaded-jar/pom.xml b/src/it/projects/MSHADE-105/shaded-jar/pom.xml index 29973676..0d05e6f2 100644 --- a/src/it/projects/MSHADE-105/shaded-jar/pom.xml +++ b/src/it/projects/MSHADE-105/shaded-jar/pom.xml @@ -30,7 +30,7 @@ under the License. commons-io commons-io - 1.4 + 2.13.0 diff --git a/src/it/projects/MSHADE-36-inject-dep-reduced-pom-in-final/pom.xml b/src/it/projects/MSHADE-36-inject-dep-reduced-pom-in-final/pom.xml index db4be437..b1062586 100644 --- a/src/it/projects/MSHADE-36-inject-dep-reduced-pom-in-final/pom.xml +++ b/src/it/projects/MSHADE-36-inject-dep-reduced-pom-in-final/pom.xml @@ -43,12 +43,12 @@ under the License. junit junit - 3.8.2 + 4.13.2 org.codehaus.plexus plexus-utils - 1.4.1 + 3.5.1 diff --git a/src/it/projects/MSHADE-36-inject-dep-reduced-pom-in-final/verify.bsh b/src/it/projects/MSHADE-36-inject-dep-reduced-pom-in-final/verify.bsh index ae48cd93..10a3e158 100644 --- a/src/it/projects/MSHADE-36-inject-dep-reduced-pom-in-final/verify.bsh +++ b/src/it/projects/MSHADE-36-inject-dep-reduced-pom-in-final/verify.bsh @@ -25,13 +25,13 @@ import org.codehaus.plexus.util.*; String[] wanted = { "com/example/Main.class", - "junit/swingui/icons/error.gif", + "junit/runner/logo.gif", "com/example/shaded/org/codehaus/plexus/util/StringUtils.class", }; String[] unwanted = { - "junit/swingui/TestRunner.class", + "junit/textui/TestRunner.class", "org/codehaus/plexus/util/StringUtils.class", }; diff --git a/src/it/projects/MSHADE-391_noRelocationKeepOriginalClasses/pom.xml b/src/it/projects/MSHADE-391_noRelocationKeepOriginalClasses/pom.xml index 4b7a6702..910d1924 100644 --- a/src/it/projects/MSHADE-391_noRelocationKeepOriginalClasses/pom.xml +++ b/src/it/projects/MSHADE-391_noRelocationKeepOriginalClasses/pom.xml @@ -34,7 +34,7 @@ under the License. commons-io commons-io - 1.4 + 2.13.0 commons-lang diff --git a/src/it/projects/mini-jar-respect-includes/pom.xml b/src/it/projects/mini-jar-respect-includes/pom.xml index 221e6deb..081502d0 100644 --- a/src/it/projects/mini-jar-respect-includes/pom.xml +++ b/src/it/projects/mini-jar-respect-includes/pom.xml @@ -36,13 +36,13 @@ under the License. junit junit - 3.8.2 + 4.13.2 org.jdom - jdom - 2.0.2 + jdom2 + 2.0.6.1 @@ -86,7 +86,7 @@ under the License. - org.jdom:jdom + org.jdom:jdom2 ** diff --git a/src/it/projects/mini-jar-respect-includes/verify.bsh b/src/it/projects/mini-jar-respect-includes/verify.bsh index 1da8d7ce..8a33e53b 100644 --- a/src/it/projects/mini-jar-respect-includes/verify.bsh +++ b/src/it/projects/mini-jar-respect-includes/verify.bsh @@ -23,14 +23,13 @@ String[] wanted = { "Main.class", "junit/framework/TestCase.class", - "junit/swingui/icons/error.gif", - "junit/awtui/TestRunner.class", + "junit/runner/logo.gif", + "junit/framework/Assert.class", "org/jdom2/Document.class" }; String[] unwanted = { - "junit/swingui/TestRunner.class", "junit/textui/TestRunner.class", "org/objectweb/asm/Type.class" }; diff --git a/src/it/projects/project-with-reactors-included/pom.xml b/src/it/projects/project-with-reactors-included/pom.xml index 588f6671..59abccc8 100644 --- a/src/it/projects/project-with-reactors-included/pom.xml +++ b/src/it/projects/project-with-reactors-included/pom.xml @@ -46,7 +46,7 @@ under the License. junit junit - 4.10 + 4.13.2 test @@ -62,4 +62,4 @@ under the License. two - \ No newline at end of file + diff --git a/src/it/projects/shading-with-java-8-sources/pom.xml b/src/it/projects/shading-with-java-8-sources/pom.xml index 5e3a6a4a..674cb768 100644 --- a/src/it/projects/shading-with-java-8-sources/pom.xml +++ b/src/it/projects/shading-with-java-8-sources/pom.xml @@ -34,7 +34,7 @@ under the License. junit junit - 4.7 + 4.13.2 test diff --git a/src/it/projects/shading-with-release-sources/pom.xml b/src/it/projects/shading-with-release-sources/pom.xml index 65b25458..ced29dde 100644 --- a/src/it/projects/shading-with-release-sources/pom.xml +++ b/src/it/projects/shading-with-release-sources/pom.xml @@ -34,7 +34,7 @@ under the License. junit junit - 4.7 + 4.13.2 test diff --git a/src/it/projects/users-shader-impl/pom.xml b/src/it/projects/users-shader-impl/pom.xml index f1f46796..b954591d 100644 --- a/src/it/projects/users-shader-impl/pom.xml +++ b/src/it/projects/users-shader-impl/pom.xml @@ -45,7 +45,7 @@ under the License. junit junit - 4.7 + 4.13.2 test