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 dada63d Fix main integration test
dada63d is described below
commit dada63d7b98f9d7014a3bb6e35df1086b01e7540
Author: remm <[email protected]>
AuthorDate: Fri Apr 10 13:02:06 2026 +0200
Fix main integration test
---
deploySite.sh | 15 +++++++++++++++
run-its.sh | 19 +++++++++++++++++++
src/it/simple-war-exec-project/pom.xml | 2 +-
src/it/simple-war-exec-project/verify.bsh | 1 -
4 files changed, 35 insertions(+), 2 deletions(-)
diff --git a/deploySite.sh b/deploySite.sh
index c876c99..4e5b971 100644
--- a/deploySite.sh
+++ b/deploySite.sh
@@ -1 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
mvn clean site-deploy scm-publish:publish-scm $@
diff --git a/run-its.sh b/run-its.sh
new file mode 100755
index 0000000..f86118d
--- /dev/null
+++ b/run-its.sh
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+export MAVEN_OPTS="--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.util.zip=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
--add-opens=java.base/java.net=ALL-UNNAMED
--add-opens=java.base/java.nio=ALL-UNNAMED
--add-opens=java.base/java.nio.channels=ALL-UNNAMED
--add-opens=java.base/java.text=ALL-UNNAMED
--add-opens=java.base/java.time=ALL-UNNAMED --add-opens=java. [...]
+mvn install -P run-its "$@"
diff --git a/src/it/simple-war-exec-project/pom.xml
b/src/it/simple-war-exec-project/pom.xml
index b1976f2..f58576c 100644
--- a/src/it/simple-war-exec-project/pom.xml
+++ b/src/it/simple-war-exec-project/pom.xml
@@ -79,7 +79,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
- <version>2.5.6</version>
+ <version>5.3.39</version>
</dependency>
<dependency>
<groupId>junit</groupId>
diff --git a/src/it/simple-war-exec-project/verify.bsh
b/src/it/simple-war-exec-project/verify.bsh
index 651080e..6cfb56b 100644
--- a/src/it/simple-war-exec-project/verify.bsh
+++ b/src/it/simple-war-exec-project/verify.bsh
@@ -21,7 +21,6 @@
import java.io.*;
import java.util.*;
import java.util.jar.*;
-import org.codehaus.plexus.util.*;
boolean result = true;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]