This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch maintenance-branch
in repository https://gitbox.apache.org/repos/asf/causeway.git


The following commit(s) were added to refs/heads/maintenance-branch by this 
push:
     new ccc2b307fd8 CAUSEWAY-3956: try to build/test v2 (CI)
ccc2b307fd8 is described below

commit ccc2b307fd8e7c58f9a364a345f962124031ad42
Author: andi-huber <[email protected]>
AuthorDate: Wed Jan 14 17:20:56 2026 +0100

    CAUSEWAY-3956: try to build/test v2 (CI)
---
 .github/dependabot.yml                             |  18 +---
 .../ci-build-artifacts-no-push-gradle.yml~         |  98 ------------------
 .../workflows/ci-build-artifacts-no-push-maven.yml |  67 +++----------
 .../workflows/ci-build-artifacts-push-maven.yml    | 110 ---------------------
 .github/workflows/ci-build-site-no-push.yml        |  97 ------------------
 5 files changed, 15 insertions(+), 375 deletions(-)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 261d2140d81..9202a0653ab 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -8,14 +8,14 @@ updates:
 
   # Maintain dependencies for GitHub Actions
   - package-ecosystem: "github-actions"
-    target-branch: "master"
+    target-branch: "maintenance-branch"
     directory: "/"
     schedule:
       interval: "weekly"
 
   # Maintain dependencies for Maven (v2 branch)
   - package-ecosystem: "maven"
-    target-branch: "master"
+    target-branch: "maintenance-branch"
     directory: "/" # Location of package manifests
     schedule:
       interval: "weekly"
@@ -27,7 +27,7 @@ updates:
       - "Spring Boot 2.x"
     ignore:
       - dependency-name: "org.springframework.boot*"
-        versions: ["3.x"]
+        versions: ["3.x", "4.x"]
       - dependency-name: "jakarta.el:jakarta.el-api"
         versions: ["4.x","5.x","6.x"]
       - dependency-name: "org.apache.wicket*"
@@ -41,15 +41,3 @@ updates:
       - dependency-name: "de.agilecoders.wicket.webjars:wicket-webjars"
         versions: ["4.x"]
     
