Skip to content

Commit

Permalink
Update archetype readme and samples
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Cox <[email protected]>
  • Loading branch information
ind1go committed Oct 16, 2024
1 parent e1cb886 commit 424ee65
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ARCHETYPES-README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ Another way to get started with the plugin is to use one of the provided archety
By using `cics-bundle-reactor-archetype`, you are provided with a reactor (multi-module build) module, containing a CICS bundle module and a dynamic Web (WAR) module. The CICS bundle is preconfigured to depend on the WAR module. Building the reactor module builds both the children, so you end up with a CICS bundle that contains the built WAR file. If you use the `cics-bundle-deploy-reactor-archetype` archetype, this is extended to install the CICS bundle in CICS using the CICS bundle deployment API.


1. Create a Maven module by referring to the either the [`com.ibm.cics:cics-bundle-reactor-archetype`](https://search.maven.org/artifact/com.ibm.cics/cics-bundle-reactor-archetype/1.0.3/maven-archetype) or [`com.ibm.cics:cics-bundle-deploy-reactor-archetype`](https://search.maven.org/artifact/com.ibm.cics/cics-bundle-deploy-reactor-archetype/1.0.3/maven-archetype) artifact:
1. Create a Maven module by referring to the either the [`com.ibm.cics:cics-bundle-reactor-archetype`](https://search.maven.org/artifact/com.ibm.cics/cics-bundle-reactor-archetype/1.0.7/maven-archetype) or [`com.ibm.cics:cics-bundle-deploy-reactor-archetype`](https://search.maven.org/artifact/com.ibm.cics/cics-bundle-deploy-reactor-archetype/1.0.7/maven-archetype) artifact:

* ![On command line](images/cmd.png) On command line:

```
mvn archetype:generate -DarchetypeGroupId=com.ibm.cics -DarchetypeArtifactId=cics-bundle-deploy-reactor-archetype -DarchetypeVersion=1.0.3 -DgroupId=<my-groupid> -DartifactId=<my-artifactId>
mvn archetype:generate -DarchetypeGroupId=com.ibm.cics -DarchetypeArtifactId=cics-bundle-deploy-reactor-archetype -DarchetypeVersion=1.0.7 -DgroupId=<my-groupid> -DartifactId=<my-artifactId>
```
In the pom.xml file of the bundle module there will be default values for each of the following parameters which you will need to set:
`defaultjvmserver`, `bunddef`, `csdgroup`, `username`, `password`, `deployURL`, `cicsplex`, `region`
Expand All @@ -22,7 +22,7 @@ By using `cics-bundle-reactor-archetype`, you are provided with a reactor (multi

Archetype Group Id: `com.ibm.cics`
Archetype Artifact Id: `cics-bundle-deploy-reactor-archetype`
Archetype Version: `1.0.3`
Archetype Version: `1.0.7`

Then hit **OK**.
1. From the archetype list, select `cics-bundle-deploy-reactor-archetype` and hit **Next**
Expand Down
2 changes: 1 addition & 1 deletion samples/bundle-reactor-deploy/demo-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<plugin>
<groupId>com.ibm.cics</groupId>
<artifactId>cics-bundle-maven-plugin</artifactId>
<version>1.0.3</version>
<version>1.0.7</version>
<extensions>true</extensions>

<!-- Set the JVM server that the application will be installed into by default, This goes into the CICS bundle's manifest -->
Expand Down
2 changes: 1 addition & 1 deletion samples/bundle-war-deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ If you have an existing Java Maven project, add the snippet shown below to the p
<plugin>
<groupId>com.ibm.cics</groupId>
<artifactId>cics-bundle-maven-plugin</artifactId>
<version>1.0.3</version>
<version>1.0.7</version>
<executions>
<execution>
<goals>
Expand Down
2 changes: 1 addition & 1 deletion samples/bundle-war-deploy/demo-war/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<plugin>
<groupId>com.ibm.cics</groupId>
<artifactId>cics-bundle-maven-plugin</artifactId>
<version>1.0.3</version>
<version>1.0.7</version>
<executions>
<execution>

Expand Down

0 comments on commit 424ee65

Please sign in to comment.