KEYCLOAK-4101: Try setting javaOpts on each individual execution.

This commit is contained in:
Stan Silvert 2017-01-03 08:30:52 -05:00
parent 420286c103
commit f1173f8022

View file

@ -164,7 +164,6 @@
<configuration> <configuration>
<skip>false</skip> <skip>false</skip>
<jbossHome>${jbossHome}</jbossHome> <jbossHome>${jbossHome}</jbossHome>
<javaOpts>-Djboss.socket.binding.port-offset=1000</javaOpts> <!-- ignored on domain -->
<port>10990</port> <port>10990</port>
</configuration> </configuration>
@ -181,6 +180,7 @@
</goals> </goals>
<configuration> <configuration>
<serverConfig>standalone-1.8.1.xml</serverConfig> <serverConfig>standalone-1.8.1.xml</serverConfig>
<javaOpts>-Djboss.socket.binding.port-offset=1000</javaOpts>
<execute-commands> <execute-commands>
<scripts> <scripts>
<script>${jbossHome}/bin/migrate-standalone.cli</script> <script>${jbossHome}/bin/migrate-standalone.cli</script>
@ -198,6 +198,7 @@
</goals> </goals>
<configuration> <configuration>
<serverConfig>standalone-1.8.1.xml</serverConfig> <serverConfig>standalone-1.8.1.xml</serverConfig>
<javaOpts>-Djboss.socket.binding.port-offset=1000</javaOpts>
<execute-commands> <execute-commands>
<commands> <commands>
<command>echo Reading subsystems for migrated standalone-1.8.1.xml</command> <command>echo Reading subsystems for migrated standalone-1.8.1.xml</command>
@ -216,6 +217,7 @@
</goals> </goals>
<configuration> <configuration>
<serverConfig>standalone.xml</serverConfig> <serverConfig>standalone.xml</serverConfig>
<javaOpts>-Djboss.socket.binding.port-offset=1000</javaOpts>
<execute-commands> <execute-commands>
<commands> <commands>
<command>echo Reading subsystems for master standalone.xml</command> <command>echo Reading subsystems for master standalone.xml</command>
@ -236,6 +238,7 @@
</goals> </goals>
<configuration> <configuration>
<serverConfig>standalone-ha-1.8.1.xml</serverConfig> <serverConfig>standalone-ha-1.8.1.xml</serverConfig>
<javaOpts>-Djboss.socket.binding.port-offset=1000</javaOpts>
<execute-commands> <execute-commands>
<scripts> <scripts>
<script>${jbossHome}/bin/migrate-standalone-ha.cli</script> <script>${jbossHome}/bin/migrate-standalone-ha.cli</script>
@ -253,6 +256,7 @@
</goals> </goals>
<configuration> <configuration>
<serverConfig>standalone-ha-1.8.1.xml</serverConfig> <serverConfig>standalone-ha-1.8.1.xml</serverConfig>
<javaOpts>-Djboss.socket.binding.port-offset=1000</javaOpts>
<execute-commands> <execute-commands>
<commands> <commands>
<command>echo Reading subsystems for migrated standalone-ha-1.8.1.xml</command> <command>echo Reading subsystems for migrated standalone-ha-1.8.1.xml</command>
@ -271,6 +275,7 @@
</goals> </goals>
<configuration> <configuration>
<serverConfig>standalone-ha.xml</serverConfig> <serverConfig>standalone-ha.xml</serverConfig>
<javaOpts>-Djboss.socket.binding.port-offset=1000</javaOpts>
<execute-commands> <execute-commands>
<commands> <commands>
<command>echo Reading subsystems for master standalone-ha.xml</command> <command>echo Reading subsystems for master standalone-ha.xml</command>