keycloak-aplcache
Changes
distribution/war-zip/pom.xml 24(+1 -23)
Details
distribution/war-zip/pom.xml 24(+1 -23)
diff --git a/distribution/war-zip/pom.xml b/distribution/war-zip/pom.xml
index da0e2ac..be566d1 100755
--- a/distribution/war-zip/pom.xml
+++ b/distribution/war-zip/pom.xml
@@ -48,29 +48,7 @@
</configuration>
</execution>
</executions>
- </plugin>
- <plugin>
- <groupId>com.google.code.maven-replacer-plugin</groupId>
- <artifactId>replacer</artifactId>
- <version>1.5.2</version>
- <executions>
- <execution>
- <phase>prepare-package</phase>
- <goals>
- <goal>replace</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <file>${project.build.directory}/unpacked/deployments/auth-server.war/WEB-INF/classes/META-INF/keycloak-server.json</file>
- <replacements>
- <replacement>
- <token>java:jboss/datasources/ExampleDS</token>
- <value>java:jboss/datasources/KeycloakDS</value>
- </replacement>
- </replacements>
- </configuration>
- </plugin>
+ </plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
diff --git a/server/src/main/resources/META-INF/keycloak-server.json b/server/src/main/resources/META-INF/keycloak-server.json
index 9ce6e74..49fc8c5 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"
}
}