Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JBEAP-29393] Render server provisioning README content for all releases #1017

Merged
merged 1 commit into from
Feb 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions messaging-clustering-singleton/README-source.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -502,20 +502,15 @@ The batch executed successfully
. Delete the cloned directory.

// Build and run sections for other environments/builds
ifndef::ProductRelease,EAPXPRelease[]

[[build_and_run_the_quickstart_with_provisioned_server]]
== Building and running the quickstart application with provisioned {productName} server

Instead of using a standard {productName} server distribution, the two {productName} servers to deploy and run the quickstart can be alternatively provisioned by activating the Maven profile named `provisioned-server` when building the quickstart:
[source,sh,subs="+quotes,attributes+",options="nowrap"]
----
$ mvn clean package -Pprovisioned-server
----
Instead of using a standard {productName} server distribution, the two {productName} servers to deploy and run the quickstart can be alternatively provisioned by the {productName} Maven Plugin.

The provisioned {productName} servers, with the quickstart deployed, can then be found in the `target` directory, and their 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 provisioned {productName} servers, with the quickstart deployed, can be found in the `target/server` and `target/server2` directories, and their 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 server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the pom.xml files of the quickstart.
You can find the plugin configuration for the server provisioning in the Maven profile named `provisioned-server`.

=== Run the Integration Tests with a provisioned server

Expand Down Expand Up @@ -563,7 +558,5 @@ $ mvn wildfly:shutdown
$ mvn wildfly:shutdown -Dwildfly.port=10090
----

endif::[]

// Quickstart not compatible with OpenShift
include::../shared-doc/openshift-incompatibility.adoc[leveloffset=+1]
Loading