By default, the datasource should be KeycloakDS instead of ExampleDS.

This commit is contained in:
Stan Silvert 2014-08-15 08:55:04 -04:00
parent cf5a7d228b
commit bc301baa1f
2 changed files with 2 additions and 24 deletions

View file

@ -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>

View file

@ -65,7 +65,7 @@
"connectionsJpa": {
"default": {
"dataSource": "java:jboss/datasources/ExampleDS",
"dataSource": "java:jboss/datasources/KeycloakDS",
"databaseSchema": "update"
}
}