4.0.0
org.apache.activemq.examples.broker
jms-examples
2.30.0-SNAPSHOT
security-keycloak
jar
ActiveMQ Artemis JMS Security Keycloak Example
${project.basedir}/../../../..
21.0.0
3.5.0.Final
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:${apache.httpclient.version}
org.jboss.logging:jboss-logging:jar:${version.jboss.logging}
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
${apache.httpclient.version}
org.jboss.logging
jboss-logging
${version.jboss.logging}
org.codehaus.mojo
exec-maven-plugin
run-keycloak
integration-test
exec
${noServer}
true
./target/keycloak-${version.org.keycloak}/bin/kc.sh
start-dev
-Dkeycloak.migration.action=import
-Dkeycloak.migration.provider=singleFile
-Dkeycloak.migration.file=./src/main/resources/artemis-keycloak-demo-realm.json
org.apache.maven.plugins
maven-clean-plugin