Skip to content

Commit b792211

Browse files
Fix Maven/Gradle builds.
1 parent 4e7a174 commit b792211

File tree

14 files changed

+223
-272
lines changed

14 files changed

+223
-272
lines changed

cics-eventprocessing-java/.mvn/wrapper/MavenWrapperDownloader.java

Lines changed: 0 additions & 117 deletions
This file was deleted.
Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
1-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
2-
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.5/apache-maven-3.8.5-bin.zip
18+
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar
Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,5 @@
1-
/*
2-
* This file was generated by the Gradle 'init' task.
3-
*/
41

52
allprojects {
63
group = 'com.ibm.cicsdev.eventprocessing'
74
version = '0.0.1-SNAPSHOT'
85
}
9-
10-
subprojects {
11-
apply plugin: 'java'
12-
apply plugin: 'maven-publish'
13-
14-
repositories {
15-
mavenLocal()
16-
maven {
17-
url = uri('https://repo.jenkins-ci.org/public/')
18-
}
19-
20-
maven {
21-
url = uri('https://repo.maven.apache.org/maven2')
22-
}
23-
}
24-
25-
sourceCompatibility = '1.8'
26-
27-
publishing {
28-
publications {
29-
maven(MavenPublication) {
30-
from(components.java)
31-
}
32-
}
33-
}
34-
35-
tasks.withType(JavaCompile) {
36-
options.encoding = 'UTF-8'
37-
}
38-
}

cics-eventprocessing-java/cics-eventprocessing-java-bundle/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* This file was generated by the Gradle 'init' task.
33
*/
44
plugins {
5-
id 'com.ibm.cics.bundle' version '1.0.1'
5+
id 'com.ibm.cics.bundle' version '1.0.3'
66
}
77

88
cicsBundle {

cics-eventprocessing-java/cics-eventprocessing-java-bundle/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<dependencies>
2020
<dependency>
2121
<groupId>${project.groupId}</groupId>
22-
<artifactId>cics-eventprocessing-java-code</artifactId>
22+
<artifactId>cics-eventprocessing-java-webapp</artifactId>
2323
<version>${project.version}</version>
2424
<type>war</type>
2525
</dependency>

cics-eventprocessing-java/cics-eventprocessing-java-webapp/build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@ plugins {
66
id 'war'
77
}
88

9+
repositories {
10+
mavenCentral()
11+
}
12+
13+
java
14+
{
15+
toolchain
16+
{
17+
languageVersion = JavaLanguageVersion.of(java_version)
18+
vendor = JvmVendorSpec.IBM
19+
implementation = JvmImplementation.J9
20+
}
21+
}
22+
923
dependencies {
1024
providedCompile 'com.ibm.cics:com.ibm.cics.server:1.700.1-5.5-PH25409'
1125
providedCompile 'com.ibm.cics:com.ibm.cics.server.invocation.annotations:5.5-PH25409'

cics-eventprocessing-java/cics-eventprocessing-java-webapp/pom.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,23 @@
3939
<plugins>
4040
<plugin>
4141
<artifactId>maven-compiler-plugin</artifactId>
42-
<version>3.8.1</version>
42+
<groupId>org.apache.maven.plugins</groupId>
43+
<version>3.12.1</version>
4344
<configuration>
4445
<annotationProcessorPaths>
4546
<annotationProcessorPath>
4647
<groupId>com.ibm.cics</groupId>
4748
<artifactId>com.ibm.cics.server.invocation</artifactId>
48-
<version>5.5-PH25409</version>
49+
<version>6.1</version>
4950
</annotationProcessorPath>
5051
</annotationProcessorPaths>
5152
</configuration>
5253
</plugin>
54+
<plugin>
55+
<artifactId>maven-war-plugin</artifactId>
56+
<groupId>org.apache.maven.plugins</groupId>
57+
<version>3.4.0</version>
58+
</plugin>
5359
</plugins>
5460
</build>
5561

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
java_version = 8
2.32 KB
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)