You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2023/10/26 08:54:08 UTC

[myfaces-tobago] branch tobago-2.x updated: build(deps): remove/exclude plexus

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

hnoeth pushed a commit to branch tobago-2.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/tobago-2.x by this push:
     new d9a95f9672 build(deps): remove/exclude plexus
d9a95f9672 is described below

commit d9a95f9672efb9d09d97d755e6569f8655db0982
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Thu Oct 26 10:02:22 2023 +0200

    build(deps): remove/exclude plexus
    
    * exclude/remove some plexus dependencies to avoid CVEs
    * plexus-cipher excluded
    * plexus-classworlds excluded
    * plexus-compiler-api removed
    * plexus-component-annotations excluded
    * plexus-interpolation excluded
    * plexus-sec-dispatcher excluded
---
 tobago-tool/tobago-theme-plugin/pom.xml | 41 +++++++++++++++++++++++++++++----
 1 file changed, 36 insertions(+), 5 deletions(-)

diff --git a/tobago-tool/tobago-theme-plugin/pom.xml b/tobago-tool/tobago-theme-plugin/pom.xml
index cc939a0664..2a1f69b8b7 100644
--- a/tobago-tool/tobago-theme-plugin/pom.xml
+++ b/tobago-tool/tobago-theme-plugin/pom.xml
@@ -36,6 +36,16 @@
       <artifactId>maven-plugin-api</artifactId>
       <version>${maven.version}</version>
       <scope>provided</scope>
+      <exclusions>
+        <exclusion>
+          <groupId>org.codehaus.plexus</groupId>
+          <artifactId>plexus-classworlds</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.codehaus.plexus</groupId>
+          <artifactId>plexus-component-annotations</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>org.apache.maven.plugin-tools</groupId>
@@ -58,6 +68,10 @@
           <groupId>org.codehaus.plexus</groupId>
           <artifactId>plexus-archiver</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>org.codehaus.plexus</groupId>
+          <artifactId>plexus-interpolation</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
     <dependency>
@@ -81,11 +95,6 @@
       <version>${maven.version}</version>
       <scope>provided</scope>
     </dependency>
-    <dependency>
-      <groupId>org.codehaus.plexus</groupId>
-      <artifactId>plexus-compiler-api</artifactId>
-      <version>2.13.0</version>
-    </dependency>
     <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-compress</artifactId>
@@ -102,6 +111,28 @@
         <artifactId>maven-core</artifactId>
         <version>${maven.version}</version>
         <scope>provided</scope>
+        <exclusions>
+          <exclusion>
+            <groupId>org.codehaus.plexus</groupId>
+            <artifactId>plexus-cipher</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.codehaus.plexus</groupId>
+            <artifactId>plexus-classworlds</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.codehaus.plexus</groupId>
+            <artifactId>plexus-component-annotations</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.codehaus.plexus</groupId>
+            <artifactId>plexus-interpolation</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.codehaus.plexus</groupId>
+            <artifactId>plexus-sec-dispatcher</artifactId>
+          </exclusion>
+        </exclusions>
       </dependency>
       <!-- guava is a dependency of maven-core (set explicitly, because of
       setting the version, because of CVE-2020-8908) -->