This is an automated email from the ASF dual-hosted git repository.
rmaucher 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 e3d75ba Try to fix chicken and egg problem on CI
e3d75ba is described below
commit e3d75ba28fb114fe8598a64c89127c699b589225
Author: remm <[email protected]>
AuthorDate: Sat Apr 18 11:36:34 2026 +0200
Try to fix chicken and egg problem on CI
---
build.sh | 2 +-
pom.xml | 49 ++++++++++++++++---------------------------------
2 files changed, 17 insertions(+), 34 deletions(-)
diff --git a/build.sh b/build.sh
index 11b8df6..c9d4613 100755
--- a/build.sh
+++ b/build.sh
@@ -16,4 +16,4 @@
# under the License.
export MAVEN_OPTS="--add-opens=java.base/java.util.zip=ALL-UNNAMED
--add-opens=java.base/java.util.jar=ALL-UNNAMED
--add-opens=java.base/sun.net.www.protocol.http=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED"
-mvn clean install
+mvn clean install failsafe:integration-test invoker:integration-test
diff --git a/pom.xml b/pom.xml
index be1e97d..857546e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -366,6 +366,22 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>integration-test</goal>
+ </goals>
+ <configuration>
+ <pomIncludes>
+
<include>**/simple-war-exec-project/pom.xml</include>
+ </pomIncludes>
+ <showErrors>true</showErrors>
+
<localRepositoryPath>${basedir}/target/it-repo</localRepositoryPath>
+
<settingsFile>src/it/settings.xml</settingsFile>
+
<postBuildHookScript>verify</postBuildHookScript>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -438,7 +454,6 @@
</inputExcludes>
</configuration>
</plugin>
-
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
@@ -518,38 +533,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-invoker-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>integration-test</goal>
- </goals>
- <configuration>
- <pomIncludes>
-
<include>**/simple-war-exec-project/pom.xml</include>
- </pomIncludes>
- <showErrors>true</showErrors>
-
<localRepositoryPath>${basedir}/target/it-repo</localRepositoryPath>
- <settingsFile>src/it/settings.xml</settingsFile>
- <postBuildHookScript>verify</postBuildHookScript>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]