4.0.0 org.keycloak.testsuite integration-arquillian-tests-other 3.4.0.CR1-SNAPSHOT ../pom.xml org.keycloak.testsuite server-config-migration Keycloak Migration TestSuite For Server Config ${project.build.directory}/keycloak-${project.version} 1.8.1 junit junit test org.jboss jboss-dmr test org.keycloak keycloak-server-dist zip test org.apache.maven.plugins maven-dependency-plugin unpack process-resources unpack org.keycloak keycloak-server-dist ${project.version} zip true ${project.build.directory} maven-resources-plugin copy-standalone compile copy-resources true ${jbossHome}/standalone/configuration src/test/resources/standalone false copy-domain compile copy-resources true ${jbossHome}/domain/configuration src/test/resources/domain false com.coderplus.maven.plugins copy-rename-maven-plugin 1.0.1 rename-keycloak-server-json-standalone generate-test-sources rename ${jbossHome}/standalone/configuration/keycloak-server-${migrated.version}.json ${jbossHome}/standalone/configuration/keycloak-server.json rename-keycloak-server-json-domain generate-test-sources rename ${jbossHome}/domain/configuration/keycloak-server-${migrated.version}.json ${jbossHome}/domain/configuration/keycloak-server.json com.google.code.maven-replacer-plugin maven-replacer-plugin replaceTokens process-test-sources replace embed-server #embed-server embed-host-controller #embed-host-controller :migrate-json(file=$pathToJson) :migrate-json false ${jbossHome} bin\migrate**.cli org.wildfly.plugins wildfly-maven-plugin false ${jbossHome} 10990 migrate-standalone generate-test-resources start execute-commands shutdown standalone-${migrated.version}.xml -Djboss.socket.binding.port-offset=1000 read-migrated-standalone process-test-resources start execute-commands shutdown standalone-${migrated.version}.xml -Djboss.socket.binding.port-offset=1000 echo Reading subsystems for migrated standalone-${migrated.version}.xml /subsystem=*/:read-resource(recursive=true)>${project.build.directory}/migrated-standalone-${migrated.version}.txt read-master-standalone process-test-resources start execute-commands shutdown standalone.xml -Djboss.socket.binding.port-offset=1000 echo Reading subsystems for master standalone.xml /subsystem=*/:read-resource(recursive=true)>${project.build.directory}/master-standalone.txt migrate-standalone-ha generate-test-resources start execute-commands shutdown standalone-ha-${migrated.version}.xml -Djboss.socket.binding.port-offset=1000 read-migrated-standalone-ha process-test-resources start execute-commands shutdown standalone-ha-${migrated.version}.xml -Djboss.socket.binding.port-offset=1000 echo Reading subsystems for migrated standalone-ha-${migrated.version}.xml /subsystem=*/:read-resource(recursive=true)>${project.build.directory}/migrated-standalone-ha-${migrated.version}.txt read-master-standalone-ha process-test-resources start execute-commands shutdown standalone-ha.xml -Djboss.socket.binding.port-offset=1000 echo Reading subsystems for master standalone-ha.xml /subsystem=*/:read-resource(recursive=true)>${project.build.directory}/master-standalone-ha.txt migrate-domain generate-test-resources start execute-commands shutdown DOMAIN domain-${migrated.version}.xml --host-config=host-master-${migrated.version}.xml -Djboss.management.http.port=10990 -Djboss.management.native.port=10999 -Djboss.server.config.dir=${jbossHome}/domain/configuration/ read-migrated-domain process-test-resources start execute-commands shutdown DOMAIN domain-${migrated.version}.xml --host-config=host-master-${migrated.version}.xml -Djboss.management.http.port=10990 -Djboss.management.native.port=10999 echo Reading subsystems for migrated domain-${migrated.version}.xml /profile=auth-server-standalone/subsystem=*/:read-resource(recursive=true)>${project.build.directory}/migrated-domain-standalone-${migrated.version}.txt /profile=auth-server-clustered/subsystem=*/:read-resource(recursive=true)>${project.build.directory}/migrated-domain-clustered-${migrated.version}.txt read-master-domain process-test-resources start execute-commands shutdown DOMAIN domain.xml -Djboss.management.http.port=10990 -Djboss.management.native.port=10999 --host-config=host-master.xml echo Reading subsystems for master domain.xml /profile=auth-server-standalone/subsystem=*/:read-resource(recursive=true)>${project.build.directory}/master-domain-standalone.txt /profile=auth-server-clustered/subsystem=*/:read-resource(recursive=true)>${project.build.directory}/master-domain-clustered.txt maven-surefire-plugin ${migrated.version} product ${project.build.directory}/rh-sso-7.1 1.9.8.Final-redhat-1 org.apache.maven.plugins maven-dependency-plugin unpack compile unpack org.keycloak keycloak-server-dist 2.5.4.Final-redhat-1 zip true ${project.build.directory}