jetty.project/tests/test-sessions/test-mongodb-sessions/pom.xml

118 lines
4.1 KiB
XML
Raw Normal View History

2017-06-06 11:55: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>
2021-06-30 07:30:31 -04:00
<version>9.4.44-SNAPSHOT</version>
2017-06-06 11:55:12 -04:00
</parent>
<artifactId>test-mongodb-sessions</artifactId>
<name>Jetty Tests :: Sessions :: Mongo</name>
<properties>
<bundle-symbolic-name>${project.groupId}.sessions.mongo</bundle-symbolic-name>
Jetty 9.4.x 2231 refactor session tests (#2382) * Issue #2231 WIP * Issue #2231 Add tests for FileSessionDataStore and MongoSessionDataStore. * Issue #2231 create unit tests for every SessionDataStore Signed-off-by: Jan Bartel <janb@webtide.com> * Issue #2231 Refactor session tests Signed-off-by: Jan Bartel <janb@webtide.com> * Issue #2231 Refactor and cleanup session tests. Signed-off-by: Jan Bartel <janb@webtide.com> * hazelcast tests faster Signed-off-by: olivier lamy <olamy@webtide.com> * make hazelcasts tests even faster Signed-off-by: olivier lamy <olamy@webtide.com> * cleanup comments Signed-off-by: olivier lamy <olamy@webtide.com> * run mongodb test in embdedded mode Signed-off-by: olivier lamy <olamy@webtide.com> * mongodb embedded test enabled per default Signed-off-by: olivier lamy <olamy@webtide.com> * Issue #2231 more session tests Signed-off-by: Jan Bartel <janb@webtide.com> * fix mongodb embedded tests Signed-off-by: olivier lamy <olamy@webtide.com> * cleanup code Signed-off-by: olivier lamy <olamy@webtide.com> * use Logger rather than System.err.println Signed-off-by: olivier lamy <olamy@webtide.com> * Issue #2231 Add test for DefaultSessionCache Signed-off-by: Jan Bartel <janb@webtide.com> * Issue #2231 Redisable mongo tests by default. Signed-off-by: Jan Bartel <janb@webtide.com> * fix issue with empty local repo build Signed-off-by: olivier lamy <oliver.lamy@gmail.com> * jenkins should run mongodb tests Signed-off-by: olivier lamy <oliver.lamy@gmail.com> * build this plugin last so we should not hit the maven invoker plugin Signed-off-by: olivier lamy <oliver.lamy@gmail.com> * build test first for this one Signed-off-by: olivier lamy <oliver.lamy@gmail.com> * use invoker plugin 3.0.2-SNAPSHOT as there is a fix for https://issues.apache.org/jira/browse/MINVOKER-191 Signed-off-by: olivier lamy <oliver.lamy@gmail.com> * temporary use of apache snapshots repository because of maven-invoker-plugin 3.0.2-SNAPSHOT Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-03-28 06:14:15 -04:00
<embedmongo.host>localhost</embedmongo.host>
<!-- if changing this version please update default in MongoTestHelper you will get thanks from Eclipse IDE users -->
<mongo.docker.version>2.2.7</mongo.docker.version>
</properties>
2017-06-06 11:55: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>
<systemPropertyVariables>
<mongo.docker.version>${mongo.docker.version}</mongo.docker.version>
</systemPropertyVariables>
2017-06-06 11:55: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>
<version>${jetty-test-policy.version}</version>
2017-06-06 11:55: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>
<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>
<artifactId>jetty-nosql</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-jmx</artifactId>
<version>${project.version}</version>
<optional>true</optional>
</dependency>
2017-06-06 11:55:12 -04:00
<dependency>
<groupId>org.eclipse.jetty.toolchain</groupId>
<artifactId>jetty-test-helper</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
2017-06-06 11:55:12 -04:00
</dependencies>
</project>