4.0.0
org.apache.activemq.examples.broker
jms-examples
2.24.0-SNAPSHOT
security-keycloak
jar
ActiveMQ Artemis JMS Security Keycloak Example
${project.basedir}/../../../..
12.0.3
4.5.13
org.apache.activemq
artemis-jms-client-all
${project.version}
com.googlecode.maven-download-plugin
download-maven-plugin
1.6.1
install-keycloak
pre-integration-test
wget
https://github.com/keycloak/keycloak/releases/download/${version.org.keycloak}/keycloak-${version.org.keycloak}.tar.gz
true
false
${noServer}
org.apache.activemq
artemis-maven-plugin
create
pre-integration-test
create
${noServer}
false
-Dhawtio.keycloakEnabled=true -Dhawtio.keycloakClientConfig=${ARTEMIS_INSTANCE_ETC_URI}keycloak-js-client.json -Dhawtio.authenticationEnabled=true -Dhawtio.realm=console
org.keycloak:keycloak-adapter-core:jar:${version.org.keycloak}
org.keycloak:keycloak-core:jar:${version.org.keycloak}
org.apache.httpcomponents:httpclient:jar:${version.org.apache.httpcomponents}
start
cli
${noServer}
true
run
runClient
verify
runClient
org.apache.activemq.artemis.jms.example.KeycloakSecurityExample
stop
cli
${noServer}
stop
org.apache.activemq.examples.broker
security-keycloak
${project.version}
org.keycloak
keycloak-adapter-core
${version.org.keycloak}
org.keycloak
keycloak-core
${version.org.keycloak}
org.apache.httpcomponents
httpclient
${version.org.apache.httpcomponents}
org.codehaus.mojo
exec-maven-plugin
3.0.0
run-keycloak
integration-test
exec
${noServer}
true
./target/keycloak-${version.org.keycloak}/bin/standalone.sh
-Dkeycloak.migration.action=import
-Dkeycloak.migration.provider=singleFile
-Dkeycloak.migration.file=./src/main/resources/artemis-keycloak-demo-realm.json
stop-keycloak
verify
exec
${noServer}
./target/keycloak-${version.org.keycloak}/bin/jboss-cli.sh
--connect
command=:shutdown
org.apache.maven.plugins
maven-clean-plugin