4.0.0 keycloak-parent org.keycloak 1.0-beta-3-SNAPSHOT ../../pom.xml keycloak-war-deployment pom Keycloak WAR Deployment For Wildfly/AS7/EAP org.apache.maven.plugins maven-deploy-plugin true org.apache.maven.plugins maven-dependency-plugin unpack prepare-package unpack org.keycloak keycloak-server ${project.version} war ${project.build.directory}/unpacked/deployments/auth-server.war 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/persistence.xml java:jboss/datasources/ExampleDS java:jboss/datasources/KeycloakDS maven-assembly-plugin 2.4 assemble package single assembly.xml target target/assembly/work false