Merge pull request #631 from ssilvert/Use-KeycloakDS

By default, the datasource should be KeycloakDS instead of ExampleDS.
This commit is contained in:
Bill Burke 2014-08-18 18:55:53 -04:00
commit 6628e226e4
2 changed files with 2 additions and 24 deletions

View file

@ -49,28 +49,6 @@
</execution> </execution>
</executions> </executions>
</plugin> </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> <artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version> <version>2.4</version>

View file

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