Skip to content

Commit 88541e4

Browse files
committed
Update Maven/Gradle build instructions
1 parent 68c3277 commit 88541e4

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ gradle clean build
8080

8181
This creates a WAR file inside the `cics-java-liberty-link-app/build/libs` directory and a CICS bundle ZIP file inside the `cics-java-liberty-link-bundle/build/distribution` directory.
8282

83-
The JVM server the CICS bundle is targeted at is controlled through the `jvmserver` property, defined in the [`gradle.properties`](gradle.properties) file, or in the command line:
83+
The JVM server the CICS bundle is targeted at is controlled through the `cics.jvmserver` property, defined in the [`cics-java-liberty-link-bundle/build.gradle`](cics-java-liberty-link-bundle/build.gradle) file, or on the command line:
8484

8585
```shell
86-
gradle clean build -Pjvmserver=MYJVMS
86+
gradle clean build -Pcics.jvmserver=MYJVM
8787
```
8888

8989
### Maven (command line)
@@ -97,8 +97,14 @@ mvn clean package
9797

9898
This creates a WAR file inside the `cics-java-liberty-link-app/target` directory and a CICS bundle zIP file inside the `cics-java-liberty-link-bundle/target` directory.
9999

100-
The JVM server the CICS bundle is targeted at is controlled throught the `jvmserver` property, defined in [`cics-java-liberty-link-bundle/pom.xml`](cics-java-liberty-link-bundle/pom.xml) file under the `defaultjvmserver` configuration property.
100+
If building a CICS bundle ZIP the CICS JVM server name for the WAR bundle part should be modified in the
101+
`cics.jvmserver` property, defined in [`cics-java-liberty-link-bundle/pom.xml`](cics-java-liberty-link-bundle/pom.xml) file under the `defaultjvmserver` configuration property, or alternatively can be set on the command line as follows.
101102

103+
```shell
104+
mvn clean package -Dcics.jvmserver=MYJVM
105+
```
106+
107+
The JVM server the CICS bundle is targeted at is controlled throught the
102108
## Deploying to a Liberty JVM server
103109

104110
Ensure you have the following features defined in your Liberty server.xml:

0 commit comments

Comments
 (0)