4.0.0 org.keycloak.testsuite integration-arquillian-tests-other 2.5.1.Final-SNAPSHOT ../pom.xml org.keycloak.testsuite server-config-migration Keycloak Migration TestSuite For Server Config ${project.build.directory}/keycloak-${project.version} junit junit test org.jboss jboss-dmr test org.apache.maven.plugins maven-dependency-plugin unpack compile unpack org.keycloak keycloak-server-dist ${project.version} zip true ${project.build.directory} maven-resources-plugin copy-standalone generate-test-sources copy-resources true ${jbossHome}/standalone/configuration src/test/resources/standalone false copy-domain generate-test-sources copy-resources true ${jbossHome}/domain/configuration src/test/resources/domain false 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-1.8.1.xml -Djboss.socket.binding.port-offset=1000 read-migrated-standalone process-test-resources start execute-commands shutdown standalone-1.8.1.xml -Djboss.socket.binding.port-offset=1000 echo Reading subsystems for migrated standalone-1.8.1.xml /subsystem=*/:read-resource(recursive=true)>${project.build.directory}/migrated-standalone-1.8.1.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-1.8.1.xml -Djboss.socket.binding.port-offset=1000 read-migrated-standalone-ha process-test-resources start execute-commands shutdown standalone-ha-1.8.1.xml -Djboss.socket.binding.port-offset=1000 echo Reading subsystems for migrated standalone-ha-1.8.1.xml /subsystem=*/:read-resource(recursive=true)>${project.build.directory}/migrated-standalone-ha-1.8.1.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-1.8.1.xml --host-config=host-master-1.8.1.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-1.8.1.xml --host-config=host-master-1.8.1.xml -Djboss.management.http.port=10990 -Djboss.management.native.port=10999 echo Reading subsystems for migrated domain-1.8.1.xml /profile=auth-server-standalone/subsystem=*/:read-resource(recursive=true)>${project.build.directory}/migrated-domain-standalone-1.8.1.txt /profile=auth-server-clustered/subsystem=*/:read-resource(recursive=true)>${project.build.directory}/migrated-domain-clustered-1.8.1.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