-  # Maintain dependencies for Maven (v3 branch)
-  - package-ecosystem: "maven"
-    target-branch: "v3"
-    directory: "/" # Location of package manifests
-    schedule:
-      interval: "weekly"
-    # Allow up to 50 open pull requests for maven dependencies
-    open-pull-requests-limit: 50
-    # Use custom labels
-    labels:
-      - "dependencies"
-      - "Spring Boot 3.x"
diff --git a/.github/workflows/ci-build-artifacts-no-push-gradle.yml~ 
b/.github/workflows/ci-build-artifacts-no-push-gradle.yml~
deleted file mode 100644
index 79341fa986b..00000000000
--- a/.github/workflows/ci-build-artifacts-no-push-gradle.yml~
+++ /dev/null
@@ -1,98 +0,0 @@
-name: Build and Test (w/ Gradle)
-
-on:
-#disable gradle build until ISIS-2437 is resolved
-  schedule:
-    # * dummy, such that virtually never runs
-    - cron:  '0 0 1 1 0'
-#  push:
-#    branches:
-#      - master
-#  pull_request:
-#    branches:
-#      - master
-
-permissions:
-  contents: read
-
-jobs:
-  build:
-    name: build-local-no-push-gradle
-    runs-on: ubuntu-latest
-    env:
-      # to be shared among all steps of this job
-      BASELINE: 2.0.0-RC3
-      PROJECT_ROOT_PATH: ${{ github.workspace }}
-      CI_SCRIPTS_PATH: ${{ github.workspace }}/scripts/ci
-      
-      # not used, would be nice if we could transform the TIMESTAMP string 
into the REVISION 
-      # variable here, but it seems github not yet has any string expression 
manipulation 
-      # operators other than concatination   
-      TIMESTAMP: ${{ github.event.head_commit.timestamp }}
-
-    steps:
-    - uses: actions/[email protected]
-    
-    - name: Set up JDK 17
-      uses: actions/setup-java@v2
-      with:
-        distribution: 'zulu'
-        java-version: 17
-    
-    - name: Set up Gradle and print Version
-      uses: eskatos/gradle-command-action@v2
-      with:
-        gradle-version: 6.5.1
-        wrapper-cache-enabled: true
-        dependencies-cache-enabled: true
-        arguments: --version
-    
-    - name: Setup Script Environment
-      shell: bash
-      run: |
-        echo ==============  ENV  =================
-        echo BASELINE         \: $BASELINE
-        echo TIMESTAMP        \: $TIMESTAMP
-        echo PROJECT_ROOT_PATH\: $PROJECT_ROOT_PATH
-        echo CI_SCRIPTS_PATH  \: $CI_SCRIPTS_PATH
-        echo MVN_STAGES       \: $MVN_STAGES
-        echo ======================================
-    
-    - name: Build Artifacts (w/ Gradle)
-      shell: bash
-      run: bash $CI_SCRIPTS_PATH/build-artifacts-using-gradle.sh
-#      env:
-#        # also build and run regressiontests and kroviz
-#        MVN_ADDITIONAL_OPTS: -Dregressiontests-module -Dkroviz-module
-
-# FOR DEBUG USE
-#   - name: Dump GitHub context 
-#     env:
-#       ENV_CONTEXT: ${{ toJson(env) }}
-#     run: echo "$ENV_CONTEXT"
-#   - name: Dump GitHub context 
-#     env:
-#       GITHUB_CONTEXT: ${{ toJson(github) }}
-#     run: echo "$GITHUB_CONTEXT"
-#   - name: Dump job context
-#     env:
-#       JOB_CONTEXT: ${{ toJson(job) }}
-#     run: echo "$JOB_CONTEXT"
-#   - name: Dump steps context
-#     env:
-#       STEPS_CONTEXT: ${{ toJson(steps) }}
-#     run: echo "$STEPS_CONTEXT"
-#   - name: Dump runner context
-#     env:
-#       RUNNER_CONTEXT: ${{ toJson(runner) }}
-#     run: echo "$RUNNER_CONTEXT"
-#   - name: Dump strategy context
-#     env:
-#       STRATEGY_CONTEXT: ${{ toJson(strategy) }}
-#     run: echo "$STRATEGY_CONTEXT"
-#   - name: Dump matrix context
-#     env:
-#       MATRIX_CONTEXT: ${{ toJson(matrix) }}
-#     run: echo "$MATRIX_CONTEXT"
-           
-           
diff --git a/.github/workflows/ci-build-artifacts-no-push-maven.yml 
b/.github/workflows/ci-build-artifacts-no-push-maven.yml
index df175942ece..3793e759f2d 100644
--- a/.github/workflows/ci-build-artifacts-no-push-maven.yml
+++ b/.github/workflows/ci-build-artifacts-no-push-maven.yml
@@ -1,21 +1,14 @@
-name: Build, Test (JDK 22)
+name: Build, Test (2.2.0-SNAPSHOT)
 
 on:
   push:
     branches:
-      - master
-      - v3
+      - maintenance-branch
   pull_request:
     branches:
-      - master
-      - v3
+      - maintenance-branch
 
 jobs:
-  # This is a matrix build {'java', 'javascript'},
-  # where only the 'java' part triggers the Maven build,
-  # and only the 'javascript' part triggers the CodeQL autobuild.
-  # Those builds must run in between the "CodeQL: Initialize" and "CodeQL: 
Perform Analysis" steps!
-  # CodeQL can be disabled via SKIP_CODE_QL: true
   build:
     name: build-local-no-push
     runs-on: ubuntu-latest
@@ -23,17 +16,10 @@ jobs:
       actions: read
       contents: read
       security-events: write
-    strategy:
-      matrix:
-        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 
'python', 'ruby' ]
-        # Use only 'java' to analyze code written in Java, Kotlin or both
-        # Use only 'javascript' to analyze code written in JavaScript, 
TypeScript or both
-        # Learn more about CodeQL language support at 
https://aka.ms/codeql-docs/language-support
-        language: [ 'java', 'javascript' ]
     env:
       # to be shared among all steps of this job
       BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
