Skip to content

Commit

Permalink
Remove 'ported-to-glow' conditional rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
kabir committed Apr 13, 2024
1 parent 39d7aa9 commit 484f280
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 111 deletions.
1 change: 0 additions & 1 deletion batch-processing/README-source.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ include::../shared-doc/attributes.adoc[]
:level: Intermediate
:technologies: CDI, Batch 1.0, JSF
:openshift: true
:portedToGlow: true

[abstract]
The `batch-processing` quickstart shows how to use chunk oriented batch jobs to import a file to a database.
Expand Down
1 change: 0 additions & 1 deletion bmt/README-source.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ include::../shared-doc/attributes.adoc[]
:level: Intermediate
:technologies: EJB, BMT
:openshift: true
:portedToGlow: true

[abstract]
The `bmt` quickstart demonstrates Bean-Managed Transactions (BMT), showing how to manually manage transaction demarcation while accessing JPA entities.
Expand Down
1 change: 0 additions & 1 deletion ee-security/README-source.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ include::../shared-doc/attributes.adoc[]
:level: Intermediate
:technologies: EE Security, Servlet, CDI
:openshift: true
:portedToGlow: true

[abstract]
The `ee-security` quickstart demonstrates Jakarta EE security.
Expand Down
33 changes: 0 additions & 33 deletions shared-doc/build-and-run-the-quickstart-with-bootable-jar.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,38 +5,6 @@ You can use the WildFly JAR Maven plug-in to build a {productName} bootable JAR

The quickstart `pom.xml` file contains a Maven profile named *bootable-jar* which configures the bootable JAR building:

ifndef::portedToGlow[]
[source,xml,subs="attributes+"]
----
<profile>
<id>bootable-jar</id>
<build>
<plugins>
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-jar-maven-plugin</artifactId>
<configuration>
<feature-pack-location>wildfly@maven(org.jboss.universe:community-universe)#${version.server}</feature-pack-location>
<layers>...</layers>
<plugin-options>
<jboss-fork-embedded>true</jboss-fork-embedded>
</plugin-options>
</configuration>
<executions>
<execution>
<goals>
<goal>package</goal>
</goals>
</execution>
</executions>
</plugin>
...
</plugins>
</build>
</profile>
----
endif::portedToGlow[]
ifdef::portedToGlow[]
[source,xml,subs="attributes+"]
----
<profile>
Expand Down Expand Up @@ -84,7 +52,6 @@ If you get an error or the server is missing some functionality which cannot be
----
wildfly-glow show-add-ons
----
endif::portedToGlow[]

.Procedure

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,41 +52,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script.
endif::[]

The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`:
ifndef::portedToGlow[]
[source,xml,subs="attributes+"]
----
<profile>
<id>provisioned-server</id>
<build>
<plugins>
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<configuration>
<feature-packs>
<feature-pack>
<location>org.wildfly:wildfly-galleon-pack:${version.server}</location>
</feature-pack>
</feature-packs>
<layers>...</layers>
<!-- deploys the quickstart on root web context -->
<name>ROOT.war</name>
</configuration>
<executions>
<execution>
<goals>
<goal>package</goal>
</goals>
</execution>
</executions>
</plugin>
...
</plugins>
</build>
</profile>
----
endif::portedToGlow[]
ifdef::portedToGlow[]

[source,xml,subs="attributes+"]
----
<profile>
Expand Down Expand Up @@ -133,7 +99,6 @@ If you get an error or the server is missing some functionality which cannot be
----
wildfly-glow show-add-ons
----
endif::portedToGlow[]

[NOTE]
====
Expand Down
40 changes: 1 addition & 39 deletions shared-doc/build-the-quickstart-for-openshift.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,44 +11,7 @@ The server provisioning functionality is provided by the EAP Maven Plugin, and y
endif::[]

ifndef::ProductRelease,EAPXPRelease[]
ifndef::portedToGlow[]
[source,xml,subs="attributes+"]
----
<profile>
<id>openshift</id>
<build>
<plugins>
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<configuration>
<feature-packs>
<feature-pack>
<location>org.wildfly:wildfly-galleon-pack:${version.server}</location>
</feature-pack>
<feature-pack>
<location>org.wildfly.cloud:wildfly-cloud-galleon-pack:${version.pack.cloud}</location>
</feature-pack>
</feature-packs>
<layers>...</layers>
<name>ROOT.war</name>
</configuration>
<executions>
<execution>
<goals>
<goal>package</goal>
</goals>
</execution>
</executions>
</plugin>
...
</plugins>
</build>
</profile>
----
You may note that unlike the `provisioned-server` profile it uses the cloud feature pack which enables a configuration tuned for OpenShift environment.
endif::portedToGlow[]
ifdef::portedToGlow[]

[source,xml,subs="attributes+"]
----
<profile>
Expand Down Expand Up @@ -97,7 +60,6 @@ If you get an error or the server is missing some functionality which cannot be
----
wildfly-glow show-add-ons
----
endif::portedToGlow[]
endif::ProductRelease,EAPXPRelease[]

ifdef::ProductRelease,EAPXPRelease[]
Expand Down

0 comments on commit 484f280

Please sign in to comment.