diff --git a/batch-processing/README.adoc b/batch-processing/README.adoc
index bcbfe0e3b1..942dc92f48 100644
--- a/batch-processing/README.adoc
+++ b/batch-processing/README.adoc
@@ -695,45 +695,18 @@ ifndef::deploymentDir[:deploymentTargetDir: target]
ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
endif::deploymentTargetDir[]
-Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart, by activating the Maven profile named `provisioned-server` when building the quickstart:
-
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
-----
-
-The provisioned {productName} server, with the quickstart deployed, can then be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-
-ifdef::addQuickstartUser[]
-The quickstart user should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' {app-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
-
-ifdef::addQuickstartAdmin[]
-The quickstart admin should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartAdmin' -p 'adminPwd1!' {admin-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
+ifndef::extraStartParams[:extraStartParams: ]
+ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
+Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart. The functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
[source,xml,subs="attributes+"]
----
provisioned-server
+
+ true
+
@@ -758,113 +731,18 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a
----
-The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers.
-
-If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available:
-
-[source,shell]
-----
-wildfly-glow show-add-ons
-----
-
-// Server Provisioning Testing
-:leveloffset: +1
-
-[[run_the_integration_tests_with_provisioned_server_]]
-= Run the Integration Tests with a provisioned server
-
-//******************************************************************************
-// This template sets attributes for the different standalone server profiles.
-//
-// You must define the `standalone-server-type`. Supported values are:
-// default
-// full
-// full-ha
-// ha
-// microprofile
-// custom
-//******************************************************************************
-
-// Standalone server with the default profile.
-ifeval::["{standalone-server-type}"=="default"]
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::[]
-
-// Standalone server with the full profile.
-ifeval::["{standalone-server-type}"=="full"]
-:serverProfile: full profile
-:configFileName: standalone/configuration/standalone-full.xml
-:serverArguments: -c standalone-full.xml
-endif::[]
-
-// Standalone server with the full HA profile.
-ifeval::["{standalone-server-type}"=="full-ha"]
-:serverProfile: full HA profile
-:configFileName: standalone/configuration/standalone-full-ha.xml
-:serverArguments: -c standalone-full-ha.xml
-endif::[]
-// Start the standalone server with the HA profile.
-ifeval::["{standalone-server-type}"=="ha"]
-:serverProfile: HA profile
-:configFileName: standalone/configuration/standalone-ha.xml
-:serverArguments: -c standalone-ha.xml
-endif::[]
+When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-// Start the standalone server with the Eclipse MicroProfile profile.
-ifeval::["{standalone-server-type}"=="microprofile"]
-:serverProfile: MicroProfile profile
-:configFileName: standalone/configuration/standalone-microprofile.xml
-:serverArguments: -c standalone-microprofile.xml
-endif::[]
+Follow these steps to run the quickstart using the provisioned server.
-// Standalone server with the custom profile.
-// NOTE: This profile requires that you define the `serverArguments` variable
-// within the quickstart README.adoc file. For example:
-// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
-ifeval::["{standalone-server-type}"=="custom"]
-:serverProfile: custom profile
-endif::[]
-
-// If there is no match, use the default profile.
-ifndef::serverProfile[]
-:standalone-server-type: default
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::serverProfile[]
-
-ifndef::mavenServerProvisioningCommand[]
-ifeval::["{archiveType}"=="ear"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-ifeval::["{archiveType}"=="war"]
-:mavenServerProvisioningCommand: clean package
-endif::[]
-ifeval::["{archiveType}"=="jar"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-endif::mavenServerProvisioningCommand[]
-
-ifndef::deploymentTargetDir[]
-ifndef::deploymentDir[:deploymentTargetDir: target]
-ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
-endif::deploymentTargetDir[]
-
-ifndef::extraStartParams[:extraStartParams: ]
-ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-
-The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a provisioned server.
-
-Follow these steps to run the integration tests.
+.Procedure
. Make sure the server is provisioned.
+
[source,subs="attributes+",options="nowrap"]
----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
+$ mvn {mavenServerProvisioningCommand}
----
ifdef::addQuickstartUser[]
@@ -889,7 +767,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
====
endif::[]
-. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation.
+. Start the {productName} provisioned server, using the WildFly Maven Plugin `start` goal.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -900,18 +778,18 @@ endif::[]
ifdef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
----
-$ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/target/server {extraStartParams}
+$ mvn -f {deploymentDir}/pom.xml wildfly:start {extraStartParams}
----
endif::[]
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
+. Type the following command to run the integration tests.
+
[source,subs="attributes+",options="nowrap"]
----
$ mvn verify -Pintegration-testing {extraProvisioningTestParams}
----
-. Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too.
+. Shut down the {productName} provisioned server.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -926,8 +804,6 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:shutdown
----
endif::[]
-:leveloffset: 1
-
:leveloffset!:
endif::[]
:leveloffset: +1
diff --git a/bmt/README.adoc b/bmt/README.adoc
index e69a70fee9..a322963c65 100644
--- a/bmt/README.adoc
+++ b/bmt/README.adoc
@@ -627,45 +627,18 @@ ifndef::deploymentDir[:deploymentTargetDir: target]
ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
endif::deploymentTargetDir[]
-Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart, by activating the Maven profile named `provisioned-server` when building the quickstart:
-
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
-----
-
-The provisioned {productName} server, with the quickstart deployed, can then be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-
-ifdef::addQuickstartUser[]
-The quickstart user should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' {app-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
-
-ifdef::addQuickstartAdmin[]
-The quickstart admin should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartAdmin' -p 'adminPwd1!' {admin-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
+ifndef::extraStartParams[:extraStartParams: ]
+ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
+Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart. The functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
[source,xml,subs="attributes+"]
----
provisioned-server
+
+ true
+
@@ -690,113 +663,18 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a
----
-The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers.
-
-If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available:
-
-[source,shell]
-----
-wildfly-glow show-add-ons
-----
-
-// Server Provisioning Testing
-:leveloffset: +1
-
-[[run_the_integration_tests_with_provisioned_server_]]
-= Run the Integration Tests with a provisioned server
-
-//******************************************************************************
-// This template sets attributes for the different standalone server profiles.
-//
-// You must define the `standalone-server-type`. Supported values are:
-// default
-// full
-// full-ha
-// ha
-// microprofile
-// custom
-//******************************************************************************
-
-// Standalone server with the default profile.
-ifeval::["{standalone-server-type}"=="default"]
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::[]
-
-// Standalone server with the full profile.
-ifeval::["{standalone-server-type}"=="full"]
-:serverProfile: full profile
-:configFileName: standalone/configuration/standalone-full.xml
-:serverArguments: -c standalone-full.xml
-endif::[]
-
-// Standalone server with the full HA profile.
-ifeval::["{standalone-server-type}"=="full-ha"]
-:serverProfile: full HA profile
-:configFileName: standalone/configuration/standalone-full-ha.xml
-:serverArguments: -c standalone-full-ha.xml
-endif::[]
-// Start the standalone server with the HA profile.
-ifeval::["{standalone-server-type}"=="ha"]
-:serverProfile: HA profile
-:configFileName: standalone/configuration/standalone-ha.xml
-:serverArguments: -c standalone-ha.xml
-endif::[]
+When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-// Start the standalone server with the Eclipse MicroProfile profile.
-ifeval::["{standalone-server-type}"=="microprofile"]
-:serverProfile: MicroProfile profile
-:configFileName: standalone/configuration/standalone-microprofile.xml
-:serverArguments: -c standalone-microprofile.xml
-endif::[]
+Follow these steps to run the quickstart using the provisioned server.
-// Standalone server with the custom profile.
-// NOTE: This profile requires that you define the `serverArguments` variable
-// within the quickstart README.adoc file. For example:
-// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
-ifeval::["{standalone-server-type}"=="custom"]
-:serverProfile: custom profile
-endif::[]
-
-// If there is no match, use the default profile.
-ifndef::serverProfile[]
-:standalone-server-type: default
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::serverProfile[]
-
-ifndef::mavenServerProvisioningCommand[]
-ifeval::["{archiveType}"=="ear"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-ifeval::["{archiveType}"=="war"]
-:mavenServerProvisioningCommand: clean package
-endif::[]
-ifeval::["{archiveType}"=="jar"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-endif::mavenServerProvisioningCommand[]
-
-ifndef::deploymentTargetDir[]
-ifndef::deploymentDir[:deploymentTargetDir: target]
-ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
-endif::deploymentTargetDir[]
-
-ifndef::extraStartParams[:extraStartParams: ]
-ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-
-The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a provisioned server.
-
-Follow these steps to run the integration tests.
+.Procedure
. Make sure the server is provisioned.
+
[source,subs="attributes+",options="nowrap"]
----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
+$ mvn {mavenServerProvisioningCommand}
----
ifdef::addQuickstartUser[]
@@ -821,7 +699,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
====
endif::[]
-. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation.
+. Start the {productName} provisioned server, using the WildFly Maven Plugin `start` goal.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -832,18 +710,18 @@ endif::[]
ifdef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
----
-$ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/target/server {extraStartParams}
+$ mvn -f {deploymentDir}/pom.xml wildfly:start {extraStartParams}
----
endif::[]
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
+. Type the following command to run the integration tests.
+
[source,subs="attributes+",options="nowrap"]
----
$ mvn verify -Pintegration-testing {extraProvisioningTestParams}
----
-. Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too.
+. Shut down the {productName} provisioned server.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -858,8 +736,6 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:shutdown
----
endif::[]
-:leveloffset: 1
-
:leveloffset!:
endif::[]
:leveloffset: +1
diff --git a/cmt/README.adoc b/cmt/README.adoc
index b6a46ffe10..c564e1caab 100644
--- a/cmt/README.adoc
+++ b/cmt/README.adoc
@@ -641,45 +641,18 @@ ifndef::deploymentDir[:deploymentTargetDir: target]
ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
endif::deploymentTargetDir[]
-Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart, by activating the Maven profile named `provisioned-server` when building the quickstart:
-
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
-----
-
-The provisioned {productName} server, with the quickstart deployed, can then be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-
-ifdef::addQuickstartUser[]
-The quickstart user should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' {app-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
-
-ifdef::addQuickstartAdmin[]
-The quickstart admin should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartAdmin' -p 'adminPwd1!' {admin-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
+ifndef::extraStartParams[:extraStartParams: ]
+ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
+Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart. The functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
[source,xml,subs="attributes+"]
----
provisioned-server
+
+ true
+
@@ -704,113 +677,18 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a
----
-The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers.
-
-If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available:
-
-[source,shell]
-----
-wildfly-glow show-add-ons
-----
-
-// Server Provisioning Testing
-:leveloffset: +1
-
-[[run_the_integration_tests_with_provisioned_server_]]
-= Run the Integration Tests with a provisioned server
-
-//******************************************************************************
-// This template sets attributes for the different standalone server profiles.
-//
-// You must define the `standalone-server-type`. Supported values are:
-// default
-// full
-// full-ha
-// ha
-// microprofile
-// custom
-//******************************************************************************
-
-// Standalone server with the default profile.
-ifeval::["{standalone-server-type}"=="default"]
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::[]
-
-// Standalone server with the full profile.
-ifeval::["{standalone-server-type}"=="full"]
-:serverProfile: full profile
-:configFileName: standalone/configuration/standalone-full.xml
-:serverArguments: -c standalone-full.xml
-endif::[]
-
-// Standalone server with the full HA profile.
-ifeval::["{standalone-server-type}"=="full-ha"]
-:serverProfile: full HA profile
-:configFileName: standalone/configuration/standalone-full-ha.xml
-:serverArguments: -c standalone-full-ha.xml
-endif::[]
-// Start the standalone server with the HA profile.
-ifeval::["{standalone-server-type}"=="ha"]
-:serverProfile: HA profile
-:configFileName: standalone/configuration/standalone-ha.xml
-:serverArguments: -c standalone-ha.xml
-endif::[]
+When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-// Start the standalone server with the Eclipse MicroProfile profile.
-ifeval::["{standalone-server-type}"=="microprofile"]
-:serverProfile: MicroProfile profile
-:configFileName: standalone/configuration/standalone-microprofile.xml
-:serverArguments: -c standalone-microprofile.xml
-endif::[]
+Follow these steps to run the quickstart using the provisioned server.
-// Standalone server with the custom profile.
-// NOTE: This profile requires that you define the `serverArguments` variable
-// within the quickstart README.adoc file. For example:
-// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
-ifeval::["{standalone-server-type}"=="custom"]
-:serverProfile: custom profile
-endif::[]
-
-// If there is no match, use the default profile.
-ifndef::serverProfile[]
-:standalone-server-type: default
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::serverProfile[]
-
-ifndef::mavenServerProvisioningCommand[]
-ifeval::["{archiveType}"=="ear"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-ifeval::["{archiveType}"=="war"]
-:mavenServerProvisioningCommand: clean package
-endif::[]
-ifeval::["{archiveType}"=="jar"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-endif::mavenServerProvisioningCommand[]
-
-ifndef::deploymentTargetDir[]
-ifndef::deploymentDir[:deploymentTargetDir: target]
-ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
-endif::deploymentTargetDir[]
-
-ifndef::extraStartParams[:extraStartParams: ]
-ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-
-The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a provisioned server.
-
-Follow these steps to run the integration tests.
+.Procedure
. Make sure the server is provisioned.
+
[source,subs="attributes+",options="nowrap"]
----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
+$ mvn {mavenServerProvisioningCommand}
----
ifdef::addQuickstartUser[]
@@ -835,7 +713,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
====
endif::[]
-. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation.
+. Start the {productName} provisioned server, using the WildFly Maven Plugin `start` goal.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -846,18 +724,18 @@ endif::[]
ifdef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
----
-$ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/target/server {extraStartParams}
+$ mvn -f {deploymentDir}/pom.xml wildfly:start {extraStartParams}
----
endif::[]
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
+. Type the following command to run the integration tests.
+
[source,subs="attributes+",options="nowrap"]
----
$ mvn verify -Pintegration-testing {extraProvisioningTestParams}
----
-. Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too.
+. Shut down the {productName} provisioned server.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -872,8 +750,6 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:shutdown
----
endif::[]
-:leveloffset: 1
-
:leveloffset!:
endif::[]
:leveloffset: +1
diff --git a/ee-security/README.adoc b/ee-security/README.adoc
index fe69c1d924..8f6c1085f1 100644
--- a/ee-security/README.adoc
+++ b/ee-security/README.adoc
@@ -844,45 +844,18 @@ ifndef::deploymentDir[:deploymentTargetDir: target]
ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
endif::deploymentTargetDir[]
-Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart, by activating the Maven profile named `provisioned-server` when building the quickstart:
-
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
-----
-
-The provisioned {productName} server, with the quickstart deployed, can then be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-
-ifdef::addQuickstartUser[]
-The quickstart user should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' {app-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
-
-ifdef::addQuickstartAdmin[]
-The quickstart admin should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartAdmin' -p 'adminPwd1!' {admin-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
+ifndef::extraStartParams[:extraStartParams: ]
+ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
+Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart. The functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
[source,xml,subs="attributes+"]
----
provisioned-server
+
+ true
+
@@ -907,113 +880,18 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a
----
-The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers.
-
-If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available:
-
-[source,shell]
-----
-wildfly-glow show-add-ons
-----
-
-// Server Provisioning Testing
-:leveloffset: +1
-
-[[run_the_integration_tests_with_provisioned_server_]]
-= Run the Integration Tests with a provisioned server
-
-//******************************************************************************
-// This template sets attributes for the different standalone server profiles.
-//
-// You must define the `standalone-server-type`. Supported values are:
-// default
-// full
-// full-ha
-// ha
-// microprofile
-// custom
-//******************************************************************************
-
-// Standalone server with the default profile.
-ifeval::["{standalone-server-type}"=="default"]
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::[]
-
-// Standalone server with the full profile.
-ifeval::["{standalone-server-type}"=="full"]
-:serverProfile: full profile
-:configFileName: standalone/configuration/standalone-full.xml
-:serverArguments: -c standalone-full.xml
-endif::[]
-
-// Standalone server with the full HA profile.
-ifeval::["{standalone-server-type}"=="full-ha"]
-:serverProfile: full HA profile
-:configFileName: standalone/configuration/standalone-full-ha.xml
-:serverArguments: -c standalone-full-ha.xml
-endif::[]
-// Start the standalone server with the HA profile.
-ifeval::["{standalone-server-type}"=="ha"]
-:serverProfile: HA profile
-:configFileName: standalone/configuration/standalone-ha.xml
-:serverArguments: -c standalone-ha.xml
-endif::[]
+When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-// Start the standalone server with the Eclipse MicroProfile profile.
-ifeval::["{standalone-server-type}"=="microprofile"]
-:serverProfile: MicroProfile profile
-:configFileName: standalone/configuration/standalone-microprofile.xml
-:serverArguments: -c standalone-microprofile.xml
-endif::[]
+Follow these steps to run the quickstart using the provisioned server.
-// Standalone server with the custom profile.
-// NOTE: This profile requires that you define the `serverArguments` variable
-// within the quickstart README.adoc file. For example:
-// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
-ifeval::["{standalone-server-type}"=="custom"]
-:serverProfile: custom profile
-endif::[]
-
-// If there is no match, use the default profile.
-ifndef::serverProfile[]
-:standalone-server-type: default
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::serverProfile[]
-
-ifndef::mavenServerProvisioningCommand[]
-ifeval::["{archiveType}"=="ear"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-ifeval::["{archiveType}"=="war"]
-:mavenServerProvisioningCommand: clean package
-endif::[]
-ifeval::["{archiveType}"=="jar"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-endif::mavenServerProvisioningCommand[]
-
-ifndef::deploymentTargetDir[]
-ifndef::deploymentDir[:deploymentTargetDir: target]
-ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
-endif::deploymentTargetDir[]
-
-ifndef::extraStartParams[:extraStartParams: ]
-ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-
-The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a provisioned server.
-
-Follow these steps to run the integration tests.
+.Procedure
. Make sure the server is provisioned.
+
[source,subs="attributes+",options="nowrap"]
----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
+$ mvn {mavenServerProvisioningCommand}
----
ifdef::addQuickstartUser[]
@@ -1038,7 +916,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
====
endif::[]
-. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation.
+. Start the {productName} provisioned server, using the WildFly Maven Plugin `start` goal.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -1049,18 +927,18 @@ endif::[]
ifdef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
----
-$ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/target/server {extraStartParams}
+$ mvn -f {deploymentDir}/pom.xml wildfly:start {extraStartParams}
----
endif::[]
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
+. Type the following command to run the integration tests.
+
[source,subs="attributes+",options="nowrap"]
----
$ mvn verify -Pintegration-testing {extraProvisioningTestParams}
----
-. Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too.
+. Shut down the {productName} provisioned server.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -1075,8 +953,6 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:shutdown
----
endif::[]
-:leveloffset: 1
-
:leveloffset!:
endif::[]
:leveloffset: +1
diff --git a/ejb-remote/README.adoc b/ejb-remote/README.adoc
index 9c2c4fc558..2f6f0d82c1 100644
--- a/ejb-remote/README.adoc
+++ b/ejb-remote/README.adoc
@@ -668,45 +668,18 @@ ifndef::deploymentDir[:deploymentTargetDir: target]
ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
endif::deploymentTargetDir[]
-Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart, by activating the Maven profile named `provisioned-server` when building the quickstart:
-
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
-----
-
-The provisioned {productName} server, with the quickstart deployed, can then be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-
-ifdef::addQuickstartUser[]
-The quickstart user should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' {app-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
-
-ifdef::addQuickstartAdmin[]
-The quickstart admin should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartAdmin' -p 'adminPwd1!' {admin-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
+ifndef::extraStartParams[:extraStartParams: ]
+ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
+Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart. The functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
[source,xml,subs="attributes+"]
----
provisioned-server
+
+ true
+
@@ -731,113 +704,18 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a
----
-The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers.
-
-If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available:
-
-[source,shell]
-----
-wildfly-glow show-add-ons
-----
-
-// Server Provisioning Testing
-:leveloffset: +1
-
-[[run_the_integration_tests_with_provisioned_server_]]
-= Run the Integration Tests with a provisioned server
-
-//******************************************************************************
-// This template sets attributes for the different standalone server profiles.
-//
-// You must define the `standalone-server-type`. Supported values are:
-// default
-// full
-// full-ha
-// ha
-// microprofile
-// custom
-//******************************************************************************
-
-// Standalone server with the default profile.
-ifeval::["{standalone-server-type}"=="default"]
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::[]
-
-// Standalone server with the full profile.
-ifeval::["{standalone-server-type}"=="full"]
-:serverProfile: full profile
-:configFileName: standalone/configuration/standalone-full.xml
-:serverArguments: -c standalone-full.xml
-endif::[]
-
-// Standalone server with the full HA profile.
-ifeval::["{standalone-server-type}"=="full-ha"]
-:serverProfile: full HA profile
-:configFileName: standalone/configuration/standalone-full-ha.xml
-:serverArguments: -c standalone-full-ha.xml
-endif::[]
-// Start the standalone server with the HA profile.
-ifeval::["{standalone-server-type}"=="ha"]
-:serverProfile: HA profile
-:configFileName: standalone/configuration/standalone-ha.xml
-:serverArguments: -c standalone-ha.xml
-endif::[]
+When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-// Start the standalone server with the Eclipse MicroProfile profile.
-ifeval::["{standalone-server-type}"=="microprofile"]
-:serverProfile: MicroProfile profile
-:configFileName: standalone/configuration/standalone-microprofile.xml
-:serverArguments: -c standalone-microprofile.xml
-endif::[]
+Follow these steps to run the quickstart using the provisioned server.
-// Standalone server with the custom profile.
-// NOTE: This profile requires that you define the `serverArguments` variable
-// within the quickstart README.adoc file. For example:
-// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
-ifeval::["{standalone-server-type}"=="custom"]
-:serverProfile: custom profile
-endif::[]
-
-// If there is no match, use the default profile.
-ifndef::serverProfile[]
-:standalone-server-type: default
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::serverProfile[]
-
-ifndef::mavenServerProvisioningCommand[]
-ifeval::["{archiveType}"=="ear"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-ifeval::["{archiveType}"=="war"]
-:mavenServerProvisioningCommand: clean package
-endif::[]
-ifeval::["{archiveType}"=="jar"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-endif::mavenServerProvisioningCommand[]
-
-ifndef::deploymentTargetDir[]
-ifndef::deploymentDir[:deploymentTargetDir: target]
-ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
-endif::deploymentTargetDir[]
-
-ifndef::extraStartParams[:extraStartParams: ]
-ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-
-The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a provisioned server.
-
-Follow these steps to run the integration tests.
+.Procedure
. Make sure the server is provisioned.
+
[source,subs="attributes+",options="nowrap"]
----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
+$ mvn {mavenServerProvisioningCommand}
----
ifdef::addQuickstartUser[]
@@ -862,7 +740,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
====
endif::[]
-. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation.
+. Start the {productName} provisioned server, using the WildFly Maven Plugin `start` goal.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -873,18 +751,18 @@ endif::[]
ifdef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
----
-$ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/target/server {extraStartParams}
+$ mvn -f {deploymentDir}/pom.xml wildfly:start {extraStartParams}
----
endif::[]
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
+. Type the following command to run the integration tests.
+
[source,subs="attributes+",options="nowrap"]
----
$ mvn verify -Pintegration-testing {extraProvisioningTestParams}
----
-. Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too.
+. Shut down the {productName} provisioned server.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -899,8 +777,6 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:shutdown
----
endif::[]
-:leveloffset: 1
-
:leveloffset!:
endif::[]
:leveloffset: +1
diff --git a/ejb-security-context-propagation/README.adoc b/ejb-security-context-propagation/README.adoc
index f9c73ebfac..fca601f9d9 100644
--- a/ejb-security-context-propagation/README.adoc
+++ b/ejb-security-context-propagation/README.adoc
@@ -799,7 +799,7 @@ You should see a message in the server log indicating that the archive deployed
:leveloffset!:
// Server Distribution Testing
-:leveloffset: +2
+:leveloffset: +1
[[run_the_integration_tests_with_server_distribution]]
= Run the Integration Tests
@@ -894,28 +894,6 @@ ERROR [org.jboss.as.ejb3.invocation] (default task-57) WFLYEJB0034: EJB Invocati
at java.lang.Thread.run(Thread.java:745)
----
-// Server Distribution Testing
-:leveloffset: +2
-
-[[run_the_integration_tests_with_server_distribution]]
-= Run the Integration Tests
-ifndef::integrationTestsDirectory[:integrationTestsDirectory: src/test/]
-ifndef::extraStandardDistTestParams[:extraStandardDistTestParams: ]
-
-This quickstart includes integration tests, which are located under the `{integrationTestsDirectory}` directory. The integration tests verify that the quickstart runs correctly when deployed on the server.
-
-Follow these steps to run the integration tests.
-
-. Make sure {productName} server is started.
-. Make sure the quickstart is deployed.
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
-+
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn verify -Pintegration-testing {extraStandardDistTestParams}
-----
-
-:leveloffset!:
// Undeploy the Quickstart
:leveloffset: +1
@@ -1095,45 +1073,18 @@ ifndef::deploymentDir[:deploymentTargetDir: target]
ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
endif::deploymentTargetDir[]
-Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart, by activating the Maven profile named `provisioned-server` when building the quickstart:
-
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
-----
-
-The provisioned {productName} server, with the quickstart deployed, can then be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-
-ifdef::addQuickstartUser[]
-The quickstart user should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' {app-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
-
-ifdef::addQuickstartAdmin[]
-The quickstart admin should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartAdmin' -p 'adminPwd1!' {admin-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
+ifndef::extraStartParams[:extraStartParams: ]
+ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
+Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart. The functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
[source,xml,subs="attributes+"]
----
provisioned-server
+
+ true
+
@@ -1158,113 +1109,18 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a
----
-The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers.
-
-If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available:
-
-[source,shell]
-----
-wildfly-glow show-add-ons
-----
-// Server Provisioning Testing
-:leveloffset: +1
+When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-[[run_the_integration_tests_with_provisioned_server_]]
-= Run the Integration Tests with a provisioned server
+Follow these steps to run the quickstart using the provisioned server.
-//******************************************************************************
-// This template sets attributes for the different standalone server profiles.
-//
-// You must define the `standalone-server-type`. Supported values are:
-// default
-// full
-// full-ha
-// ha
-// microprofile
-// custom
-//******************************************************************************
-
-// Standalone server with the default profile.
-ifeval::["{standalone-server-type}"=="default"]
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::[]
-
-// Standalone server with the full profile.
-ifeval::["{standalone-server-type}"=="full"]
-:serverProfile: full profile
-:configFileName: standalone/configuration/standalone-full.xml
-:serverArguments: -c standalone-full.xml
-endif::[]
-
-// Standalone server with the full HA profile.
-ifeval::["{standalone-server-type}"=="full-ha"]
-:serverProfile: full HA profile
-:configFileName: standalone/configuration/standalone-full-ha.xml
-:serverArguments: -c standalone-full-ha.xml
-endif::[]
-
-// Start the standalone server with the HA profile.
-ifeval::["{standalone-server-type}"=="ha"]
-:serverProfile: HA profile
-:configFileName: standalone/configuration/standalone-ha.xml
-:serverArguments: -c standalone-ha.xml
-endif::[]
-
-// Start the standalone server with the Eclipse MicroProfile profile.
-ifeval::["{standalone-server-type}"=="microprofile"]
-:serverProfile: MicroProfile profile
-:configFileName: standalone/configuration/standalone-microprofile.xml
-:serverArguments: -c standalone-microprofile.xml
-endif::[]
-
-// Standalone server with the custom profile.
-// NOTE: This profile requires that you define the `serverArguments` variable
-// within the quickstart README.adoc file. For example:
-// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
-ifeval::["{standalone-server-type}"=="custom"]
-:serverProfile: custom profile
-endif::[]
-
-// If there is no match, use the default profile.
-ifndef::serverProfile[]
-:standalone-server-type: default
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::serverProfile[]
-
-ifndef::mavenServerProvisioningCommand[]
-ifeval::["{archiveType}"=="ear"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-ifeval::["{archiveType}"=="war"]
-:mavenServerProvisioningCommand: clean package
-endif::[]
-ifeval::["{archiveType}"=="jar"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-endif::mavenServerProvisioningCommand[]
-
-ifndef::deploymentTargetDir[]
-ifndef::deploymentDir[:deploymentTargetDir: target]
-ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
-endif::deploymentTargetDir[]
-
-ifndef::extraStartParams[:extraStartParams: ]
-ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-
-The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a provisioned server.
-
-Follow these steps to run the integration tests.
+.Procedure
. Make sure the server is provisioned.
+
[source,subs="attributes+",options="nowrap"]
----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
+$ mvn {mavenServerProvisioningCommand}
----
ifdef::addQuickstartUser[]
@@ -1289,7 +1145,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
====
endif::[]
-. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation.
+. Start the {productName} provisioned server, using the WildFly Maven Plugin `start` goal.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -1300,18 +1156,18 @@ endif::[]
ifdef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
----
-$ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/target/server {extraStartParams}
+$ mvn -f {deploymentDir}/pom.xml wildfly:start {extraStartParams}
----
endif::[]
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
+. Type the following command to run the integration tests.
+
[source,subs="attributes+",options="nowrap"]
----
$ mvn verify -Pintegration-testing {extraProvisioningTestParams}
----
-. Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too.
+. Shut down the {productName} provisioned server.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -1326,8 +1182,6 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:shutdown
----
endif::[]
-:leveloffset: 1
-
:leveloffset!:
endif::[]
diff --git a/ejb-security-programmatic-auth/README.adoc b/ejb-security-programmatic-auth/README.adoc
index a5c2c58121..f27ec79f17 100644
--- a/ejb-security-programmatic-auth/README.adoc
+++ b/ejb-security-programmatic-auth/README.adoc
@@ -724,7 +724,7 @@ Principal has admin permission: true
As expected, the `quickstart` user is able to call the methods available for `guest`, but does not have the `admin` permission to call administrative methods on the remote EJB. The `quickstartAdmin` on the other hand has permissions to call both methods.
// Server Distribution Testing
-:leveloffset: +2
+:leveloffset: +1
[[run_the_integration_tests_with_server_distribution]]
= Run the Integration Tests
@@ -889,28 +889,6 @@ When you have completed testing the quickstart, you can restore the original ser
. If it is running, stop the {productName} server.
. Replace the `__{jbossHomeName}__/{configFileName}` file with the backup copy of the file.
-:leveloffset!:
-// Run the Quickstart in Red Hat CodeReady Studio or Eclipse
-:leveloffset: +1
-
-[[run_the_quickstart_in_redhat_codeready_studio_or_eclipse]]
-= Run the Quickstart in {JBDSProductName} or Eclipse
-//******************************************************************************
-// Include this template to provide instructions to run the quickstart
-// in Red Hat CodeReady Studio.
-//
-// If the quickstart is not supported, create the `jbds-not-supported` attribute.
-//******************************************************************************
-ifdef::jbds-not-supported[]
-This quickstart is not supported in {JBDSProductName}.
-endif::jbds-not-supported[]
-
-ifndef::jbds-not-supported[]
-You can also start the server and deploy the quickstarts, or run any tests in {JBDSProductName} or from Eclipse using JBoss tools. For general information about how to import a quickstart, add a {productName} server, and build and deploy a quickstart, see link:{useEclipseUrl}[Use {JBDSProductName} or Eclipse to Run the Quickstarts].
-endif::jbds-not-supported[]
-
-// Add additional instructions specific to running this quickstart in an IDE here.
-
:leveloffset!:
// Additional Red Hat CodeReady Studio instructions
@@ -938,34 +916,6 @@ Principal has admin permission: true
* Make sure you xref:restore_the_server_configuration[restore the {productName} standalone server configuration] when you have completed testing this quickstart.
-// Debug the Application
-:leveloffset: +1
-
-[[debug_the_application]]
-= Debug the Application
-//******************************************************************************
-// Include this template to provide debugging information.
-//******************************************************************************
-
-If you want to debug the source code of any library in the project, run the following command to pull the source into your local repository. The IDE should then detect it.
-
-----
-$ mvn dependency:sources
-----
-
-////
-TODO: I need to investigate whether the following version can be used across all quickstarts.
-
-If you want to debug the source code or look at the Javadocs of any library in the project, run either of the following commands to pull them into your local repository. The IDE should then detect them.
-
-[source,options="nowrap"]
-----
-$ mvn dependency:sources
-$ mvn dependency:resolve -Dclassifier=javadoc
-----
-////
-
-:leveloffset!:
// Build and run sections for other environments/builds
ifndef::ProductRelease,EAPXPRelease[]
:leveloffset: +1
@@ -990,45 +940,18 @@ ifndef::deploymentDir[:deploymentTargetDir: target]
ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
endif::deploymentTargetDir[]
-Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart, by activating the Maven profile named `provisioned-server` when building the quickstart:
-
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
-----
-
-The provisioned {productName} server, with the quickstart deployed, can then be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-
-ifdef::addQuickstartUser[]
-The quickstart user should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' {app-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
-
-ifdef::addQuickstartAdmin[]
-The quickstart admin should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartAdmin' -p 'adminPwd1!' {admin-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
+ifndef::extraStartParams[:extraStartParams: ]
+ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
+Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart. The functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
[source,xml,subs="attributes+"]
----
provisioned-server
+
+ true
+
@@ -1053,113 +976,18 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a
----
-The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers.
-
-If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available:
-
-[source,shell]
-----
-wildfly-glow show-add-ons
-----
-
-// Server Provisioning Testing
-:leveloffset: +1
-
-[[run_the_integration_tests_with_provisioned_server_]]
-= Run the Integration Tests with a provisioned server
-
-//******************************************************************************
-// This template sets attributes for the different standalone server profiles.
-//
-// You must define the `standalone-server-type`. Supported values are:
-// default
-// full
-// full-ha
-// ha
-// microprofile
-// custom
-//******************************************************************************
-
-// Standalone server with the default profile.
-ifeval::["{standalone-server-type}"=="default"]
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::[]
-
-// Standalone server with the full profile.
-ifeval::["{standalone-server-type}"=="full"]
-:serverProfile: full profile
-:configFileName: standalone/configuration/standalone-full.xml
-:serverArguments: -c standalone-full.xml
-endif::[]
-
-// Standalone server with the full HA profile.
-ifeval::["{standalone-server-type}"=="full-ha"]
-:serverProfile: full HA profile
-:configFileName: standalone/configuration/standalone-full-ha.xml
-:serverArguments: -c standalone-full-ha.xml
-endif::[]
-
-// Start the standalone server with the HA profile.
-ifeval::["{standalone-server-type}"=="ha"]
-:serverProfile: HA profile
-:configFileName: standalone/configuration/standalone-ha.xml
-:serverArguments: -c standalone-ha.xml
-endif::[]
-
-// Start the standalone server with the Eclipse MicroProfile profile.
-ifeval::["{standalone-server-type}"=="microprofile"]
-:serverProfile: MicroProfile profile
-:configFileName: standalone/configuration/standalone-microprofile.xml
-:serverArguments: -c standalone-microprofile.xml
-endif::[]
-
-// Standalone server with the custom profile.
-// NOTE: This profile requires that you define the `serverArguments` variable
-// within the quickstart README.adoc file. For example:
-// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
-ifeval::["{standalone-server-type}"=="custom"]
-:serverProfile: custom profile
-endif::[]
-// If there is no match, use the default profile.
-ifndef::serverProfile[]
-:standalone-server-type: default
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::serverProfile[]
+When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-ifndef::mavenServerProvisioningCommand[]
-ifeval::["{archiveType}"=="ear"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-ifeval::["{archiveType}"=="war"]
-:mavenServerProvisioningCommand: clean package
-endif::[]
-ifeval::["{archiveType}"=="jar"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-endif::mavenServerProvisioningCommand[]
-
-ifndef::deploymentTargetDir[]
-ifndef::deploymentDir[:deploymentTargetDir: target]
-ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
-endif::deploymentTargetDir[]
-
-ifndef::extraStartParams[:extraStartParams: ]
-ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
+Follow these steps to run the quickstart using the provisioned server.
-The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a provisioned server.
-
-Follow these steps to run the integration tests.
+.Procedure
. Make sure the server is provisioned.
+
[source,subs="attributes+",options="nowrap"]
----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
+$ mvn {mavenServerProvisioningCommand}
----
ifdef::addQuickstartUser[]
@@ -1184,7 +1012,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
====
endif::[]
-. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation.
+. Start the {productName} provisioned server, using the WildFly Maven Plugin `start` goal.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -1195,18 +1023,18 @@ endif::[]
ifdef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
----
-$ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/target/server {extraStartParams}
+$ mvn -f {deploymentDir}/pom.xml wildfly:start {extraStartParams}
----
endif::[]
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
+. Type the following command to run the integration tests.
+
[source,subs="attributes+",options="nowrap"]
----
$ mvn verify -Pintegration-testing {extraProvisioningTestParams}
----
-. Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too.
+. Shut down the {productName} provisioned server.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -1221,8 +1049,6 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:shutdown
----
endif::[]
-:leveloffset: 1
-
:leveloffset!:
endif::[]
diff --git a/ejb-throws-exception/README.adoc b/ejb-throws-exception/README.adoc
index 6f2567e9ac..af2e0d4656 100644
--- a/ejb-throws-exception/README.adoc
+++ b/ejb-throws-exception/README.adoc
@@ -569,7 +569,6 @@ $ mvn verify -Pintegration-testing {extraStandardDistTestParams}
----
:leveloffset!:
-
// Undeploy the Quickstart
:leveloffset: +1
@@ -615,45 +614,18 @@ ifndef::deploymentDir[:deploymentTargetDir: target]
ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
endif::deploymentTargetDir[]
-Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart, by activating the Maven profile named `provisioned-server` when building the quickstart:
-
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
-----
-
-The provisioned {productName} server, with the quickstart deployed, can then be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-
-ifdef::addQuickstartUser[]
-The quickstart user should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' {app-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
-
-ifdef::addQuickstartAdmin[]
-The quickstart admin should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartAdmin' -p 'adminPwd1!' {admin-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
+ifndef::extraStartParams[:extraStartParams: ]
+ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
+Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart. The functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
[source,xml,subs="attributes+"]
----
provisioned-server
+
+ true
+
@@ -678,113 +650,18 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a
----
-The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers.
-
-If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available:
-
-[source,shell]
-----
-wildfly-glow show-add-ons
-----
-
-// Server Provisioning Testing
-:leveloffset: +1
-
-[[run_the_integration_tests_with_provisioned_server_]]
-= Run the Integration Tests with a provisioned server
-
-//******************************************************************************
-// This template sets attributes for the different standalone server profiles.
-//
-// You must define the `standalone-server-type`. Supported values are:
-// default
-// full
-// full-ha
-// ha
-// microprofile
-// custom
-//******************************************************************************
-
-// Standalone server with the default profile.
-ifeval::["{standalone-server-type}"=="default"]
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::[]
-
-// Standalone server with the full profile.
-ifeval::["{standalone-server-type}"=="full"]
-:serverProfile: full profile
-:configFileName: standalone/configuration/standalone-full.xml
-:serverArguments: -c standalone-full.xml
-endif::[]
-// Standalone server with the full HA profile.
-ifeval::["{standalone-server-type}"=="full-ha"]
-:serverProfile: full HA profile
-:configFileName: standalone/configuration/standalone-full-ha.xml
-:serverArguments: -c standalone-full-ha.xml
-endif::[]
+When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-// Start the standalone server with the HA profile.
-ifeval::["{standalone-server-type}"=="ha"]
-:serverProfile: HA profile
-:configFileName: standalone/configuration/standalone-ha.xml
-:serverArguments: -c standalone-ha.xml
-endif::[]
+Follow these steps to run the quickstart using the provisioned server.
-// Start the standalone server with the Eclipse MicroProfile profile.
-ifeval::["{standalone-server-type}"=="microprofile"]
-:serverProfile: MicroProfile profile
-:configFileName: standalone/configuration/standalone-microprofile.xml
-:serverArguments: -c standalone-microprofile.xml
-endif::[]
-
-// Standalone server with the custom profile.
-// NOTE: This profile requires that you define the `serverArguments` variable
-// within the quickstart README.adoc file. For example:
-// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
-ifeval::["{standalone-server-type}"=="custom"]
-:serverProfile: custom profile
-endif::[]
-
-// If there is no match, use the default profile.
-ifndef::serverProfile[]
-:standalone-server-type: default
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::serverProfile[]
-
-ifndef::mavenServerProvisioningCommand[]
-ifeval::["{archiveType}"=="ear"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-ifeval::["{archiveType}"=="war"]
-:mavenServerProvisioningCommand: clean package
-endif::[]
-ifeval::["{archiveType}"=="jar"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-endif::mavenServerProvisioningCommand[]
-
-ifndef::deploymentTargetDir[]
-ifndef::deploymentDir[:deploymentTargetDir: target]
-ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
-endif::deploymentTargetDir[]
-
-ifndef::extraStartParams[:extraStartParams: ]
-ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-
-The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a provisioned server.
-
-Follow these steps to run the integration tests.
+.Procedure
. Make sure the server is provisioned.
+
[source,subs="attributes+",options="nowrap"]
----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
+$ mvn {mavenServerProvisioningCommand}
----
ifdef::addQuickstartUser[]
@@ -809,7 +686,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
====
endif::[]
-. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation.
+. Start the {productName} provisioned server, using the WildFly Maven Plugin `start` goal.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -820,18 +697,18 @@ endif::[]
ifdef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
----
-$ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/target/server {extraStartParams}
+$ mvn -f {deploymentDir}/pom.xml wildfly:start {extraStartParams}
----
endif::[]
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
+. Type the following command to run the integration tests.
+
[source,subs="attributes+",options="nowrap"]
----
$ mvn verify -Pintegration-testing {extraProvisioningTestParams}
----
-. Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too.
+. Shut down the {productName} provisioned server.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -846,8 +723,6 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:shutdown
----
endif::[]
-:leveloffset: 1
-
:leveloffset!:
endif::[]
diff --git a/ejb-timer/README.adoc b/ejb-timer/README.adoc
index b1bff84815..db688e111d 100644
--- a/ejb-timer/README.adoc
+++ b/ejb-timer/README.adoc
@@ -550,7 +550,7 @@ INFO [stdout] (EJB default - 2) Timeout received for TimeoutExample[-1065503193
----
// Server Distribution Testing
-:leveloffset: +2
+:leveloffset: +1
[[run_the_integration_tests_with_server_distribution]]
= Run the Integration Tests
@@ -571,7 +571,6 @@ $ mvn verify -Pintegration-testing {extraStandardDistTestParams}
----
:leveloffset!:
-
// Undeploy the Quickstart
:leveloffset: +1
@@ -618,45 +617,18 @@ ifndef::deploymentDir[:deploymentTargetDir: target]
ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
endif::deploymentTargetDir[]
-Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart, by activating the Maven profile named `provisioned-server` when building the quickstart:
-
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
-----
-
-The provisioned {productName} server, with the quickstart deployed, can then be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-
-ifdef::addQuickstartUser[]
-The quickstart user should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' {app-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
-
-ifdef::addQuickstartAdmin[]
-The quickstart admin should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartAdmin' -p 'adminPwd1!' {admin-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
+ifndef::extraStartParams[:extraStartParams: ]
+ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
+Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart. The functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
[source,xml,subs="attributes+"]
----
provisioned-server
+
+ true
+
@@ -681,113 +653,18 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a
----
-The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers.
-
-If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available:
-
-[source,shell]
-----
-wildfly-glow show-add-ons
-----
-
-// Server Provisioning Testing
-:leveloffset: +1
-
-[[run_the_integration_tests_with_provisioned_server_]]
-= Run the Integration Tests with a provisioned server
-
-//******************************************************************************
-// This template sets attributes for the different standalone server profiles.
-//
-// You must define the `standalone-server-type`. Supported values are:
-// default
-// full
-// full-ha
-// ha
-// microprofile
-// custom
-//******************************************************************************
-
-// Standalone server with the default profile.
-ifeval::["{standalone-server-type}"=="default"]
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::[]
-
-// Standalone server with the full profile.
-ifeval::["{standalone-server-type}"=="full"]
-:serverProfile: full profile
-:configFileName: standalone/configuration/standalone-full.xml
-:serverArguments: -c standalone-full.xml
-endif::[]
-
-// Standalone server with the full HA profile.
-ifeval::["{standalone-server-type}"=="full-ha"]
-:serverProfile: full HA profile
-:configFileName: standalone/configuration/standalone-full-ha.xml
-:serverArguments: -c standalone-full-ha.xml
-endif::[]
-
-// Start the standalone server with the HA profile.
-ifeval::["{standalone-server-type}"=="ha"]
-:serverProfile: HA profile
-:configFileName: standalone/configuration/standalone-ha.xml
-:serverArguments: -c standalone-ha.xml
-endif::[]
-
-// Start the standalone server with the Eclipse MicroProfile profile.
-ifeval::["{standalone-server-type}"=="microprofile"]
-:serverProfile: MicroProfile profile
-:configFileName: standalone/configuration/standalone-microprofile.xml
-:serverArguments: -c standalone-microprofile.xml
-endif::[]
-
-// Standalone server with the custom profile.
-// NOTE: This profile requires that you define the `serverArguments` variable
-// within the quickstart README.adoc file. For example:
-// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
-ifeval::["{standalone-server-type}"=="custom"]
-:serverProfile: custom profile
-endif::[]
-
-// If there is no match, use the default profile.
-ifndef::serverProfile[]
-:standalone-server-type: default
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::serverProfile[]
-
-ifndef::mavenServerProvisioningCommand[]
-ifeval::["{archiveType}"=="ear"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-ifeval::["{archiveType}"=="war"]
-:mavenServerProvisioningCommand: clean package
-endif::[]
-ifeval::["{archiveType}"=="jar"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-endif::mavenServerProvisioningCommand[]
-
-ifndef::deploymentTargetDir[]
-ifndef::deploymentDir[:deploymentTargetDir: target]
-ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
-endif::deploymentTargetDir[]
-ifndef::extraStartParams[:extraStartParams: ]
-ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
+When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a provisioned server.
+Follow these steps to run the quickstart using the provisioned server.
-Follow these steps to run the integration tests.
+.Procedure
. Make sure the server is provisioned.
+
[source,subs="attributes+",options="nowrap"]
----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
+$ mvn {mavenServerProvisioningCommand}
----
ifdef::addQuickstartUser[]
@@ -812,7 +689,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
====
endif::[]
-. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation.
+. Start the {productName} provisioned server, using the WildFly Maven Plugin `start` goal.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -823,18 +700,18 @@ endif::[]
ifdef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
----
-$ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/target/server {extraStartParams}
+$ mvn -f {deploymentDir}/pom.xml wildfly:start {extraStartParams}
----
endif::[]
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
+. Type the following command to run the integration tests.
+
[source,subs="attributes+",options="nowrap"]
----
$ mvn verify -Pintegration-testing {extraProvisioningTestParams}
----
-. Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too.
+. Shut down the {productName} provisioned server.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -849,8 +726,6 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:shutdown
----
endif::[]
-:leveloffset: 1
-
:leveloffset!:
endif::[]
:leveloffset: +1
diff --git a/ejb-txn-remote-call/README.adoc b/ejb-txn-remote-call/README.adoc
index a70eaca477..5b49edd931 100644
--- a/ejb-txn-remote-call/README.adoc
+++ b/ejb-txn-remote-call/README.adoc
@@ -865,17 +865,17 @@ Instead of using a standard {productName} server distribution, the three {produc
[source,sh,subs="+quotes,attributes+",options="nowrap"]
----
cd ${PATH_TO_QUICKSTART_DIR}/ejb-txn-remote-call/client;
-mvn clean package -Pprovisioned-server \
+mvn clean package \
-DremoteServerUsername="quickstartUser" -DremoteServerPassword="quickstartPwd1!" \
-DpostgresqlUsername="test" -DpostgresqlPassword="test"
----
[source,sh,subs="+quotes,attributes+",options="nowrap"]
----
cd ${PATH_TO_QUICKSTART_DIR}/ejb-txn-remote-call/server;
-mvn clean package -Pprovisioned-server \
+mvn clean package \
-Dwildfly.provisioning.dir=server2 -Djboss-as.home=target/server2 \
-DpostgresqlUsername="test" -DpostgresqlPassword="test";
-mvn package -Pprovisioned-server \
+mvn package \
-Dwildfly.provisioning.dir=server3 -Djboss-as.home=target/server3 \
-DpostgresqlUsername="test" -DpostgresqlPassword="test"
----
@@ -918,7 +918,7 @@ podman run -p 5432:5432 --rm -ePOSTGRES_DB=test -ePOSTGRES_USER=test -ePOSTGRES
[source,subs="attributes+",options="nowrap"]
----
cd ${PATH_TO_QUICKSTART_DIR}/ejb-txn-remote-call/client;
-mvn wildfly:start -Djboss-as.home=target/server \
+mvn wildfly:start \
-Dwildfly.javaOpts="-Djboss.tx.node.id=server1 -Djboss.node.name=server1"
----
+
@@ -995,8 +995,6 @@ might result in no-ACID transactions.
=== Prerequisites
-Unresolved directive in README-source.adoc - include::../shared-doc/cd-create-project.adoc[leveloffset=+3]
-
[#_install_operator]
==== Install {productName}'s Operator
diff --git a/helloworld-jms/README.adoc b/helloworld-jms/README.adoc
index c1818c9667..5ecd893ea8 100644
--- a/helloworld-jms/README.adoc
+++ b/helloworld-jms/README.adoc
@@ -719,45 +719,18 @@ ifndef::deploymentDir[:deploymentTargetDir: target]
ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
endif::deploymentTargetDir[]
-Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart, by activating the Maven profile named `provisioned-server` when building the quickstart:
-
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
-----
-
-The provisioned {productName} server, with the quickstart deployed, can then be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-
-ifdef::addQuickstartUser[]
-The quickstart user should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' {app-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
-
-ifdef::addQuickstartAdmin[]
-The quickstart admin should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartAdmin' -p 'adminPwd1!' {admin-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
+ifndef::extraStartParams[:extraStartParams: ]
+ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
+Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart. The functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
[source,xml,subs="attributes+"]
----
provisioned-server
+
+ true
+
@@ -782,113 +755,18 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a
----
-The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers.
-If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available:
+When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-[source,shell]
-----
-wildfly-glow show-add-ons
-----
+Follow these steps to run the quickstart using the provisioned server.
-// Server Provisioning Testing
-:leveloffset: +1
-
-[[run_the_integration_tests_with_provisioned_server_]]
-= Run the Integration Tests with a provisioned server
-
-//******************************************************************************
-// This template sets attributes for the different standalone server profiles.
-//
-// You must define the `standalone-server-type`. Supported values are:
-// default
-// full
-// full-ha
-// ha
-// microprofile
-// custom
-//******************************************************************************
-
-// Standalone server with the default profile.
-ifeval::["{standalone-server-type}"=="default"]
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::[]
-
-// Standalone server with the full profile.
-ifeval::["{standalone-server-type}"=="full"]
-:serverProfile: full profile
-:configFileName: standalone/configuration/standalone-full.xml
-:serverArguments: -c standalone-full.xml
-endif::[]
-
-// Standalone server with the full HA profile.
-ifeval::["{standalone-server-type}"=="full-ha"]
-:serverProfile: full HA profile
-:configFileName: standalone/configuration/standalone-full-ha.xml
-:serverArguments: -c standalone-full-ha.xml
-endif::[]
-
-// Start the standalone server with the HA profile.
-ifeval::["{standalone-server-type}"=="ha"]
-:serverProfile: HA profile
-:configFileName: standalone/configuration/standalone-ha.xml
-:serverArguments: -c standalone-ha.xml
-endif::[]
-
-// Start the standalone server with the Eclipse MicroProfile profile.
-ifeval::["{standalone-server-type}"=="microprofile"]
-:serverProfile: MicroProfile profile
-:configFileName: standalone/configuration/standalone-microprofile.xml
-:serverArguments: -c standalone-microprofile.xml
-endif::[]
-
-// Standalone server with the custom profile.
-// NOTE: This profile requires that you define the `serverArguments` variable
-// within the quickstart README.adoc file. For example:
-// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
-ifeval::["{standalone-server-type}"=="custom"]
-:serverProfile: custom profile
-endif::[]
-
-// If there is no match, use the default profile.
-ifndef::serverProfile[]
-:standalone-server-type: default
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::serverProfile[]
-
-ifndef::mavenServerProvisioningCommand[]
-ifeval::["{archiveType}"=="ear"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-ifeval::["{archiveType}"=="war"]
-:mavenServerProvisioningCommand: clean package
-endif::[]
-ifeval::["{archiveType}"=="jar"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-endif::mavenServerProvisioningCommand[]
-
-ifndef::deploymentTargetDir[]
-ifndef::deploymentDir[:deploymentTargetDir: target]
-ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
-endif::deploymentTargetDir[]
-
-ifndef::extraStartParams[:extraStartParams: ]
-ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-
-The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a provisioned server.
-
-Follow these steps to run the integration tests.
+.Procedure
. Make sure the server is provisioned.
+
[source,subs="attributes+",options="nowrap"]
----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
+$ mvn {mavenServerProvisioningCommand}
----
ifdef::addQuickstartUser[]
@@ -913,7 +791,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
====
endif::[]
-. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation.
+. Start the {productName} provisioned server, using the WildFly Maven Plugin `start` goal.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -924,18 +802,18 @@ endif::[]
ifdef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
----
-$ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/target/server {extraStartParams}
+$ mvn -f {deploymentDir}/pom.xml wildfly:start {extraStartParams}
----
endif::[]
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
+. Type the following command to run the integration tests.
+
[source,subs="attributes+",options="nowrap"]
----
$ mvn verify -Pintegration-testing {extraProvisioningTestParams}
----
-. Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too.
+. Shut down the {productName} provisioned server.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -950,8 +828,6 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:shutdown
----
endif::[]
-:leveloffset: 1
-
:leveloffset!:
endif::[]
:leveloffset: +1
diff --git a/helloworld-mdb/README.adoc b/helloworld-mdb/README.adoc
index 0e04a0cab5..c7ebe34cd1 100644
--- a/helloworld-mdb/README.adoc
+++ b/helloworld-mdb/README.adoc
@@ -588,7 +588,6 @@ $ mvn wildfly:undeploy
----
:leveloffset!:
-endif::[]
// Build and run sections for other environments/builds
ifndef::ProductRelease,EAPXPRelease[]
@@ -614,45 +613,18 @@ ifndef::deploymentDir[:deploymentTargetDir: target]
ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
endif::deploymentTargetDir[]
-Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart, by activating the Maven profile named `provisioned-server` when building the quickstart:
-
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
-----
-
-The provisioned {productName} server, with the quickstart deployed, can then be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-
-ifdef::addQuickstartUser[]
-The quickstart user should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' {app-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
-
-ifdef::addQuickstartAdmin[]
-The quickstart admin should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartAdmin' -p 'adminPwd1!' {admin-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
+ifndef::extraStartParams[:extraStartParams: ]
+ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
+Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart. The functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
[source,xml,subs="attributes+"]
----
provisioned-server
+
+ true
+
@@ -677,113 +649,18 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a
----
-The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers.
-
-If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available:
-
-[source,shell]
-----
-wildfly-glow show-add-ons
-----
-
-// Server Provisioning Testing
-:leveloffset: +1
-[[run_the_integration_tests_with_provisioned_server_]]
-= Run the Integration Tests with a provisioned server
-
-//******************************************************************************
-// This template sets attributes for the different standalone server profiles.
-//
-// You must define the `standalone-server-type`. Supported values are:
-// default
-// full
-// full-ha
-// ha
-// microprofile
-// custom
-//******************************************************************************
+When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-// Standalone server with the default profile.
-ifeval::["{standalone-server-type}"=="default"]
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::[]
+Follow these steps to run the quickstart using the provisioned server.
-// Standalone server with the full profile.
-ifeval::["{standalone-server-type}"=="full"]
-:serverProfile: full profile
-:configFileName: standalone/configuration/standalone-full.xml
-:serverArguments: -c standalone-full.xml
-endif::[]
-
-// Standalone server with the full HA profile.
-ifeval::["{standalone-server-type}"=="full-ha"]
-:serverProfile: full HA profile
-:configFileName: standalone/configuration/standalone-full-ha.xml
-:serverArguments: -c standalone-full-ha.xml
-endif::[]
-
-// Start the standalone server with the HA profile.
-ifeval::["{standalone-server-type}"=="ha"]
-:serverProfile: HA profile
-:configFileName: standalone/configuration/standalone-ha.xml
-:serverArguments: -c standalone-ha.xml
-endif::[]
-
-// Start the standalone server with the Eclipse MicroProfile profile.
-ifeval::["{standalone-server-type}"=="microprofile"]
-:serverProfile: MicroProfile profile
-:configFileName: standalone/configuration/standalone-microprofile.xml
-:serverArguments: -c standalone-microprofile.xml
-endif::[]
-
-// Standalone server with the custom profile.
-// NOTE: This profile requires that you define the `serverArguments` variable
-// within the quickstart README.adoc file. For example:
-// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
-ifeval::["{standalone-server-type}"=="custom"]
-:serverProfile: custom profile
-endif::[]
-
-// If there is no match, use the default profile.
-ifndef::serverProfile[]
-:standalone-server-type: default
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::serverProfile[]
-
-ifndef::mavenServerProvisioningCommand[]
-ifeval::["{archiveType}"=="ear"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-ifeval::["{archiveType}"=="war"]
-:mavenServerProvisioningCommand: clean package
-endif::[]
-ifeval::["{archiveType}"=="jar"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-endif::mavenServerProvisioningCommand[]
-
-ifndef::deploymentTargetDir[]
-ifndef::deploymentDir[:deploymentTargetDir: target]
-ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
-endif::deploymentTargetDir[]
-
-ifndef::extraStartParams[:extraStartParams: ]
-ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-
-The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a provisioned server.
-
-Follow these steps to run the integration tests.
+.Procedure
. Make sure the server is provisioned.
+
[source,subs="attributes+",options="nowrap"]
----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
+$ mvn {mavenServerProvisioningCommand}
----
ifdef::addQuickstartUser[]
@@ -808,7 +685,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
====
endif::[]
-. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation.
+. Start the {productName} provisioned server, using the WildFly Maven Plugin `start` goal.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -819,18 +696,18 @@ endif::[]
ifdef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
----
-$ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/target/server {extraStartParams}
+$ mvn -f {deploymentDir}/pom.xml wildfly:start {extraStartParams}
----
endif::[]
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
+. Type the following command to run the integration tests.
+
[source,subs="attributes+",options="nowrap"]
----
$ mvn verify -Pintegration-testing {extraProvisioningTestParams}
----
-. Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too.
+. Shut down the {productName} provisioned server.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -845,8 +722,6 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:shutdown
----
endif::[]
-:leveloffset: 1
-
:leveloffset!:
endif::[]
:leveloffset: +1
diff --git a/helloworld-mutual-ssl-secured/README.adoc b/helloworld-mutual-ssl-secured/README.adoc
index de2fdc3a2f..4061b3e81c 100644
--- a/helloworld-mutual-ssl-secured/README.adoc
+++ b/helloworld-mutual-ssl-secured/README.adoc
@@ -816,7 +816,7 @@ ynfnMaOxI67FC2QzhfzERyKqHj47WuwN0xWbS/1gBypS2nUwvItyxaEQG2X5uQY8j8QoY9wcMzIIkP2M
// Server Distribution Testing
:extraStandardDistTestParams: -Dserver.dir=__{jbossHomeName}__
-:leveloffset: +2
+:leveloffset: +1
[[run_the_integration_tests_with_server_distribution]]
= Run the Integration Tests
@@ -1051,45 +1051,18 @@ ifndef::deploymentDir[:deploymentTargetDir: target]
ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
endif::deploymentTargetDir[]
-Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart, by activating the Maven profile named `provisioned-server` when building the quickstart:
-
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
-----
-
-The provisioned {productName} server, with the quickstart deployed, can then be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-
-ifdef::addQuickstartUser[]
-The quickstart user should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' {app-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
-
-ifdef::addQuickstartAdmin[]
-The quickstart admin should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartAdmin' -p 'adminPwd1!' {admin-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
+ifndef::extraStartParams[:extraStartParams: ]
+ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
+Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart. The functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
[source,xml,subs="attributes+"]
----
provisioned-server
+
+ true
+
@@ -1114,113 +1087,18 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a
----
-The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers.
-If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available:
+When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-[source,shell]
-----
-wildfly-glow show-add-ons
-----
-
-// Server Provisioning Testing
-:leveloffset: +1
+Follow these steps to run the quickstart using the provisioned server.
-[[run_the_integration_tests_with_provisioned_server_]]
-= Run the Integration Tests with a provisioned server
-
-//******************************************************************************
-// This template sets attributes for the different standalone server profiles.
-//
-// You must define the `standalone-server-type`. Supported values are:
-// default
-// full
-// full-ha
-// ha
-// microprofile
-// custom
-//******************************************************************************
-
-// Standalone server with the default profile.
-ifeval::["{standalone-server-type}"=="default"]
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::[]
-
-// Standalone server with the full profile.
-ifeval::["{standalone-server-type}"=="full"]
-:serverProfile: full profile
-:configFileName: standalone/configuration/standalone-full.xml
-:serverArguments: -c standalone-full.xml
-endif::[]
-
-// Standalone server with the full HA profile.
-ifeval::["{standalone-server-type}"=="full-ha"]
-:serverProfile: full HA profile
-:configFileName: standalone/configuration/standalone-full-ha.xml
-:serverArguments: -c standalone-full-ha.xml
-endif::[]
-
-// Start the standalone server with the HA profile.
-ifeval::["{standalone-server-type}"=="ha"]
-:serverProfile: HA profile
-:configFileName: standalone/configuration/standalone-ha.xml
-:serverArguments: -c standalone-ha.xml
-endif::[]
-
-// Start the standalone server with the Eclipse MicroProfile profile.
-ifeval::["{standalone-server-type}"=="microprofile"]
-:serverProfile: MicroProfile profile
-:configFileName: standalone/configuration/standalone-microprofile.xml
-:serverArguments: -c standalone-microprofile.xml
-endif::[]
-
-// Standalone server with the custom profile.
-// NOTE: This profile requires that you define the `serverArguments` variable
-// within the quickstart README.adoc file. For example:
-// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
-ifeval::["{standalone-server-type}"=="custom"]
-:serverProfile: custom profile
-endif::[]
-
-// If there is no match, use the default profile.
-ifndef::serverProfile[]
-:standalone-server-type: default
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::serverProfile[]
-
-ifndef::mavenServerProvisioningCommand[]
-ifeval::["{archiveType}"=="ear"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-ifeval::["{archiveType}"=="war"]
-:mavenServerProvisioningCommand: clean package
-endif::[]
-ifeval::["{archiveType}"=="jar"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-endif::mavenServerProvisioningCommand[]
-
-ifndef::deploymentTargetDir[]
-ifndef::deploymentDir[:deploymentTargetDir: target]
-ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
-endif::deploymentTargetDir[]
-
-ifndef::extraStartParams[:extraStartParams: ]
-ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-
-The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a provisioned server.
-
-Follow these steps to run the integration tests.
+.Procedure
. Make sure the server is provisioned.
+
[source,subs="attributes+",options="nowrap"]
----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
+$ mvn {mavenServerProvisioningCommand}
----
ifdef::addQuickstartUser[]
@@ -1245,7 +1123,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
====
endif::[]
-. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation.
+. Start the {productName} provisioned server, using the WildFly Maven Plugin `start` goal.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -1256,18 +1134,18 @@ endif::[]
ifdef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
----
-$ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/target/server {extraStartParams}
+$ mvn -f {deploymentDir}/pom.xml wildfly:start {extraStartParams}
----
endif::[]
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
+. Type the following command to run the integration tests.
+
[source,subs="attributes+",options="nowrap"]
----
$ mvn verify -Pintegration-testing {extraProvisioningTestParams}
----
-. Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too.
+. Shut down the {productName} provisioned server.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -1282,8 +1160,6 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:shutdown
----
endif::[]
-:leveloffset: 1
-
:leveloffset!:
endif::[]
diff --git a/helloworld-mutual-ssl/README.adoc b/helloworld-mutual-ssl/README.adoc
index aa957a6354..9a1955f3c7 100644
--- a/helloworld-mutual-ssl/README.adoc
+++ b/helloworld-mutual-ssl/README.adoc
@@ -718,7 +718,7 @@ aEWK4zhPVFynfnMaOxI67FC2QzhfzERyKqHj47WuwN0xWbS/1gBypS2nUwvItyxaEQG2X5uQY8j8QoY9
// Server Distribution Testing
:extraStandardDistTestParams: -Dserver.dir=__{jbossHomeName}__
-:leveloffset: +2
+:leveloffset: +1
[[run_the_integration_tests_with_server_distribution]]
= Run the Integration Tests
@@ -950,45 +950,18 @@ ifndef::deploymentDir[:deploymentTargetDir: target]
ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
endif::deploymentTargetDir[]
-Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart, by activating the Maven profile named `provisioned-server` when building the quickstart:
-
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
-----
-
-The provisioned {productName} server, with the quickstart deployed, can then be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-
-ifdef::addQuickstartUser[]
-The quickstart user should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' {app-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
-
-ifdef::addQuickstartAdmin[]
-The quickstart admin should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartAdmin' -p 'adminPwd1!' {admin-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
+ifndef::extraStartParams[:extraStartParams: ]
+ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
+Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart. The functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
[source,xml,subs="attributes+"]
----
provisioned-server
+
+ true
+
@@ -1013,113 +986,18 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a
----
-The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers.
-If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available:
+When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-[source,shell]
-----
-wildfly-glow show-add-ons
-----
-
-// Server Provisioning Testing
-:leveloffset: +1
+Follow these steps to run the quickstart using the provisioned server.
-[[run_the_integration_tests_with_provisioned_server_]]
-= Run the Integration Tests with a provisioned server
-
-//******************************************************************************
-// This template sets attributes for the different standalone server profiles.
-//
-// You must define the `standalone-server-type`. Supported values are:
-// default
-// full
-// full-ha
-// ha
-// microprofile
-// custom
-//******************************************************************************
-
-// Standalone server with the default profile.
-ifeval::["{standalone-server-type}"=="default"]
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::[]
-
-// Standalone server with the full profile.
-ifeval::["{standalone-server-type}"=="full"]
-:serverProfile: full profile
-:configFileName: standalone/configuration/standalone-full.xml
-:serverArguments: -c standalone-full.xml
-endif::[]
-
-// Standalone server with the full HA profile.
-ifeval::["{standalone-server-type}"=="full-ha"]
-:serverProfile: full HA profile
-:configFileName: standalone/configuration/standalone-full-ha.xml
-:serverArguments: -c standalone-full-ha.xml
-endif::[]
-
-// Start the standalone server with the HA profile.
-ifeval::["{standalone-server-type}"=="ha"]
-:serverProfile: HA profile
-:configFileName: standalone/configuration/standalone-ha.xml
-:serverArguments: -c standalone-ha.xml
-endif::[]
-
-// Start the standalone server with the Eclipse MicroProfile profile.
-ifeval::["{standalone-server-type}"=="microprofile"]
-:serverProfile: MicroProfile profile
-:configFileName: standalone/configuration/standalone-microprofile.xml
-:serverArguments: -c standalone-microprofile.xml
-endif::[]
-
-// Standalone server with the custom profile.
-// NOTE: This profile requires that you define the `serverArguments` variable
-// within the quickstart README.adoc file. For example:
-// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
-ifeval::["{standalone-server-type}"=="custom"]
-:serverProfile: custom profile
-endif::[]
-
-// If there is no match, use the default profile.
-ifndef::serverProfile[]
-:standalone-server-type: default
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::serverProfile[]
-
-ifndef::mavenServerProvisioningCommand[]
-ifeval::["{archiveType}"=="ear"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-ifeval::["{archiveType}"=="war"]
-:mavenServerProvisioningCommand: clean package
-endif::[]
-ifeval::["{archiveType}"=="jar"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-endif::mavenServerProvisioningCommand[]
-
-ifndef::deploymentTargetDir[]
-ifndef::deploymentDir[:deploymentTargetDir: target]
-ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
-endif::deploymentTargetDir[]
-
-ifndef::extraStartParams[:extraStartParams: ]
-ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-
-The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a provisioned server.
-
-Follow these steps to run the integration tests.
+.Procedure
. Make sure the server is provisioned.
+
[source,subs="attributes+",options="nowrap"]
----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
+$ mvn {mavenServerProvisioningCommand}
----
ifdef::addQuickstartUser[]
@@ -1144,7 +1022,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
====
endif::[]
-. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation.
+. Start the {productName} provisioned server, using the WildFly Maven Plugin `start` goal.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -1155,18 +1033,18 @@ endif::[]
ifdef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
----
-$ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/target/server {extraStartParams}
+$ mvn -f {deploymentDir}/pom.xml wildfly:start {extraStartParams}
----
endif::[]
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
+. Type the following command to run the integration tests.
+
[source,subs="attributes+",options="nowrap"]
----
$ mvn verify -Pintegration-testing {extraProvisioningTestParams}
----
-. Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too.
+. Shut down the {productName} provisioned server.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -1181,8 +1059,6 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:shutdown
----
endif::[]
-:leveloffset: 1
-
:leveloffset!:
endif::[]
diff --git a/helloworld-rs/README.adoc b/helloworld-rs/README.adoc
index 6fe9f9f705..ccdedf6d79 100644
--- a/helloworld-rs/README.adoc
+++ b/helloworld-rs/README.adoc
@@ -569,45 +569,18 @@ ifndef::deploymentDir[:deploymentTargetDir: target]
ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
endif::deploymentTargetDir[]
-Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart, by activating the Maven profile named `provisioned-server` when building the quickstart:
-
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
-----
-
-The provisioned {productName} server, with the quickstart deployed, can then be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-
-ifdef::addQuickstartUser[]
-The quickstart user should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' {app-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
-
-ifdef::addQuickstartAdmin[]
-The quickstart admin should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartAdmin' -p 'adminPwd1!' {admin-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
+ifndef::extraStartParams[:extraStartParams: ]
+ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
+Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart. The functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
[source,xml,subs="attributes+"]
----
provisioned-server
+
+ true
+
@@ -632,113 +605,18 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a
----
-The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers.
-
-If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available:
-
-[source,shell]
-----
-wildfly-glow show-add-ons
-----
-
-// Server Provisioning Testing
-:leveloffset: +1
-
-[[run_the_integration_tests_with_provisioned_server_]]
-= Run the Integration Tests with a provisioned server
-
-//******************************************************************************
-// This template sets attributes for the different standalone server profiles.
-//
-// You must define the `standalone-server-type`. Supported values are:
-// default
-// full
-// full-ha
-// ha
-// microprofile
-// custom
-//******************************************************************************
-
-// Standalone server with the default profile.
-ifeval::["{standalone-server-type}"=="default"]
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::[]
-
-// Standalone server with the full profile.
-ifeval::["{standalone-server-type}"=="full"]
-:serverProfile: full profile
-:configFileName: standalone/configuration/standalone-full.xml
-:serverArguments: -c standalone-full.xml
-endif::[]
-
-// Standalone server with the full HA profile.
-ifeval::["{standalone-server-type}"=="full-ha"]
-:serverProfile: full HA profile
-:configFileName: standalone/configuration/standalone-full-ha.xml
-:serverArguments: -c standalone-full-ha.xml
-endif::[]
-// Start the standalone server with the HA profile.
-ifeval::["{standalone-server-type}"=="ha"]
-:serverProfile: HA profile
-:configFileName: standalone/configuration/standalone-ha.xml
-:serverArguments: -c standalone-ha.xml
-endif::[]
+When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-// Start the standalone server with the Eclipse MicroProfile profile.
-ifeval::["{standalone-server-type}"=="microprofile"]
-:serverProfile: MicroProfile profile
-:configFileName: standalone/configuration/standalone-microprofile.xml
-:serverArguments: -c standalone-microprofile.xml
-endif::[]
+Follow these steps to run the quickstart using the provisioned server.
-// Standalone server with the custom profile.
-// NOTE: This profile requires that you define the `serverArguments` variable
-// within the quickstart README.adoc file. For example:
-// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
-ifeval::["{standalone-server-type}"=="custom"]
-:serverProfile: custom profile
-endif::[]
-
-// If there is no match, use the default profile.
-ifndef::serverProfile[]
-:standalone-server-type: default
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::serverProfile[]
-
-ifndef::mavenServerProvisioningCommand[]
-ifeval::["{archiveType}"=="ear"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-ifeval::["{archiveType}"=="war"]
-:mavenServerProvisioningCommand: clean package
-endif::[]
-ifeval::["{archiveType}"=="jar"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-endif::mavenServerProvisioningCommand[]
-
-ifndef::deploymentTargetDir[]
-ifndef::deploymentDir[:deploymentTargetDir: target]
-ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
-endif::deploymentTargetDir[]
-
-ifndef::extraStartParams[:extraStartParams: ]
-ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-
-The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a provisioned server.
-
-Follow these steps to run the integration tests.
+.Procedure
. Make sure the server is provisioned.
+
[source,subs="attributes+",options="nowrap"]
----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
+$ mvn {mavenServerProvisioningCommand}
----
ifdef::addQuickstartUser[]
@@ -763,7 +641,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
====
endif::[]
-. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation.
+. Start the {productName} provisioned server, using the WildFly Maven Plugin `start` goal.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -774,18 +652,18 @@ endif::[]
ifdef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
----
-$ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/target/server {extraStartParams}
+$ mvn -f {deploymentDir}/pom.xml wildfly:start {extraStartParams}
----
endif::[]
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
+. Type the following command to run the integration tests.
+
[source,subs="attributes+",options="nowrap"]
----
$ mvn verify -Pintegration-testing {extraProvisioningTestParams}
----
-. Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too.
+. Shut down the {productName} provisioned server.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -800,8 +678,6 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:shutdown
----
endif::[]
-:leveloffset: 1
-
:leveloffset!:
endif::[]
:leveloffset: +1
diff --git a/helloworld-singleton/README.adoc b/helloworld-singleton/README.adoc
index 50b0ce7265..a7a523ba2f 100644
--- a/helloworld-singleton/README.adoc
+++ b/helloworld-singleton/README.adoc
@@ -576,45 +576,18 @@ ifndef::deploymentDir[:deploymentTargetDir: target]
ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
endif::deploymentTargetDir[]
-Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart, by activating the Maven profile named `provisioned-server` when building the quickstart:
-
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
-----
-
-The provisioned {productName} server, with the quickstart deployed, can then be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-
-ifdef::addQuickstartUser[]
-The quickstart user should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' {app-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
-
-ifdef::addQuickstartAdmin[]
-The quickstart admin should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartAdmin' -p 'adminPwd1!' {admin-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
+ifndef::extraStartParams[:extraStartParams: ]
+ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
+Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart. The functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
[source,xml,subs="attributes+"]
----
provisioned-server
+
+ true
+
@@ -639,113 +612,18 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a
----
-The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers.
-
-If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available:
-
-[source,shell]
-----
-wildfly-glow show-add-ons
-----
-
-// Server Provisioning Testing
-:leveloffset: +1
-
-[[run_the_integration_tests_with_provisioned_server_]]
-= Run the Integration Tests with a provisioned server
-
-//******************************************************************************
-// This template sets attributes for the different standalone server profiles.
-//
-// You must define the `standalone-server-type`. Supported values are:
-// default
-// full
-// full-ha
-// ha
-// microprofile
-// custom
-//******************************************************************************
-
-// Standalone server with the default profile.
-ifeval::["{standalone-server-type}"=="default"]
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::[]
-
-// Standalone server with the full profile.
-ifeval::["{standalone-server-type}"=="full"]
-:serverProfile: full profile
-:configFileName: standalone/configuration/standalone-full.xml
-:serverArguments: -c standalone-full.xml
-endif::[]
-
-// Standalone server with the full HA profile.
-ifeval::["{standalone-server-type}"=="full-ha"]
-:serverProfile: full HA profile
-:configFileName: standalone/configuration/standalone-full-ha.xml
-:serverArguments: -c standalone-full-ha.xml
-endif::[]
-// Start the standalone server with the HA profile.
-ifeval::["{standalone-server-type}"=="ha"]
-:serverProfile: HA profile
-:configFileName: standalone/configuration/standalone-ha.xml
-:serverArguments: -c standalone-ha.xml
-endif::[]
+When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-// Start the standalone server with the Eclipse MicroProfile profile.
-ifeval::["{standalone-server-type}"=="microprofile"]
-:serverProfile: MicroProfile profile
-:configFileName: standalone/configuration/standalone-microprofile.xml
-:serverArguments: -c standalone-microprofile.xml
-endif::[]
+Follow these steps to run the quickstart using the provisioned server.
-// Standalone server with the custom profile.
-// NOTE: This profile requires that you define the `serverArguments` variable
-// within the quickstart README.adoc file. For example:
-// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
-ifeval::["{standalone-server-type}"=="custom"]
-:serverProfile: custom profile
-endif::[]
-
-// If there is no match, use the default profile.
-ifndef::serverProfile[]
-:standalone-server-type: default
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::serverProfile[]
-
-ifndef::mavenServerProvisioningCommand[]
-ifeval::["{archiveType}"=="ear"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-ifeval::["{archiveType}"=="war"]
-:mavenServerProvisioningCommand: clean package
-endif::[]
-ifeval::["{archiveType}"=="jar"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-endif::mavenServerProvisioningCommand[]
-
-ifndef::deploymentTargetDir[]
-ifndef::deploymentDir[:deploymentTargetDir: target]
-ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
-endif::deploymentTargetDir[]
-
-ifndef::extraStartParams[:extraStartParams: ]
-ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-
-The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a provisioned server.
-
-Follow these steps to run the integration tests.
+.Procedure
. Make sure the server is provisioned.
+
[source,subs="attributes+",options="nowrap"]
----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
+$ mvn {mavenServerProvisioningCommand}
----
ifdef::addQuickstartUser[]
@@ -770,7 +648,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
====
endif::[]
-. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation.
+. Start the {productName} provisioned server, using the WildFly Maven Plugin `start` goal.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -781,18 +659,18 @@ endif::[]
ifdef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
----
-$ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/target/server {extraStartParams}
+$ mvn -f {deploymentDir}/pom.xml wildfly:start {extraStartParams}
----
endif::[]
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
+. Type the following command to run the integration tests.
+
[source,subs="attributes+",options="nowrap"]
----
$ mvn verify -Pintegration-testing {extraProvisioningTestParams}
----
-. Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too.
+. Shut down the {productName} provisioned server.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -807,8 +685,6 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:shutdown
----
endif::[]
-:leveloffset: 1
-
:leveloffset!:
endif::[]
:leveloffset: +1
diff --git a/helloworld-ws/README.adoc b/helloworld-ws/README.adoc
index 73d4acba3a..8e3036cfad 100644
--- a/helloworld-ws/README.adoc
+++ b/helloworld-ws/README.adoc
@@ -516,6 +516,28 @@ JBWS024061: Adding service endpoint metadata: id=org.jboss.as.quickstarts.wshell
You can verify that the Web Service is running and deployed correctly by accessing the following URL: http://localhost:8080/HelloWorldService?wsdl. This URL will display the deployed WSDL endpoint for the Web Service.
+// Server Distribution Testing
+:leveloffset: +2
+
+[[run_the_integration_tests_with_server_distribution]]
+= Run the Integration Tests
+ifndef::integrationTestsDirectory[:integrationTestsDirectory: src/test/]
+ifndef::extraStandardDistTestParams[:extraStandardDistTestParams: ]
+
+This quickstart includes integration tests, which are located under the `{integrationTestsDirectory}` directory. The integration tests verify that the quickstart runs correctly when deployed on the server.
+
+Follow these steps to run the integration tests.
+
+. Make sure {productName} server is started.
+. Make sure the quickstart is deployed.
+. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
++
+[source,subs="attributes+",options="nowrap"]
+----
+$ mvn verify -Pintegration-testing {extraStandardDistTestParams}
+----
+
+:leveloffset!:
// Undeploy the Quickstart
:leveloffset: +2
@@ -562,45 +584,18 @@ ifndef::deploymentDir[:deploymentTargetDir: target]
ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
endif::deploymentTargetDir[]
-Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart, by activating the Maven profile named `provisioned-server` when building the quickstart:
-
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
-----
-
-The provisioned {productName} server, with the quickstart deployed, can then be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-
-ifdef::addQuickstartUser[]
-The quickstart user should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' {app-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
-
-ifdef::addQuickstartAdmin[]
-The quickstart admin should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartAdmin' -p 'adminPwd1!' {admin-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
+ifndef::extraStartParams[:extraStartParams: ]
+ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
+Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart. The functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
[source,xml,subs="attributes+"]
----
provisioned-server
+
+ true
+
@@ -625,113 +620,18 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a
----
-The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers.
-
-If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available:
-
-[source,shell]
-----
-wildfly-glow show-add-ons
-----
-
-// Server Provisioning Testing
-:leveloffset: +1
-
-[[run_the_integration_tests_with_provisioned_server_]]
-= Run the Integration Tests with a provisioned server
-
-//******************************************************************************
-// This template sets attributes for the different standalone server profiles.
-//
-// You must define the `standalone-server-type`. Supported values are:
-// default
-// full
-// full-ha
-// ha
-// microprofile
-// custom
-//******************************************************************************
-
-// Standalone server with the default profile.
-ifeval::["{standalone-server-type}"=="default"]
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::[]
-
-// Standalone server with the full profile.
-ifeval::["{standalone-server-type}"=="full"]
-:serverProfile: full profile
-:configFileName: standalone/configuration/standalone-full.xml
-:serverArguments: -c standalone-full.xml
-endif::[]
-
-// Standalone server with the full HA profile.
-ifeval::["{standalone-server-type}"=="full-ha"]
-:serverProfile: full HA profile
-:configFileName: standalone/configuration/standalone-full-ha.xml
-:serverArguments: -c standalone-full-ha.xml
-endif::[]
-
-// Start the standalone server with the HA profile.
-ifeval::["{standalone-server-type}"=="ha"]
-:serverProfile: HA profile
-:configFileName: standalone/configuration/standalone-ha.xml
-:serverArguments: -c standalone-ha.xml
-endif::[]
-
-// Start the standalone server with the Eclipse MicroProfile profile.
-ifeval::["{standalone-server-type}"=="microprofile"]
-:serverProfile: MicroProfile profile
-:configFileName: standalone/configuration/standalone-microprofile.xml
-:serverArguments: -c standalone-microprofile.xml
-endif::[]
-
-// Standalone server with the custom profile.
-// NOTE: This profile requires that you define the `serverArguments` variable
-// within the quickstart README.adoc file. For example:
-// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
-ifeval::["{standalone-server-type}"=="custom"]
-:serverProfile: custom profile
-endif::[]
-// If there is no match, use the default profile.
-ifndef::serverProfile[]
-:standalone-server-type: default
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::serverProfile[]
+When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-ifndef::mavenServerProvisioningCommand[]
-ifeval::["{archiveType}"=="ear"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-ifeval::["{archiveType}"=="war"]
-:mavenServerProvisioningCommand: clean package
-endif::[]
-ifeval::["{archiveType}"=="jar"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-endif::mavenServerProvisioningCommand[]
+Follow these steps to run the quickstart using the provisioned server.
-ifndef::deploymentTargetDir[]
-ifndef::deploymentDir[:deploymentTargetDir: target]
-ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
-endif::deploymentTargetDir[]
-
-ifndef::extraStartParams[:extraStartParams: ]
-ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-
-The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a provisioned server.
-
-Follow these steps to run the integration tests.
+.Procedure
. Make sure the server is provisioned.
+
[source,subs="attributes+",options="nowrap"]
----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
+$ mvn {mavenServerProvisioningCommand}
----
ifdef::addQuickstartUser[]
@@ -756,7 +656,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
====
endif::[]
-. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation.
+. Start the {productName} provisioned server, using the WildFly Maven Plugin `start` goal.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -767,18 +667,18 @@ endif::[]
ifdef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
----
-$ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/target/server {extraStartParams}
+$ mvn -f {deploymentDir}/pom.xml wildfly:start {extraStartParams}
----
endif::[]
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
+. Type the following command to run the integration tests.
+
[source,subs="attributes+",options="nowrap"]
----
$ mvn verify -Pintegration-testing {extraProvisioningTestParams}
----
-. Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too.
+. Shut down the {productName} provisioned server.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -793,8 +693,6 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:shutdown
----
endif::[]
-:leveloffset: 1
-
:leveloffset!:
endif::[]
:leveloffset: +1
diff --git a/helloworld/README.adoc b/helloworld/README.adoc
index 9ed8f9831a..a29326b5e4 100644
--- a/helloworld/README.adoc
+++ b/helloworld/README.adoc
@@ -569,45 +569,18 @@ ifndef::deploymentDir[:deploymentTargetDir: target]
ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
endif::deploymentTargetDir[]
-Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart, by activating the Maven profile named `provisioned-server` when building the quickstart:
-
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
-----
-
-The provisioned {productName} server, with the quickstart deployed, can then be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-
-ifdef::addQuickstartUser[]
-The quickstart user should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' {app-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
-
-ifdef::addQuickstartAdmin[]
-The quickstart admin should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartAdmin' -p 'adminPwd1!' {admin-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
+ifndef::extraStartParams[:extraStartParams: ]
+ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
+Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart. The functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
[source,xml,subs="attributes+"]
----
provisioned-server
+
+ true
+
@@ -632,113 +605,18 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a
----
-The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers.
-
-If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available:
-
-[source,shell]
-----
-wildfly-glow show-add-ons
-----
-
-// Server Provisioning Testing
-:leveloffset: +1
-
-[[run_the_integration_tests_with_provisioned_server_]]
-= Run the Integration Tests with a provisioned server
-
-//******************************************************************************
-// This template sets attributes for the different standalone server profiles.
-//
-// You must define the `standalone-server-type`. Supported values are:
-// default
-// full
-// full-ha
-// ha
-// microprofile
-// custom
-//******************************************************************************
-
-// Standalone server with the default profile.
-ifeval::["{standalone-server-type}"=="default"]
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::[]
-
-// Standalone server with the full profile.
-ifeval::["{standalone-server-type}"=="full"]
-:serverProfile: full profile
-:configFileName: standalone/configuration/standalone-full.xml
-:serverArguments: -c standalone-full.xml
-endif::[]
-
-// Standalone server with the full HA profile.
-ifeval::["{standalone-server-type}"=="full-ha"]
-:serverProfile: full HA profile
-:configFileName: standalone/configuration/standalone-full-ha.xml
-:serverArguments: -c standalone-full-ha.xml
-endif::[]
-// Start the standalone server with the HA profile.
-ifeval::["{standalone-server-type}"=="ha"]
-:serverProfile: HA profile
-:configFileName: standalone/configuration/standalone-ha.xml
-:serverArguments: -c standalone-ha.xml
-endif::[]
+When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-// Start the standalone server with the Eclipse MicroProfile profile.
-ifeval::["{standalone-server-type}"=="microprofile"]
-:serverProfile: MicroProfile profile
-:configFileName: standalone/configuration/standalone-microprofile.xml
-:serverArguments: -c standalone-microprofile.xml
-endif::[]
+Follow these steps to run the quickstart using the provisioned server.
-// Standalone server with the custom profile.
-// NOTE: This profile requires that you define the `serverArguments` variable
-// within the quickstart README.adoc file. For example:
-// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
-ifeval::["{standalone-server-type}"=="custom"]
-:serverProfile: custom profile
-endif::[]
-
-// If there is no match, use the default profile.
-ifndef::serverProfile[]
-:standalone-server-type: default
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::serverProfile[]
-
-ifndef::mavenServerProvisioningCommand[]
-ifeval::["{archiveType}"=="ear"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-ifeval::["{archiveType}"=="war"]
-:mavenServerProvisioningCommand: clean package
-endif::[]
-ifeval::["{archiveType}"=="jar"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-endif::mavenServerProvisioningCommand[]
-
-ifndef::deploymentTargetDir[]
-ifndef::deploymentDir[:deploymentTargetDir: target]
-ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
-endif::deploymentTargetDir[]
-
-ifndef::extraStartParams[:extraStartParams: ]
-ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-
-The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a provisioned server.
-
-Follow these steps to run the integration tests.
+.Procedure
. Make sure the server is provisioned.
+
[source,subs="attributes+",options="nowrap"]
----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
+$ mvn {mavenServerProvisioningCommand}
----
ifdef::addQuickstartUser[]
@@ -763,7 +641,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
====
endif::[]
-. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation.
+. Start the {productName} provisioned server, using the WildFly Maven Plugin `start` goal.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -774,18 +652,18 @@ endif::[]
ifdef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
----
-$ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/target/server {extraStartParams}
+$ mvn -f {deploymentDir}/pom.xml wildfly:start {extraStartParams}
----
endif::[]
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
+. Type the following command to run the integration tests.
+
[source,subs="attributes+",options="nowrap"]
----
$ mvn verify -Pintegration-testing {extraProvisioningTestParams}
----
-. Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too.
+. Shut down the {productName} provisioned server.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -800,8 +678,6 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:shutdown
----
endif::[]
-:leveloffset: 1
-
:leveloffset!:
endif::[]
:leveloffset: +1
diff --git a/hibernate/README.adoc b/hibernate/README.adoc
index 3cfac3c1f9..091325a9c9 100644
--- a/hibernate/README.adoc
+++ b/hibernate/README.adoc
@@ -712,6 +712,7 @@ $ mvn verify -Pintegration-testing {extraStandardDistTestParams}
----
:leveloffset!:
+
// Undeploy the Quickstart
:leveloffset: +2
@@ -884,45 +885,18 @@ ifndef::deploymentDir[:deploymentTargetDir: target]
ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
endif::deploymentTargetDir[]
-Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart, by activating the Maven profile named `provisioned-server` when building the quickstart:
-
-[source,subs="attributes+",options="nowrap"]
-----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
-----
-
-The provisioned {productName} server, with the quickstart deployed, can then be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-
-ifdef::addQuickstartUser[]
-The quickstart user should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' {app-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
-
-ifdef::addQuickstartAdmin[]
-The quickstart admin should be added before running the provisioned server:
-[source,subs="+quotes,attributes+",options="nowrap"]
-----
-$ {deploymentTargetDir}/server/bin/add-user.sh -a -u 'quickstartAdmin' -p 'adminPwd1!' {admin-group-command}
-----
-[NOTE]
-====
-For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
-====
-endif::[]
+ifndef::extraStartParams[:extraStartParams: ]
+ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
+Instead of using a standard {productName} server distribution, you can alternatively provision a {productName} server to deploy and run the quickstart. The functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
[source,xml,subs="attributes+"]
----
provisioned-server
+
+ true
+
@@ -947,113 +921,18 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a
----
-The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers.
-
-If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available:
-
-[source,shell]
-----
-wildfly-glow show-add-ons
-----
-
-// Server Provisioning Testing
-:leveloffset: +1
-[[run_the_integration_tests_with_provisioned_server_]]
-= Run the Integration Tests with a provisioned server
-
-//******************************************************************************
-// This template sets attributes for the different standalone server profiles.
-//
-// You must define the `standalone-server-type`. Supported values are:
-// default
-// full
-// full-ha
-// ha
-// microprofile
-// custom
-//******************************************************************************
+When built, the provisioned {productName} server can be found in the `{deploymentTargetDir}/server` directory, and its usage is similar to a standard server distribution, with the simplification that there is never the need to specify the server configuration to be started.
-// Standalone server with the default profile.
-ifeval::["{standalone-server-type}"=="default"]
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::[]
+Follow these steps to run the quickstart using the provisioned server.
-// Standalone server with the full profile.
-ifeval::["{standalone-server-type}"=="full"]
-:serverProfile: full profile
-:configFileName: standalone/configuration/standalone-full.xml
-:serverArguments: -c standalone-full.xml
-endif::[]
-
-// Standalone server with the full HA profile.
-ifeval::["{standalone-server-type}"=="full-ha"]
-:serverProfile: full HA profile
-:configFileName: standalone/configuration/standalone-full-ha.xml
-:serverArguments: -c standalone-full-ha.xml
-endif::[]
-
-// Start the standalone server with the HA profile.
-ifeval::["{standalone-server-type}"=="ha"]
-:serverProfile: HA profile
-:configFileName: standalone/configuration/standalone-ha.xml
-:serverArguments: -c standalone-ha.xml
-endif::[]
-
-// Start the standalone server with the Eclipse MicroProfile profile.
-ifeval::["{standalone-server-type}"=="microprofile"]
-:serverProfile: MicroProfile profile
-:configFileName: standalone/configuration/standalone-microprofile.xml
-:serverArguments: -c standalone-microprofile.xml
-endif::[]
-
-// Standalone server with the custom profile.
-// NOTE: This profile requires that you define the `serverArguments` variable
-// within the quickstart README.adoc file. For example:
-// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
-ifeval::["{standalone-server-type}"=="custom"]
-:serverProfile: custom profile
-endif::[]
-
-// If there is no match, use the default profile.
-ifndef::serverProfile[]
-:standalone-server-type: default
-:serverProfile: default profile
-:configFileName: standalone/configuration/standalone.xml
-:serverArguments:
-endif::serverProfile[]
-
-ifndef::mavenServerProvisioningCommand[]
-ifeval::["{archiveType}"=="ear"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-ifeval::["{archiveType}"=="war"]
-:mavenServerProvisioningCommand: clean package
-endif::[]
-ifeval::["{archiveType}"=="jar"]
-:mavenServerProvisioningCommand: clean install
-endif::[]
-endif::mavenServerProvisioningCommand[]
-
-ifndef::deploymentTargetDir[]
-ifndef::deploymentDir[:deploymentTargetDir: target]
-ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target]
-endif::deploymentTargetDir[]
-
-ifndef::extraStartParams[:extraStartParams: ]
-ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ]
-
-The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a provisioned server.
-
-Follow these steps to run the integration tests.
+.Procedure
. Make sure the server is provisioned.
+
[source,subs="attributes+",options="nowrap"]
----
-$ mvn {mavenServerProvisioningCommand} -Pprovisioned-server
+$ mvn {mavenServerProvisioningCommand}
----
ifdef::addQuickstartUser[]
@@ -1078,7 +957,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
====
endif::[]
-. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation.
+. Start the {productName} provisioned server, using the WildFly Maven Plugin `start` goal.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -1089,18 +968,18 @@ endif::[]
ifdef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
----
-$ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/target/server {extraStartParams}
+$ mvn -f {deploymentDir}/pom.xml wildfly:start {extraStartParams}
----
endif::[]
-. Type the following command to run the `verify` goal with the `integration-testing` profile activated.
+. Type the following command to run the integration tests.
+
[source,subs="attributes+",options="nowrap"]
----
$ mvn verify -Pintegration-testing {extraProvisioningTestParams}
----
-. Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too.
+. Shut down the {productName} provisioned server.
+
ifndef::deploymentDir[]
[source,subs="attributes+",options="nowrap"]
@@ -1115,8 +994,6 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:shutdown
----
endif::[]
-:leveloffset: 1
-
:leveloffset!:
endif::[]
:leveloffset: +1
diff --git a/http-custom-mechanism/README.adoc b/http-custom-mechanism/README.adoc
index 4fddbec5b8..acd3f03b71 100644
--- a/http-custom-mechanism/README.adoc
+++ b/http-custom-mechanism/README.adoc
@@ -804,6 +804,28 @@ You should see the HTTP result `HTTP/1.1 200 OK`, along with some header informa