This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/tomcat-maven-plugin.git
The following commit(s) were added to refs/heads/trunk by this push:
new dd2abcd Update Commons compress to 1.28.0
dd2abcd is described below
commit dd2abcd303d3159e4e0f930dd053593993a71299
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Jan 27 11:33:34 2026 +0000
Update Commons compress to 1.28.0
Reported by dependabot.
Applied manually as code changes were also required.
---
pom.xml | 2 +-
.../apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java | 4 ----
.../tomcat/maven/plugin/tomcat7/run/AbstractStandaloneWarMojo.java | 5 -----
.../apache/tomcat/maven/plugin/tomcat8/run/AbstractExecWarMojo.java | 4 ----
.../tomcat/maven/plugin/tomcat8/run/AbstractStandaloneWarMojo.java | 5 -----
5 files changed, 1 insertion(+), 19 deletions(-)
diff --git a/pom.xml b/pom.xml
index 7a1e5ca..23a1b65 100644
--- a/pom.xml
+++ b/pom.xml
@@ -614,7 +614,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
- <version>1.26.0</version>
+ <version>1.28.0</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
diff --git
a/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java
b/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java
index 2a13ecb..ec10cc8 100644
---
a/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java
+++
b/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java
@@ -494,10 +494,6 @@ public abstract class AbstractExecWarMojo
{
throw new MojoExecutionException( e.getMessage(), e );
}
- catch ( ArchiveException e )
- {
- throw new MojoExecutionException( e.getMessage(), e );
- }
catch ( ArtifactNotFoundException e )
{
throw new MojoExecutionException( e.getMessage(), e );
diff --git
a/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractStandaloneWarMojo.java
b/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractStandaloneWarMojo.java
index fc3bf8c..7bf7bae 100644
---
a/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractStandaloneWarMojo.java
+++
b/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractStandaloneWarMojo.java
@@ -18,7 +18,6 @@ package org.apache.tomcat.maven.plugin.tomcat7.run;
* under the License.
*/
-import org.apache.commons.compress.archivers.ArchiveException;
import org.apache.commons.compress.archivers.ArchiveOutputStream;
import org.apache.commons.compress.archivers.ArchiveStreamFactory;
import org.apache.commons.compress.archivers.jar.JarArchiveEntry;
@@ -274,10 +273,6 @@ public abstract class AbstractStandaloneWarMojo
{
throw new MojoExecutionException( e.getMessage(), e );
}
- catch ( ArchiveException e )
- {
- throw new MojoExecutionException( e.getMessage(), e );
- }
catch ( ArtifactNotFoundException e )
{
throw new MojoExecutionException( e.getMessage(), e );
diff --git
a/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/AbstractExecWarMojo.java
b/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/AbstractExecWarMojo.java
index 5f56ccf..5cd9ef1 100644
---
a/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/AbstractExecWarMojo.java
+++
b/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/AbstractExecWarMojo.java
@@ -487,10 +487,6 @@ public abstract class AbstractExecWarMojo
{
throw new MojoExecutionException( e.getMessage(), e );
}
- catch ( ArchiveException e )
- {
- throw new MojoExecutionException( e.getMessage(), e );
- }
catch ( ArtifactNotFoundException e )
{
throw new MojoExecutionException( e.getMessage(), e );
diff --git
a/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/AbstractStandaloneWarMojo.java
b/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/AbstractStandaloneWarMojo.java
index 6f79b0d..844354c 100644
---
a/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/AbstractStandaloneWarMojo.java
+++
b/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/AbstractStandaloneWarMojo.java
@@ -18,7 +18,6 @@ package org.apache.tomcat.maven.plugin.tomcat8.run;
* under the License.
*/
-import org.apache.commons.compress.archivers.ArchiveException;
import org.apache.commons.compress.archivers.ArchiveOutputStream;
import org.apache.commons.compress.archivers.ArchiveStreamFactory;
import org.apache.commons.compress.archivers.jar.JarArchiveEntry;
@@ -276,10 +275,6 @@ public abstract class AbstractStandaloneWarMojo
{
throw new MojoExecutionException( e.getMessage(), e );
}
- catch ( ArchiveException e )
- {
- throw new MojoExecutionException( e.getMessage(), e );
- }
catch ( ArtifactNotFoundException e )
{
throw new MojoExecutionException( e.getMessage(), e );
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]