-      BASELINE: 2.0.0
+      BASELINE: 2.2.0-SNAPSHOT
       PROJECT_ROOT_PATH: ${{ github.workspace }}
       CI_SCRIPTS_PATH: ${{ github.workspace }}/scripts/ci
 
@@ -46,26 +32,19 @@ jobs:
       # requires 'secrets' which we don't have yet
       MVN_STAGES: install
 
-      # options
-      # CodeQL action seems broken on JDK22, waiting for updates
-      SKIP_CODE_QL: true
-
     steps:
     - uses: actions/checkout@v4
 
-    - name: Set up JDK 22
-      if: matrix.language == 'java'
+    - name: Set up JDK 17
       uses: actions/setup-java@v4
       with:
         distribution: 'zulu'
-        java-version: 22
+        java-version: 17
 
     - name: Print Maven Version
-      if: matrix.language == 'java'
       run: mvn --version
 
     - name: Activate Cache for Maven Downloads
-      if: matrix.language == 'java'
       uses: actions/cache@v4
       env:
         # change the cache-name if we want to rebuild the cache
@@ -79,7 +58,6 @@ jobs:
           ${{ runner.os }}-
 
     - name: Setup Script Environment
-      if: matrix.language == 'java'
       shell: bash
       run: |
         echo ==============  ENV  =================
@@ -91,45 +69,24 @@ jobs:
         echo MVN_STAGES       \: $MVN_STAGES
         echo ======================================
 
-    # CodeQL Analysis 
(https://codeql.github.com/docs/codeql-overview/about-codeql/)
-    - name: "CodeQL: Initialize"
-      if: env.SKIP_CODE_QL != 'true'
-      uses: github/codeql-action/init@v3
-      with:
-        languages: ${{ matrix.language }}
-
     - name: Build Artifacts
-      if: matrix.language == 'java'
       shell: bash
       run: bash $CI_SCRIPTS_PATH/build-artifacts.sh
       env:
-        # -Dmodule-all ... build all modules (default if all is well)
-        # -Dmodule-all-except-incubator ... build all modules except 
'incubator'
-        # -Dmodule-all-except-kroviz ... build all modules except 'kroviz' 
(eg. when kroviz build fails)
         # -Denforcer.failFast=true ... fail fast on convergence issues 
(enforcer plugin)
         # -Dmaven.source.skip=true ... no need for the CI build to pull sources
         # -Dproject.build.outputTimestamp=2023-01-01T00:00:00Z see 
https://maven.apache.org/guides/mini/guide-reproducible-builds.html
         # -T 1C ... 1 build thread per core
         MVN_ADDITIONAL_OPTS: >-
-          -Dmodule-all
+          -Dmodule-regressiontests
+                 -Dmaven.compiler.release=11
+                 -Dmaven.compiler.proc=full
+                 -Dmaven.source.skip=true
+                 -Dlombok.version=1.18.42
           -Denforcer.failFast=true
-          -Dmaven.source.skip=true
-          -Dproject.build.outputTimestamp=2023-01-01T00:00:00Z
+          -Dproject.build.outputTimestamp=2026-01-01T00:00:00Z
           -e
 
-    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or 
Java).
-    # If this step fails, then you should remove it and run the build manually
-    - name: "CodeQL: Autobuild"
-      if: env.SKIP_CODE_QL != 'true' && matrix.language == 'javascript'
-      uses: github/codeql-action/autobuild@v3
-
-    - name: "CodeQL: Perform Analysis"
-      if: env.SKIP_CODE_QL != 'true'
-      uses: github/codeql-action/analyze@v3
-      with:
-        category: "/language:${{matrix.language}}"
-
-
 # FOR DEBUG USE
 #   - name: Dump GitHub context
 #     env:
