2015-04-01 21:20:12 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.eclipse.jetty.tests</groupId>
|
|
|
|
<artifactId>test-sessions-parent</artifactId>
|
2020-04-08 14:15:04 -04:00
|
|
|
<version>9.4.29-SNAPSHOT</version>
|
2015-04-01 21:20:12 -04:00
|
|
|
</parent>
|
|
|
|
<artifactId>test-infinispan-sessions</artifactId>
|
|
|
|
<name>Jetty Tests :: Sessions :: Infinispan</name>
|
|
|
|
<url>http://www.eclipse.org/jetty</url>
|
2015-04-01 23:20:39 -04:00
|
|
|
<properties>
|
|
|
|
<bundle-symbolic-name>${project.groupId}.sessions.infinispan</bundle-symbolic-name>
|
2020-05-08 00:14:22 -04:00
|
|
|
<!-- if changing this version please update default in RemoteInfinispanTestSupport you will get thanks from Eclipse IDE users -->
|
|
|
|
<!-- 10.1.7.Final -->
|
|
|
|
<infinispan.docker.version>9.4.11.Final</infinispan.docker.version>
|
2015-04-01 23:20:39 -04:00
|
|
|
</properties>
|
2015-04-01 21:20:12 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<!-- DO NOT DEPLOY (or Release) -->
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
2015-03-11 02:29:26 -04:00
|
|
|
<includes>
|
2018-04-05 21:04:27 -04:00
|
|
|
<include>org/eclipse/jetty/server/session/*.java</include>
|
2015-03-11 02:29:26 -04:00
|
|
|
</includes>
|
2015-04-01 21:20:12 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
|
|
|
<artifactId>jetty-test-policy</artifactId>
|
2018-09-04 20:07:17 -04:00
|
|
|
<version>${jetty-test-policy.version}</version>
|
2015-04-01 21:20:12 -04:00
|
|
|
<type>jar</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<includes>**/*.keystore,**/*.pem</includes>
|
|
|
|
<outputDirectory>${jetty.test.policy.loc}</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
2018-04-05 21:04:27 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-webapp</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-client</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.tests</groupId>
|
|
|
|
<artifactId>test-sessions-common</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2019-04-18 03:24:25 -04:00
|
|
|
<artifactId>infinispan-remote-query</artifactId>
|
2018-04-05 21:04:27 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-jmx</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2015-04-01 21:20:12 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
|
|
|
<artifactId>jetty-test-helper</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-09-19 23:31:49 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.infinispan</groupId>
|
|
|
|
<artifactId>infinispan-core</artifactId>
|
2019-03-11 20:20:05 -04:00
|
|
|
<version>${infinispan.version}</version>
|
2017-09-19 23:31:49 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-04-18 03:24:25 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.infinispan</groupId>
|
|
|
|
<artifactId>infinispan-query</artifactId>
|
|
|
|
<version>${infinispan.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-03-11 02:29:26 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.infinispan</groupId>
|
|
|
|
<artifactId>infinispan-client-hotrod</artifactId>
|
2019-03-11 20:20:05 -04:00
|
|
|
<version>${infinispan.version}</version>
|
2015-03-11 02:29:26 -04:00
|
|
|
<scope>test</scope>
|
2015-05-20 05:32:53 -04:00
|
|
|
</dependency>
|
2018-11-06 04:03:48 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.infinispan</groupId>
|
|
|
|
<artifactId>infinispan-remote-query-client</artifactId>
|
2019-03-11 20:20:05 -04:00
|
|
|
<version>${infinispan.version}</version>
|
2018-11-06 04:03:48 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-04-18 03:24:25 -04:00
|
|
|
<dependency>
|
2019-06-24 11:40:30 -04:00
|
|
|
<groupId>org.infinispan.protostream</groupId>
|
|
|
|
<artifactId>protostream</artifactId>
|
|
|
|
<version>4.2.2.Final</version>
|
2019-04-18 03:24:25 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
2020-05-08 00:14:22 -04:00
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>testcontainers</artifactId>
|
2019-04-18 03:24:25 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-04-01 21:20:12 -04:00
|
|
|
</dependencies>
|
|
|
|
<profiles>
|
2018-04-05 21:04:27 -04:00
|
|
|
<!-- to test hotrod, configure a cache called "remote-session-test" -->
|
|
|
|
<profile>
|
2020-05-08 00:14:22 -04:00
|
|
|
<id>remote-session-tests</id>
|
2018-04-05 21:04:27 -04:00
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>hotrod.enabled</name>
|
|
|
|
<value>true</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.java</include>
|
|
|
|
</includes>
|
2018-11-06 04:03:48 -05:00
|
|
|
<systemPropertyVariables>
|
2020-05-08 00:14:22 -04:00
|
|
|
<infinispan.docker.version>${infinispan.docker.version}</infinispan.docker.version>
|
2018-11-06 04:03:48 -05:00
|
|
|
</systemPropertyVariables>
|
2018-04-05 21:04:27 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>jdk10</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>10</jdk>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/ClusteredSessionScavengingTest</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2018-04-13 07:49:02 -04:00
|
|
|
<profile>
|
|
|
|
<id>jdk11</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>11</jdk>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/ClusteredSessionScavengingTest</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2018-04-13 23:03:50 -04:00
|
|
|
<!-- if you want to run test even with jdk10/11 -->
|
|
|
|
<profile>
|
|
|
|
<id>alltests</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>alltests</name>
|
|
|
|
<value>true</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>FOOBAR</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2015-04-01 21:20:12 -04:00
|
|
|
</profiles>
|
|
|
|
</project>
|