From 827da010122dde79d3ed53843077c122281f1085 Mon Sep 17 00:00:00 2001 From: Ivan Hargreaves Date: Tue, 4 Aug 2026 17:43:29 +0100 Subject: [PATCH] Agents.md validation: copyright if-guard, cache:maven, gradle-wrapper cleanup, foojay 0.9.0, compiler plugin, classpath resources, https XSD --- .github/workflows/build.yaml | 2 ++ cics-java-liberty-springboot-link-app/.classpath | 1 + .../pom.xml | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 -- pom.xml | 15 +++++++++++++++ settings.gradle | 2 +- 6 files changed, 20 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0ddced1..5120615 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,6 +13,7 @@ jobs: check-copyright: runs-on: ubuntu-latest name: Check Copyright + if: ${{ !startsWith(github.head_ref, 'create-pull-request/') }} permissions: contents: write pull-requests: write @@ -42,6 +43,7 @@ jobs: with: java-version: ${{ matrix.jdk }} distribution: "semeru" + cache: maven - name: Build with Maven run: mvn --batch-mode --update-snapshots --file pom.xml -Djava.version=${{ matrix.jdk }} verify diff --git a/cics-java-liberty-springboot-link-app/.classpath b/cics-java-liberty-springboot-link-app/.classpath index 6eaebc2..41fc456 100644 --- a/cics-java-liberty-springboot-link-app/.classpath +++ b/cics-java-liberty-springboot-link-app/.classpath @@ -1,6 +1,7 @@ + diff --git a/cics-java-liberty-springboot-link-cicsbundle/pom.xml b/cics-java-liberty-springboot-link-cicsbundle/pom.xml index ce97854..acd1cbb 100644 --- a/cics-java-liberty-springboot-link-cicsbundle/pom.xml +++ b/cics-java-liberty-springboot-link-cicsbundle/pom.xml @@ -1,7 +1,7 @@ + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 419c0c0..0652b16 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,7 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.4-bin.zip -networkTimeout=10000 -validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists \ No newline at end of file diff --git a/pom.xml b/pom.xml index c040963..6b2f3ce 100644 --- a/pom.xml +++ b/pom.xml @@ -49,4 +49,19 @@ cics-java-liberty-springboot-link-cicsbundle + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + ${java.version} + + + + + \ No newline at end of file diff --git a/settings.gradle b/settings.gradle index 3f95c48..81cfbb5 100644 --- a/settings.gradle +++ b/settings.gradle @@ -5,7 +5,7 @@ // if it is not found on the local system (requires auto-download in gradle.properties) plugins { - id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0' + id 'org.gradle.toolchains.foojay-resolver-convention' version '0.9.0' } // ============================================================================