Don't use keycloak-model-mongo model by default

This commit is contained in:
mposolda 2013-10-10 10:24:54 +02:00
parent 9f91002348
commit 7b357fbfec
4 changed files with 6 additions and 20 deletions

View file

@ -37,6 +37,6 @@
<module>api</module>
<module>picketlink</module>
<module>jpa</module>
<module>mongo</module>
<!--<module>mongo</module>-->
</modules>
</project>

14
pom.xml
View file

@ -299,20 +299,6 @@
<version>${mysql.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-bom</artifactId>
<version>1.1.1.Final</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.extension</groupId>
<artifactId>arquillian-drone-bom</artifactId>
<version>1.2.0.Beta1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

View file

@ -34,12 +34,12 @@
<artifactId>keycloak-model-picketlink</artifactId>
<version>${project.version}</version>
</dependency>
<!-- TODO: Remove -->
<dependency>
<!--<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-model-mongo</artifactId>
<version>${project.version}</version>
</dependency>
</dependency>-->
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-social-core</artifactId>

View file

@ -32,10 +32,10 @@ public abstract class AbstractKeycloakTest {
static
{
// TODO: Disable MongoDB by default and enable it just for some specific maven profile (system property)?
// TODO: MongoDB disabled by default
TEST_CONTEXTS = new SessionFactoryTestContext[] {
new PicketlinkSessionFactoryTestContext(),
new MongoDBSessionFactoryTestContext()
// new MongoDBSessionFactoryTestContext()
};
}