From bc301baa1f18ec6c6636b1e9a6c0cb245849b403 Mon Sep 17 00:00:00 2001 From: Stan Silvert Date: Fri, 15 Aug 2014 08:55:04 -0400 Subject: [PATCH] By default, the datasource should be KeycloakDS instead of ExampleDS. --- distribution/war-zip/pom.xml | 24 +------------------ .../resources/META-INF/keycloak-server.json | 2 +- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/distribution/war-zip/pom.xml b/distribution/war-zip/pom.xml index da0e2ac314..be566d1f9e 100755 --- a/distribution/war-zip/pom.xml +++ b/distribution/war-zip/pom.xml @@ -48,29 +48,7 @@ - - - com.google.code.maven-replacer-plugin - replacer - 1.5.2 - - - prepare-package - - replace - - - - - ${project.build.directory}/unpacked/deployments/auth-server.war/WEB-INF/classes/META-INF/keycloak-server.json - - - java:jboss/datasources/ExampleDS - java:jboss/datasources/KeycloakDS - - - - + maven-assembly-plugin 2.4 diff --git a/server/src/main/resources/META-INF/keycloak-server.json b/server/src/main/resources/META-INF/keycloak-server.json index 9ce6e7455e..49fc8c5fac 100755 --- a/server/src/main/resources/META-INF/keycloak-server.json +++ b/server/src/main/resources/META-INF/keycloak-server.json @@ -65,7 +65,7 @@ "connectionsJpa": { "default": { - "dataSource": "java:jboss/datasources/ExampleDS", + "dataSource": "java:jboss/datasources/KeycloakDS", "databaseSchema": "update" } }