Skip to content

Commit

Permalink
Merge pull request clusterbench#513 from rhusar/503-default-profile
Browse files Browse the repository at this point in the history
build: rename 'core' profile to default and update the docs (resolves…
  • Loading branch information
rhusar authored Sep 24, 2024
2 parents 6536483 + dd5a8f9 commit f5bcc22
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 7 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -306,20 +306,22 @@ To undo the changes, run the 'remove' variant of the scripts:

== Custom Build Profiles

There a several profiles to test specific scenarios where the standard build needs to be modified.
There are several profiles to test specific scenarios where the standard build needs to be modified.
When no custom profile is specified, the `default` profile is used.

=== shared-sessions

This profile produces a build to test a shared sessions scenario where two WARs in the same EAR share HTTP sessions:

[source,shell]
----
mvn install -P shared-sessions -DskipTests
----

=== short-names

Used in order to shorten name of bundled JARs and WARs within the final EAR file.
Usually used in database tests to produce database tables with short names.
Used to shorten the names of bundled JARs and WARs within the resulting EAR file.
Used in database tests to produce database tables with short names.

[source,shell]
----
Expand All @@ -330,6 +332,7 @@ mvn clean install -P short-names -DskipTests

This profile enables form authentication:

[source,shell]
----
mvn clean install -P sso-form -DskipTests
----
Expand All @@ -338,6 +341,7 @@ mvn clean install -P sso-form -DskipTests

This profile adds the necessary JEBs to perform call forwarding to a second JEB cluster:

[source,shell]
----
mvn clean install -P 2clusters -DskipTests
----
Expand Down
3 changes: 1 addition & 2 deletions clusterbench-ee10-ear/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,7 @@
</build>
</profile>
<profile>
<!-- mvn clean install -P core -->
<id>core</id>
<id>default</id>
<build>
<plugins>
<plugin>
Expand Down

0 comments on commit f5bcc22

Please sign in to comment.