Skip to content

Commit ea19c3c

Browse files
authored
Merge pull request #13 from cicsdev/aj-bom-issue
fix 5.5 bom issues
2 parents 7a4e3ab + 9116897 commit ea19c3c

2 files changed

Lines changed: 13 additions & 22 deletions

File tree

build.gradle

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,6 @@ repositories
2727
mavenCentral()
2828
}
2929

30-
java
31-
{
32-
toolchain
33-
{
34-
languageVersion = JavaLanguageVersion.of(java_version)
35-
vendor = JvmVendorSpec.IBM
36-
implementation = JvmImplementation.J9
37-
}
38-
}
39-
4030
dependencies
4131
{
4232
// Spring Boot web starter dependency
@@ -50,17 +40,18 @@ dependencies
5040

5141
// Don't include TomCat in the runtime build, but put it in lib-provided so it can run standalone as well as embedded
5242
providedRuntime("org.springframework.boot:spring-boot-starter-tomcat")
53-
54-
// CICS TS V5.5 Maven BOM (as of 19th May 2020)
55-
compileOnly enforcedPlatform("com.ibm.cics:com.ibm.cics.ts.bom:5.5-20200519131930-PH25409")
56-
//annotationProcessor enforcedPlatform("com.ibm.cics:com.ibm.cics.ts.bom:5.5-20200519131930-PH25409")
43+
44+
// CICS TS V5.5 Maven BOM
45+
def bom = "com.ibm.cics:com.ibm.cics.ts.bom:5.5-20250812140737-PH63855"
46+
47+
compileOnly enforcedPlatform(bom)
48+
annotationProcessor enforcedPlatform(bom)
5749

58-
// Enable CICS Link to Liberty annotation processor
59-
annotationProcessor ("com.ibm.cics:com.ibm.cics.server.invocation:6.1")
60-
61-
// Don't include JCICS components in the final build (no need for version because we have BOM)
62-
compileOnly("com.ibm.cics:com.ibm.cics.server")
63-
compileOnly ("com.ibm.cics:com.ibm.cics.server.invocation.annotations")
50+
annotationProcessor("com.ibm.cics:com.ibm.cics.server.invocation")
51+
52+
// Don't include JCICS components in the final build (no need for version because we have BOM)
53+
compileOnly("com.ibm.cics:com.ibm.cics.server")
54+
compileOnly("com.ibm.cics:com.ibm.cics.server.invocation.annotations")
6455

6556
//Add tiles-el dependency if using JSF, see READ for more details
6657
implementation ("org.apache.tiles:tiles-el:3.0.8")

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<dependency>
3131
<groupId>com.ibm.cics</groupId>
3232
<artifactId>com.ibm.cics.ts.bom</artifactId>
33-
<version>5.5-20200519131930-PH25409</version>
33+
<version>5.5-20250812140737-PH63855</version>
3434
<type>pom</type>
3535
<scope>import</scope>
3636
</dependency>
@@ -100,12 +100,12 @@
100100
<!-- Enable the Link to Liberty annotation processor -->
101101
<plugin>
102102
<artifactId>maven-compiler-plugin</artifactId>
103+
<version>3.12.1</version>
103104
<configuration>
104105
<annotationProcessorPaths>
105106
<annotationProcessorPath>
106107
<groupId>com.ibm.cics</groupId>
107108
<artifactId>com.ibm.cics.server.invocation</artifactId>
108-
<version>6.1</version>
109109
</annotationProcessorPath>
110110
</annotationProcessorPaths>
111111
</configuration>

0 commit comments

Comments
 (0)