You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2023/06/13 18:27:57 UTC

[maven-shade-plugin] branch get-rid-of-alerts created (now 422be20)

This is an automated email from the ASF dual-hosted git repository.

cstamas pushed a change to branch get-rid-of-alerts
in repository https://gitbox.apache.org/repos/asf/maven-shade-plugin.git


      at 422be20  Get rid of security alerts

This branch includes the following new commits:

     new 422be20  Get rid of security alerts

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-shade-plugin] 01/01: Get rid of security alerts

Posted by cs...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

cstamas pushed a commit to branch get-rid-of-alerts
in repository https://gitbox.apache.org/repos/asf/maven-shade-plugin.git

commit 422be20c5c310ef94a5639597335ceaa804aaa15
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Tue Jun 13 20:26:55 2023 +0200

    Get rid of security alerts
    
    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 +-
 src/it/projects/MSHADE-36-inject-dep-reduced-pom-in-final/pom.xml | 4 ++--
 .../projects/MSHADE-36-inject-dep-reduced-pom-in-final/verify.bsh | 4 ++--
 .../projects/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              | 6 +++---
 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, 19 insertions(+), 19 deletions(-)

diff --git a/src/it/projects/MSHADE-105/bundle/pom.xml b/src/it/projects/MSHADE-105/bundle/pom.xml
index 3188458..c603506 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.
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
-        <version>2.1.0</version>
+        <version>5.1.9</version>
         <extensions>true</extensions>
         <configuration>
           <instructions>
diff --git a/src/it/projects/MSHADE-105/shaded-jar/pom.xml b/src/it/projects/MSHADE-105/shaded-jar/pom.xml
index 2997367..0d05e6f 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.
     <dependency>
       <groupId>commons-io</groupId>
       <artifactId>commons-io</artifactId>
-      <version>1.4</version>
+      <version>2.13.0</version>
     </dependency>
   </dependencies>
   <build>
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 db4be43..b106258 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.
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
-      <version>3.8.2</version>
+      <version>4.13.2</version>
     </dependency>
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-utils</artifactId>
-      <version>1.4.1</version>
+      <version>3.5.1</version>
     </dependency>
   </dependencies>
 
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 ae48cd9..10a3e15 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 4b7a670..910d192 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.
         <dependency>
             <groupId>commons-io</groupId>
             <artifactId>commons-io</artifactId>
-            <version>1.4</version>
+            <version>2.13.0</version>
         </dependency>
         <dependency>
             <groupId>commons-lang</groupId>
diff --git a/src/it/projects/mini-jar-respect-includes/pom.xml b/src/it/projects/mini-jar-respect-includes/pom.xml
index 221e6de..081502d 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.
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
-      <version>3.8.2</version>
+      <version>4.13.2</version>
     </dependency>
 
     <dependency>
       <groupId>org.jdom</groupId>
-      <artifactId>jdom</artifactId>
-      <version>2.0.2</version>
+      <artifactId>jdom2</artifactId>
+      <version>2.0.6.1</version>
     </dependency>
     
     <dependency>
@@ -86,7 +86,7 @@ under the License.
                 </filter>
                 <!-- make sure that include patterns only affect their specified artifacts -->
                 <filter>
-                  <artifact>org.jdom:jdom</artifact>
+                  <artifact>org.jdom:jdom2</artifact>
                   <includes>
                     <include>**</include>
                   </includes>
diff --git a/src/it/projects/mini-jar-respect-includes/verify.bsh b/src/it/projects/mini-jar-respect-includes/verify.bsh
index 1da8d7c..8ac50ce 100644
--- a/src/it/projects/mini-jar-respect-includes/verify.bsh
+++ b/src/it/projects/mini-jar-respect-includes/verify.bsh
@@ -23,14 +23,14 @@ 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",
     "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 588f667..59abccc 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.
       <dependency>
         <groupId>junit</groupId>
         <artifactId>junit</artifactId>
-        <version>4.10</version>
+        <version>4.13.2</version>
         <scope>test</scope>
       </dependency>
       <dependency>
@@ -62,4 +62,4 @@ under the License.
     <module>two</module>
   </modules>
 
-</project>
\ No newline at end of file
+</project>
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 5e3a6a4..674cb76 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.
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
-      <version>4.7</version>
+      <version>4.13.2</version>
       <scope>test</scope>
     </dependency>
   </dependencies>
diff --git a/src/it/projects/shading-with-release-sources/pom.xml b/src/it/projects/shading-with-release-sources/pom.xml
index 65b2545..ced29dd 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.
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
-      <version>4.7</version>
+      <version>4.13.2</version>
       <scope>test</scope>
     </dependency>
   </dependencies>
diff --git a/src/it/projects/users-shader-impl/pom.xml b/src/it/projects/users-shader-impl/pom.xml
index f1f4679..b954591 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.
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
-      <version>4.7</version>
+      <version>4.13.2</version>
       <scope>test</scope>
     </dependency>
   </dependencies>