2014-03-03 01:28:58 +00: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/xsd/maven-4.0.0.xsd">
|
|
|
|
<parent>
|
|
|
|
<artifactId>keycloak-parent</artifactId>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2014-06-19 09:19:10 +00:00
|
|
|
<version>1.0-beta-4-SNAPSHOT</version>
|
2014-03-03 01:28:58 +00:00
|
|
|
<relativePath>../../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>keycloak-model-mongo</artifactId>
|
|
|
|
<name>Keycloak Model Mongo</name>
|
|
|
|
<description/>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
<artifactId>bcprov-jdk16</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2014-04-10 15:29:47 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.iharder</groupId>
|
|
|
|
<artifactId>base64</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2014-03-03 01:28:58 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-core</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-model-api</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2014-04-10 15:29:47 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2014-07-11 12:21:40 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-connections-mongo</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2014-06-13 21:17:45 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-invalidation-cache-model</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-03-03 01:28:58 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.logging</groupId>
|
|
|
|
<artifactId>jboss-logging</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mongodb</groupId>
|
|
|
|
<artifactId>mongo-java-driver</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2014-07-11 23:29:11 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-model-sessions-mem</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
2014-03-03 01:28:58 +00:00
|
|
|
|
2014-07-11 23:29:11 +00:00
|
|
|
</dependency>
|
2014-03-18 17:59:22 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-model-tests</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-04-10 15:29:47 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>resteasy-jaxrs</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
2014-07-11 12:21:40 +00:00
|
|
|
<!--<dependency>-->
|
|
|
|
<!--<groupId>org.keycloak</groupId>-->
|
|
|
|
<!--<artifactId>keycloak-model-tests</artifactId>-->
|
|
|
|
<!--<version>${project.version}</version>-->
|
|
|
|
<!--<classifier>tests</classifier>-->
|
|
|
|
<!--<scope>test</scope>-->
|
|
|
|
<!--</dependency>-->
|
2014-03-03 01:28:58 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<properties>
|
2014-05-15 16:01:19 +00:00
|
|
|
<keycloak.model.mongo.host>localhost</keycloak.model.mongo.host>
|
|
|
|
<keycloak.model.mongo.port>27018</keycloak.model.mongo.port>
|
|
|
|
<keycloak.model.mongo.db>keycloak</keycloak.model.mongo.db>
|
|
|
|
<keycloak.model.mongo.clearOnStartup>true</keycloak.model.mongo.clearOnStartup>
|
2014-05-29 00:14:23 +00:00
|
|
|
<keycloak.model.mongo.bindIp>127.0.0.1</keycloak.model.mongo.bindIp>
|
2014-03-03 01:28:58 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
2014-03-31 09:17:16 +00:00
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
<target>${maven.compiler.target}</target>
|
2014-03-03 01:28:58 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Postpone tests to "integration-test" phase, so that we can bootstrap embedded mongo on 27018 before running tests -->
|
2014-07-11 12:21:40 +00:00
|
|
|
<!--<plugin>-->
|
|
|
|
<!--<groupId>org.apache.maven.plugins</groupId>-->
|
|
|
|
<!--<artifactId>maven-surefire-plugin</artifactId>-->
|
|
|
|
<!--<executions>-->
|
|
|
|
<!--<execution>-->
|
|
|
|
<!--<id>test</id>-->
|
|
|
|
<!--<phase>integration-test</phase>-->
|
|
|
|
<!--<goals>-->
|
|
|
|
<!--<goal>test</goal>-->
|
|
|
|
<!--</goals>-->
|
|
|
|
<!--<configuration>-->
|
|
|
|
<!--<systemPropertyVariables>-->
|
|
|
|
<!--<keycloak.model.mongo.host>${keycloak.model.mongo.host}</keycloak.model.mongo.host>-->
|
|
|
|
<!--<keycloak.model.mongo.port>${keycloak.model.mongo.port}</keycloak.model.mongo.port>-->
|
|
|
|
<!--<keycloak.model.mongo.db>${keycloak.model.mongo.db}</keycloak.model.mongo.db>-->
|
|
|
|
<!--<keycloak.model.mongo.clearOnStartup>${keycloak.model.mongo.clearOnStartup}</keycloak.model.mongo.clearOnStartup>-->
|
|
|
|
<!--<keycloak.model.mongo.bindIp>${keycloak.model.mongo.bindIp}</keycloak.model.mongo.bindIp>-->
|
|
|
|
<!--</systemPropertyVariables>-->
|
|
|
|
<!--<dependenciesToScan>-->
|
|
|
|
<!--<dependency>org.keycloak:keycloak-model-tests</dependency>-->
|
|
|
|
<!--</dependenciesToScan>-->
|
|
|
|
<!--</configuration>-->
|
|
|
|
<!--</execution>-->
|
|
|
|
<!--<execution>-->
|
|
|
|
<!--<id>default-test</id>-->
|
|
|
|
<!--<configuration>-->
|
|
|
|
<!--<skip>true</skip>-->
|
|
|
|
<!--</configuration>-->
|
|
|
|
<!--</execution>-->
|
|
|
|
<!--</executions>-->
|
|
|
|
<!--</plugin>-->
|
2014-03-03 01:28:58 +00:00
|
|
|
|
|
|
|
<!-- Embedded mongo -->
|
2014-07-11 12:21:40 +00:00
|
|
|
<!--<plugin>-->
|
|
|
|
<!--<groupId>com.github.joelittlejohn.embedmongo</groupId>-->
|
|
|
|
<!--<artifactId>embedmongo-maven-plugin</artifactId>-->
|
|
|
|
<!--<executions>-->
|
|
|
|
<!--<execution>-->
|
|
|
|
<!--<id>start-mongodb</id>-->
|
|
|
|
<!--<phase>pre-integration-test</phase>-->
|
|
|
|
<!--<goals>-->
|
|
|
|
<!--<goal>start</goal>-->
|
|
|
|
<!--</goals>-->
|
|
|
|
<!--<configuration>-->
|
|
|
|
<!--<port>${keycloak.model.mongo.port}</port>-->
|
|
|
|
<!--<logging>file</logging>-->
|
|
|
|
<!--<logFile>${project.build.directory}/mongodb.log</logFile>-->
|
|
|
|
<!--<bindIp>${keycloak.model.mongo.bindIp}</bindIp>-->
|
|
|
|
<!--</configuration>-->
|
|
|
|
<!--</execution>-->
|
|
|
|
<!--<execution>-->
|
|
|
|
<!--<id>stop-mongodb</id>-->
|
|
|
|
<!--<phase>post-integration-test</phase>-->
|
|
|
|
<!--<goals>-->
|
|
|
|
<!--<goal>stop</goal>-->
|
|
|
|
<!--</goals>-->
|
|
|
|
<!--</execution>-->
|
|
|
|
<!--</executions>-->
|
|
|
|
<!--</plugin>-->
|
2014-03-03 01:28:58 +00:00
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2013-10-09 17:41:59 +00:00
|
|
|
</project>
|