diff --git a/.github/workflows/ci-build-artifacts-push-maven.yml 
b/.github/workflows/ci-build-artifacts-push-maven.yml
deleted file mode 100644
index a5ec6eb63ea..00000000000
--- a/.github/workflows/ci-build-artifacts-push-maven.yml
+++ /dev/null
@@ -1,110 +0,0 @@
-name: Apache Causeway Weekly Build
-
-on:
-  workflow_dispatch:
-  schedule:
-    # daily 02:00 (UTC) on Sunday morning
-    - cron: '0 2 * * 0'
-
-jobs:
-  build:
-    name: build-local-push
-    runs-on: ubuntu-latest
-    env:
-      # to be shared among all steps of this job
-      PROJECT_ROOT_PATH: ${{ github.workspace }}
-      CI_SCRIPTS_PATH: ${{ github.workspace }}/scripts/ci
-
-      # not used, would be nice if we could transform the TIMESTAMP string 
into the REVISION
-      # variable here, but it seems github not yet has any string expression 
manipulation
-      # operators other than concatenation
-      TIMESTAMP: ${{ github.event.head_commit.timestamp }}
-
-    steps:
-    - uses: actions/checkout@v4
-
-    - name: Set up JDK 11
-      uses: actions/setup-java@v4
-      with:
-        distribution: 'zulu'
-        java-version: 11
-
-    - name: Find baseline from search.maven.org
-      id: calc-baseline
-      run: 'bash scripts/ci/calc-baseline.sh'
-
-    - name: Share $BASELINE as Environment Variable
-      run: echo "BASELINE=${{ steps.calc-baseline.outputs.baseline }}" >> 
$GITHUB_ENV
-
-    - name: Calculate new $REVISION
-      id: revision
-      run: 'bash scripts/ci/calc-revision.sh'
-
-    - name: Share $REVISION as Environment Variable
-      run: echo "REVISION=${{ steps.revision.outputs.revision }}" >> 
$GITHUB_ENV
-
-    - name: Dump Env context
-      env:
-        ENV_CONTEXT: ${{ toJson(env) }}
-      run: 'echo "$ENV_CONTEXT"'
-
-    - name: Dump GitHub context
-      env:
-        GITHUB_CONTEXT: ${{ toJson(github) }}
-      run: echo "$GITHUB_CONTEXT"
-
-    - name: Activate Cache for Maven Downloads
-      uses: actions/cache@v4
-      env:
-        # change the cache-name if we want to rebuild the cache
-        # can be reset via github action page
-        cache-name: maven-shared
-      with:
-        path: ~/.m2/repository
-        key: ${{ runner.os }}-${{ env.cache-name }}
-        restore-keys: |
-          ${{ runner.os }}-${{ env.cache-name }}
-          ${{ runner.os }}-
-
-#    - name: Create GitHub Release
-#      uses: actions/create-release@v1
-#      env:
-#        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-#      with:
-#        tag_name: ${{ env.REVISION }}
-#        release_name: Release ${{ env.REVISION }}
-
-    - name: Build Artifacts (Github March 2022)
-      run: 'bash scripts/ci/build-artifacts.sh'
-      env:
-        # -Dgithub ... build only the released modules and deploy to github 
packages
-        MVN_ADDITIONAL_OPTS: >-
-          -f bom/pom.xml
-          -Dgithub
-        GITHUB_TOKEN: ${{ github.token }}
-        MVN_STAGES: deploy
-        SOURCE_MODE: attach
-
-
-# FOR DEBUG USE
-#   - name: Dump job context
-#     env:
-#       JOB_CONTEXT: ${{ toJson(job) }}
-#     run: echo "$JOB_CONTEXT"
-#   - name: Dump steps context
-#     env:
-#       STEPS_CONTEXT: ${{ toJson(steps) }}
-#     run: echo "$STEPS_CONTEXT"
-#   - name: Dump runner context
-#     env:
-#       RUNNER_CONTEXT: ${{ toJson(runner) }}
-#     run: echo "$RUNNER_CONTEXT"
-#   - name: Dump strategy context
-#     env:
-#       STRATEGY_CONTEXT: ${{ toJson(strategy) }}
-#     run: echo "$STRATEGY_CONTEXT"
-#   - name: Dump matrix context
-#     env:
-#       MATRIX_CONTEXT: ${{ toJson(matrix) }}
-#     run: echo "$MATRIX_CONTEXT"
-
diff --git a/.github/workflows/ci-build-site-no-push.yml 
b/.github/workflows/ci-build-site-no-push.yml
deleted file mode 100644
index 03b2ce8bce4..00000000000
--- a/.github/workflows/ci-build-site-no-push.yml
+++ /dev/null
@@ -1,97 +0,0 @@
-name: Build Site (w/ Antora)
-
-on:
-  push:
-    branches:
-      - master
-  pull_request:
-    branches:
-      - master
-
-permissions:
-  contents: read
-
-jobs:
-  build:
-    name: build-local-no-push
-    runs-on: ubuntu-latest
-    env:
-      # to be shared among all steps of this job
-      BASELINE: 2.0.0
-      PROJECT_ROOT_PATH: ${{ github.workspace }}
-      CI_SCRIPTS_PATH: ${{ github.workspace }}/scripts/ci
-      ANTORA_PLAYBOOKS_PATH: ${{ github.workspace }}/antora/playbooks
-
-      # used for printing
-      TIMESTAMP: ${{ github.event.head_commit.timestamp }}
-
-      # though equivalent, setting SHARED_VARS_FILE to ~/.env breaks the 
build, not sure why
-      # the tilde character appears to produce strange side-effects when used 
here
-      SHARED_VARS_FILE: /home/runner/.env
-
-    steps:
-    - uses: actions/checkout@v4
-
-    - name: Set up JDK 22
-      uses: actions/setup-java@v4
-      with:
-        distribution: 'zulu'
-        java-version: 22
-
-    - name: Setup Script Environment
-      shell: bash
-      # we write the more tricky variables to the $SHARED_VARS_FILE using the 
full power of bash commands
-      # then we simply print all the (non-secret) variables as used by the 
build scripts to the console
-      run: |
-        echo REVISION=$BASELINE.$(date +%Y%m%d)-$(date +%H%M)-$(echo 
$GITHUB_SHA | cut -c1-8) > $SHARED_VARS_FILE
-        echo ==============  ENV  =================
-        echo BASELINE               \: $BASELINE
-        echo TIMESTAMP              \: $TIMESTAMP
-        echo PROJECT_ROOT_PATH      \: $PROJECT_ROOT_PATH
-        echo CI_SCRIPTS_PATH        \: $CI_SCRIPTS_PATH
-        echo ANTORA_PLAYBOOKS_PATH  \: $ANTORA_PLAYBOOKS_PATH
-        echo REVISION               \: $REVISION
-        cat $SHARED_VARS_FILE
-        echo ======================================
-
-
-    - name: Print Node Version
-      run: node --version
-
-    - name: Install NVM
-      shell: bash
-      run: bash $CI_SCRIPTS_PATH/install-nvm.sh
-
-    - name: Install Antora
-      shell: bash
-      working-directory: ${{ env.PROJECT_ROOT_PATH }}
-      # we install the 'node' modules into the project root under 
'node_modules',
-      # because we have no privileges to install them globally with -g option
-      run: npm i @antora/cli@^3.1.1 @antora/site-generator-default@^3.1.1  
asciidoctor-kroki
-
-    - name: List Versions of installed NPM Packages
-      shell: bash
-      working-directory: ${{ env.PROJECT_ROOT_PATH }}
-      run: npm list
-
-    - name: Setup Groovy
-      if: steps.revision.outputs.revision != 'skip'
-      run: |
-        sudo apt-get update
-        sudo apt-get -f install groovy
-
-    - name: Print Groovy Version
-      if: steps.revision.outputs.revision != 'skip'
-      shell: bash
-      run: groovy --version
-
-    - name: Build Apache Causeway Site
-      shell: bash
-      working-directory: ${{ env.PROJECT_ROOT_PATH }}
-      run: bash -x $CI_SCRIPTS_PATH/_build-site.sh 
$ANTORA_PLAYBOOKS_PATH/site.yml
-      env:
-        REVISION: ${{ steps.revision.outputs.revision }}
-        SKIP_PROJDOC_GENERATION: true
-        SKIP_EXAMPLES: true
-        SKIP_CONFIGS: true
-        SKIP_STALE_EXAMPLE_CHECK: true

Reply via email to