File tree Expand file tree Collapse file tree 3 files changed +56
-35
lines changed
cics-eventprocessing-java-webapp Expand file tree Collapse file tree 3 files changed +56
-35
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ The CICS program `EVNTCONS` is a Java EE program designed to consume CICS events
1111
1212## Requirements
1313
14- * CICS TS V5.3 or later
14+ * CICS TS V5.5 or later
1515* A configured Liberty JVM server
1616* Java SE 1.8 or later on the workstation
1717* Either Gradle or Apache Maven on the workstation (optional if using Wrappers)
Original file line number Diff line number Diff line change 11/*
22 * This file was generated by the Gradle 'init' task.
33 */
4-
5- plugins {
6- id ' war'
4+ plugins
5+ {
6+ id ' java'
7+ id ' eclipse'
8+ id ' idea'
9+ id ' war'
710}
811
912repositories {
1013 mavenCentral()
1114}
1215
16+ // If in Eclipse, add Javadoc to the local project classpath
17+ eclipse
18+ {
19+ classpath
20+ {
21+ downloadJavadoc = true
22+ }
23+ }
24+
1325java
1426{
1527 toolchain
2133}
2234
2335dependencies {
24- providedCompile ' com.ibm.cics:com.ibm.cics.server:1.700.1-5.5-PH25409'
25- providedCompile ' com.ibm.cics:com.ibm.cics.server.invocation.annotations:5.5-PH25409'
26- providedCompile ' javax.servlet:javax.servlet-api:3.1.0'
36+ // CICS TS V5.5 Maven BOM (as of 19th May 2020)
37+ compileOnly enforcedPlatform(" com.ibm.cics:com.ibm.cics.ts.bom:5.5-20200519131930-PH25409" )
38+ // annotationProcessor enforcedPlatform("com.ibm.cics:com.ibm.cics.ts.bom:5.5-20200519131930-PH25409")
39+
40+ // Don't include JCICS components in the final build (no need for version because we have BOM)
41+ compileOnly ' com.ibm.cics:com.ibm.cics.server'
42+ compileOnly ' com.ibm.cics:com.ibm.cics.server.invocation.annotations'
43+ compileOnly ' javax.servlet:javax.servlet-api:3.1.0'
44+
45+ // Enable CICS Link to Liberty annotation processor
46+ // Note: Java 11 support is only currently available in the 6.1 version of the annotation processor.
47+ // This is backwards compatible with older version so long as we don't use the new function in 6.1 (Link to CDI beans).
48+ annotationProcessor (" com.ibm.cics:com.ibm.cics.server.invocation:6.1" )
2749}
2850
2951description = ' cics-eventprocessing-java - Webapp'
Original file line number Diff line number Diff line change 1010
1111 <name >cics-eventprocessing-java</name >
1212
13- <properties >
14- <java .version>1.8</java .version>
15-
16- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
17- <maven .compiler.target>${java.version} </maven .compiler.target>
18- <maven .compiler.source>${java.version} </maven .compiler.source>
19- </properties >
20-
21- <build >
22- <pluginManagement >
23- <plugins >
24- <plugin >
25- <groupId >com.ibm.cics</groupId >
26- <artifactId >cics-bundle-maven-plugin</artifactId >
27- <version >1.0.3</version >
28- </plugin >
29- </plugins >
30- </pluginManagement >
31- </build >
32-
33-
13+ <properties >
14+ <java .version>1.8</java .version>
15+
16+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
17+ <maven .compiler.target>${java.version} </maven .compiler.target>
18+ <maven .compiler.source>${java.version} </maven .compiler.source>
19+ </properties >
20+
21+ <build >
22+ <pluginManagement >
23+ <plugins >
24+ <plugin >
25+ <groupId >com.ibm.cics</groupId >
26+ <artifactId >cics-bundle-maven-plugin</artifactId >
27+ <version >1.0.3</version >
28+ </plugin >
29+ </plugins >
30+ </pluginManagement >
31+ </build >
32+
3433
3534 <!-- CICS TS V5.5 BOM (as of May 2020) -->
3635 <dependencyManagement >
4443 </dependency >
4544 </dependencies >
4645 </dependencyManagement >
47-
48- <url >https://github.com/cicsdev/cics-eventprocessing-java</url >
49- <modules >
50- <module >cics-eventprocessing-java-webapp</module >
51- <module >cics-eventprocessing-java-bundle</module >
52- </modules >
53- </project >
46+
47+ <url >https://github.com/cicsdev/cics-eventprocessing-java</url >
48+ <modules >
49+ <module >cics-eventprocessing-java-webapp</module >
50+ <module >cics-eventprocessing-java-bundle</module >
51+ </modules >
52+ </project >
You can’t perform that action at this time.
0 commit comments