Skip to content

Commit 1b48e09

Browse files
committed
Set maven cargo test with Tomcat 10.1, set Tomcat 11.x for JDK 17 and later
1 parent 6d3f41d commit 1b48e09

File tree

2 files changed

+14
-2
lines changed
  • commons/auth-filters/authz-filter/framework-functional-tests

2 files changed

+14
-2
lines changed

commons/auth-filters/authz-filter/framework-functional-tests/pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
<properties>
3333
<hostname>localhost</hostname>
3434
<context.uri>framework</context.uri>
35+
<maven.cargo.containerId>tomcat10x</maven.cargo.containerId>
3536
</properties>
3637

3738
<build>
@@ -96,7 +97,7 @@
9697
<configuration>
9798
<!-- Container configuration -->
9899
<container>
99-
<containerId>tomcat10x</containerId>
100+
<containerId>${maven.cargo.containerId}</containerId>
100101
</container>
101102
<!-- Configuration to use with the container or the deployer -->
102103
<configuration>
@@ -189,4 +190,15 @@
189190
<version>${project.version}</version>
190191
</dependency>
191192
</dependencies>
193+
<profiles>
194+
<profile>
195+
<id>jdk17.options</id>
196+
<activation>
197+
<jdk>[17,)</jdk>
198+
</activation>
199+
<properties>
200+
<maven.cargo.containerId>tomcat11x</maven.cargo.containerId>
201+
</properties>
202+
</profile>
203+
</profiles>
192204
</project>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@
935935
<plugin>
936936
<groupId>org.codehaus.cargo</groupId>
937937
<artifactId>cargo-maven3-plugin</artifactId>
938-
<version>1.9.8</version>
938+
<version>1.10.20</version>
939939
</plugin>
940940
<plugin>
941941
<groupId>org.openidentityplatform.commons</groupId>

0 commit comments

Comments
 (0)