Skip to content

Commit

Permalink
Update the 4.2 site with 4.2.2.Final
Browse files Browse the repository at this point in the history
Signed-off-by: James R. Perkins <[email protected]>
  • Loading branch information
jamezp committed Dec 20, 2023
1 parent 7258d26 commit 735db68
Show file tree
Hide file tree
Showing 25 changed files with 1,533 additions and 1,726 deletions.
42 changes: 13 additions & 29 deletions docs/releases/4.2/add-resource-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<!DOCTYPE html>
<!--
Generated by Apache Maven Doxia the 2023-11-15
Generated by Apache Maven Doxia the 2023-12-19
Rendered using Docs Maven Skin 2.3.2 (https://github.com/Bernardo-MG/docs-maven-skin)
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
Expand Down Expand Up @@ -54,7 +54,7 @@
<span class="navbar-toggler-icon"></span>
</button>

<small class="navbar-text d-none d-md-block"><span id="navbar-version">4.2.1.Final</span> (<time id="navbar-date">2023-11-15</time>)</small>
<small class="navbar-text d-none d-md-block"><span id="navbar-version">4.2.2.Final</span> (<time id="navbar-date">2023-12-19</time>)</small>
<div class="collapse navbar-collapse" id="navbar-main-menu">
<ul class="nav navbar-nav ms-auto">
<li class="nav-item dropdown">
Expand Down Expand Up @@ -116,16 +116,14 @@ <h1 id="Adding-Resources-Examples">Adding Resources Examples</h1>
<h2 id="Adding-datasources"><a name="Adding_datasources"></a>Adding datasources</h2>
<p>This can be combined with the <a href="add-resource-mojo.html">add-resource</a> goal to automatically deploy the datasource drivers.</p>
<p>The example below shows how to add a datasource that uses the default h2 database:</p>
<div>
<div>
<pre class="border shadow rounded"><code>&lt;project&gt;
<pre class="border shadow rounded"><code>&lt;project&gt;
...
&lt;build&gt;
&lt;plugins&gt;
&lt;plugin&gt;
&lt;groupId&gt;org.wildfly.plugins&lt;/groupId&gt;
&lt;artifactId&gt;wildfly-maven-plugin&lt;/artifactId&gt;
&lt;version&gt;4.2.1.Final&lt;/version&gt;
&lt;version&gt;4.2.2.Final&lt;/version&gt;
&lt;executions&gt;
&lt;execution&gt;
&lt;id&gt;add-datasource&lt;/id&gt;
Expand Down Expand Up @@ -156,12 +154,8 @@ <h2 id="Adding-datasources"><a name="Adding_datasources"></a>Adding datasources<
&lt;/build&gt;
...
&lt;/project&gt;</code></pre>
</div>
</div>
<p>The example below shows how to configure a postgresql XA data source, including deploying the driver. The postgresql driver module must be listed in the &lt;dependencies&gt; section of the pom.</p>
<div>
<div>
<pre class="border shadow rounded"><code>&lt;project&gt;
<p>The example below shows how to configure a postgresql XA data source, including deploying the driver. The postgresql driver module must be listed in the <code>&lt;dependencies&gt;</code> section of the pom.</p>
<pre class="border shadow rounded"><code>&lt;project&gt;
...
&lt;build&gt;
...
Expand All @@ -170,7 +164,7 @@ <h2 id="Adding-datasources"><a name="Adding_datasources"></a>Adding datasources<
&lt;plugin&gt;
&lt;groupId&gt;org.wildfly.plugins&lt;/groupId&gt;
&lt;artifactId&gt;wildfly-maven-plugin&lt;/artifactId&gt;
&lt;version&gt;4.2.1.Final&lt;/version&gt;
&lt;version&gt;4.2.2.Final&lt;/version&gt;
&lt;executions&gt;
&lt;execution&gt;
&lt;id&gt;deploy-postgresql&lt;/id&gt;
Expand Down Expand Up @@ -247,16 +241,12 @@ <h2 id="Adding-datasources"><a name="Adding_datasources"></a>Adding datasources<
&lt;/build&gt;
...
&lt;/project&gt;</code></pre>
</div>
</div>
<p>The xml tags in the &lt;properties&gt; element correspond directly to the DMR nodes in the corresponding management operation. If you need to use DMR nodes of a non-primitive type then you must prefix the value with the !! escape sequence, which will cause the value to be interpreted as a string representation of a DMR node. For example in the &lt;xa-data-source-properties&gt; element about &lt;xa-datasource-properties&gt; is a DMR property list.</p>
<p>The xml tags in the <code>&lt;properties&gt;</code> element correspond directly to the DMR nodes in the corresponding management operation. If you need to use DMR nodes of a non-primitive type then you must prefix the value with the !! escape sequence, which will cause the value to be interpreted as a string representation of a DMR node. For example in the <code>&lt;xa-data-source-properties&gt;</code> element about <code>&lt;xa-datasource-properties&gt;</code> is a DMR property list.</p>
</section>
<section>
<h2 id="Adding-other-resources"><a name="Adding_other_resources"></a>Adding other resources</h2>
<p>It is also possible to deploy resources other than datasources, the example below shows how to deploy a JMS queue:</p>
<div>
<div>
<pre class="border shadow rounded"><code>&lt;project&gt;
<pre class="border shadow rounded"><code>&lt;project&gt;
...
&lt;build&gt;
...
Expand All @@ -265,7 +255,7 @@ <h2 id="Adding-other-resources"><a name="Adding_other_resources"></a>Adding othe
&lt;plugin&gt;
&lt;groupId&gt;org.wildfly.plugins&lt;/groupId&gt;
&lt;artifactId&gt;wildfly-maven-plugin&lt;/artifactId&gt;
&lt;version&gt;4.2.1.Final&lt;/version&gt;
&lt;version&gt;4.2.2.Final&lt;/version&gt;
&lt;executions&gt;
&lt;execution&gt;
&lt;id&gt;add-jms-queue&lt;/id&gt;
Expand Down Expand Up @@ -293,15 +283,11 @@ <h2 id="Adding-other-resources"><a name="Adding_other_resources"></a>Adding othe
&lt;/build&gt;
...
&lt;/project&gt;</code></pre>
</div>
</div>
</section>
<section>
<h2 id="Adding-resources-in-domain-mode"><a name="Adding_resources_in_domain_mode"></a>Adding resources in domain mode</h2>
<p>Adding resources in domain mode works the same as the examples above, except you need to add the &lt;profiles&gt; property as well as specify at least one profile.</p>
<div>
<div>
<pre class="border shadow rounded"><code>&lt;project&gt;
<p>Adding resources in domain mode works the same as the examples above, except you need to add the <code>&lt;profiles&gt;</code> property as well as specify at least one profile.</p>
<pre class="border shadow rounded"><code>&lt;project&gt;
...
&lt;build&gt;
...
Expand All @@ -310,7 +296,7 @@ <h2 id="Adding-resources-in-domain-mode"><a name="Adding_resources_in_domain_mod
&lt;plugin&gt;
&lt;groupId&gt;org.wildfly.plugins&lt;/groupId&gt;
&lt;artifactId&gt;wildfly-maven-plugin&lt;/artifactId&gt;
&lt;version&gt;4.2.1.Final&lt;/version&gt;
&lt;version&gt;4.2.2.Final&lt;/version&gt;
&lt;executions&gt;
&lt;execution&gt;
&lt;id&gt;add-datasource&lt;/id&gt;
Expand Down Expand Up @@ -346,8 +332,6 @@ <h2 id="Adding-resources-in-domain-mode"><a name="Adding_resources_in_domain_mod
&lt;/build&gt;
...
&lt;/project&gt;</code></pre>
</div>
</div>
</section>
</section>
</main>
Expand Down
28 changes: 10 additions & 18 deletions docs/releases/4.2/complex-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<!DOCTYPE html>
<!--
Generated by Apache Maven Doxia the 2023-11-15
Generated by Apache Maven Doxia the 2023-12-19
Rendered using Docs Maven Skin 2.3.2 (https://github.com/Bernardo-MG/docs-maven-skin)
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
Expand Down Expand Up @@ -54,7 +54,7 @@
<span class="navbar-toggler-icon"></span>
</button>

<small class="navbar-text d-none d-md-block"><span id="navbar-version">4.2.1.Final</span> (<time id="navbar-date">2023-11-15</time>)</small>
<small class="navbar-text d-none d-md-block"><span id="navbar-version">4.2.2.Final</span> (<time id="navbar-date">2023-12-19</time>)</small>
<div class="collapse navbar-collapse" id="navbar-main-menu">
<ul class="nav navbar-nav ms-auto">
<li class="nav-item dropdown">
Expand Down Expand Up @@ -113,11 +113,9 @@ <h1 id="Complex-Deployment-and-Resource-Examples">Complex Deployment and Resourc
</header>
<section>
<h2 id="Complex-standalone-example"><a name="Complex_standalone_example"></a>Complex standalone example</h2>
<p>The following example will undeploy the application, if it’s previously been deployed, when the clean goal is executed.</p>
<p>When the install goal is executed the plugin will deploy the application, deploy a data source library, add a data source connection resource and add an XA data source connect.</p>
<div>
<div>
<pre class="border shadow rounded"><code>&lt;project&gt;
<p>The following example will undeploy the application, if it's previously been deployed, when the clean <code>goal</code> is executed.</p>
<p>When the <code>install</code> goal is executed the plugin will deploy the application, deploy a data source library, add a data source connection resource and add an XA data source connect.</p>
<pre class="border shadow rounded"><code>&lt;project&gt;
...
&lt;build&gt;
...
Expand All @@ -126,7 +124,7 @@ <h2 id="Complex-standalone-example"><a name="Complex_standalone_example"></a>Com
&lt;plugin&gt;
&lt;groupId&gt;org.wildfly.plugins&lt;/groupId&gt;
&lt;artifactId&gt;wildfly-maven-plugin&lt;/artifactId&gt;
&lt;version&gt;4.2.1.Final&lt;/version&gt;
&lt;version&gt;4.2.2.Final&lt;/version&gt;
&lt;executions&gt;
&lt;!-- Undeploy the application on clean --&gt;
&lt;execution&gt;
Expand Down Expand Up @@ -256,16 +254,12 @@ <h2 id="Complex-standalone-example"><a name="Complex_standalone_example"></a>Com
&lt;/build&gt;
...
&lt;/project&gt;</code></pre>
</div>
</div>
</section>
<section>
<h2 id="Complex-domain-example"><a name="Complex_domain_example"></a>Complex domain example</h2>
<p>The following example will undeploy the application, if it’s previously been deployed, when the clean goal is executed.</p>
<p>When the install goal is executed the plugin will deploy the application, deploy a data source library, add a data source connection resource and add an XA data source connect.</p>
<div>
<div>
<pre class="border shadow rounded"><code>&lt;project&gt;
<p>The following example will undeploy the application, if it's previously been deployed, when the clean <code>goal</code> is executed.</p>
<p>When the <code>install</code> goal is executed the plugin will deploy the application, deploy a data source library, add a data source connection resource and add an XA data source connect.</p>
<pre class="border shadow rounded"><code>&lt;project&gt;
...
&lt;build&gt;
...
Expand All @@ -274,7 +268,7 @@ <h2 id="Complex-domain-example"><a name="Complex_domain_example"></a>Complex dom
&lt;plugin&gt;
&lt;groupId&gt;org.wildfly.plugins&lt;/groupId&gt;
&lt;artifactId&gt;wildfly-maven-plugin&lt;/artifactId&gt;
&lt;version&gt;4.2.1.Final&lt;/version&gt;
&lt;version&gt;4.2.2.Final&lt;/version&gt;
&lt;configuration&gt;
&lt;server-groups&gt;
&lt;server-group&gt;main-server-group&lt;/server-group&gt;
Expand Down Expand Up @@ -414,8 +408,6 @@ <h2 id="Complex-domain-example"><a name="Complex_domain_example"></a>Complex dom
&lt;/build&gt;
...
&lt;/project&gt;</code></pre>
</div>
</div>
</section>
</section>
</main>
Expand Down
Loading

0 comments on commit 735db68

Please sign in to comment.