From 0862359ecd359b75048f4295fb79983a211a32e3 Mon Sep 17 00:00:00 2001 From: Matthias Piepkorn <mpiepk@gmail.com> Date: Tue, 14 Feb 2017 12:40:10 +0000 Subject: [PATCH] Fix deployment, update README.md --- pom.xml | 11 +++++++++++ README.md | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4bb0257..77bd12b 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,8 @@ ## Installation 1. Clone or download this repository (pre-compiled releases will follow!) 2. Run `mvn package` to build the plugin JAR -3. Copy the JAR file generated in the `target` folder into the `providers` directory in your Keycloak server's root -4. Restart Keycloak +3. Copy the JAR file generated in the `target` folder into the `standalone/deployments` directory in your Keycloak server's root +4. Restart Keycloak (optional, hot deployment should work) ## Configuration To use the new protocol, you have to create a client within Keycloak as usual. diff --git a/pom.xml b/pom.xml index 6d338c7..bfa2131 100644 --- a/pom.xml +++ b/pom.xml @@ -120,6 +120,17 @@ </compilerArgument> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifestEntries> + <Dependencies>javax.xml.bind.api,org.keycloak.keycloak-core,org.keycloak.keycloak-server-spi,org.keycloak.keycloak-server-spi-private,org.keycloak.keycloak-services,org.keycloak.keycloak-saml-core</Dependencies> + </manifestEntries> + </archive> + </configuration> + </plugin> </plugins> </build> </project> -- Gitblit v1.9.1