This is an automated email from the ASF dual-hosted git repository.
remm 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 01ff840 Tie the version number to a specific Tomcat version
01ff840 is described below
commit 01ff840f82c8a037687676ba09001ccae42d81c8
Author: remm <[email protected]>
AuthorDate: Wed Apr 15 12:24:57 2026 +0200
Tie the version number to a specific Tomcat version
The plugin bundles the dependency with Tomcat, in particular when it
build executable jars.
---
pom.xml | 21 ++++++---------------
1 file changed, 6 insertions(+), 15 deletions(-)
diff --git a/pom.xml b/pom.xml
index b40d713..6ac38c5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,7 +33,8 @@
<artifactId>tomcat-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
<name>Apache Tomcat Maven Plugin</name>
- <version>3.0-SNAPSHOT</version>
+ <!-- Tomcat 9, 10 and 11 are supported -->
+ <version>9.0.117</version>
<description>The Tomcat Maven Plugin provides goals to manipulate WAR
projects within the Tomcat servlet
container.
@@ -42,6 +43,10 @@
<url>${siteUrl}</url>
<properties>
+
+ <!-- Tomcat version derives from the plugin version -->
+ <tomcatVersion>${project.version}</tomcatVersion>
+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
@@ -76,10 +81,6 @@
<!-- server port for it tests -->
<its.server.port>2008</its.server.port>
- <tomcatVersion>9.0.117</tomcatVersion>
- <!-- Tomcat 10 and 11 should skip tests -->
- <!--<tomcatVersion>11.0.21</tomcatVersion>-->
-
<!-- to prevent isssues with last apache parent pom -->
<arguments />
@@ -525,14 +526,6 @@
<dependencies>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- <version>4.0.1</version>
- <scope>provided</scope>
- </dependency>
-
- <!-- tomcat dependencies -->
<dependency>
<groupId>org.eclipse.jdt</groupId>
<artifactId>ecj</artifactId>
@@ -540,8 +533,6 @@
<version>3.26.0</version>
</dependency>
- <!-- end tomcat dependencies -->
-
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]