From 10394703a264bd151eb9d971d3e0c31ba1dc30a8 Mon Sep 17 00:00:00 2001 From: Jonas Israel Date: Tue, 25 Aug 2026 14:12:33 +0200 Subject: [PATCH 1/3] build archetypes sequentially --- .github/workflows/continuous-integration.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index ba8ded87e..69f5d7409 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -135,7 +135,11 @@ jobs: - name: "Build SDK" run: | - MVN_ARGS="${{ env.MVN_MULTI_THREADED_ARGS }} clean install -DskipTests -DskipFormatting" + MVN_ARGS="${{ env.MVN_MULTI_THREADED_ARGS }} clean install -DskipTests -DskipFormatting -pl '!archetypes,!archetypes/spring-boot3,!archetypes/spring-boot4'" + echo "[DEBUG] Running Maven with following arguments: $MVN_ARGS" + mvn $MVN_ARGS + # Archetypes are built single-threaded to avoid a race condition on archetype-catalog.xml + MVN_ARGS="${{ env.MVN_SINGLE_THREADED_ARGS }} install -DskipTests -DskipFormatting -pl archetypes,archetypes/spring-boot3,archetypes/spring-boot4" echo "[DEBUG] Running Maven with following arguments: $MVN_ARGS" mvn $MVN_ARGS From 6cc565e82c553ea3e5ca2a6284c340ae6c98d6d7 Mon Sep 17 00:00:00 2001 From: Jonas Israel Date: Tue, 25 Aug 2026 14:12:51 +0200 Subject: [PATCH 2/3] test new archetype --- .github/workflows/continuous-integration.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 69f5d7409..ffba36720 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -330,6 +330,11 @@ jobs: "javaVersion": 17, "startCommand": "mvn spring-boot:run -B", } + - { + "archetype": "spring-boot4", + "javaVersion": 17, + "startCommand": "mvn spring-boot:run -B", + } name: "Test ${{ matrix.task.archetype }} Archetype" steps: - name: "Setup java" From e83e39c3af7e2d001133db10bf27a58b39026223 Mon Sep 17 00:00:00 2001 From: Jonas Israel Date: Tue, 25 Aug 2026 14:26:04 +0200 Subject: [PATCH 3/3] small fix --- .github/workflows/continuous-integration.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index ffba36720..ca21348bb 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -135,9 +135,9 @@ jobs: - name: "Build SDK" run: | - MVN_ARGS="${{ env.MVN_MULTI_THREADED_ARGS }} clean install -DskipTests -DskipFormatting -pl '!archetypes,!archetypes/spring-boot3,!archetypes/spring-boot4'" + MVN_ARGS="${{ env.MVN_MULTI_THREADED_ARGS }} clean install -DskipTests -DskipFormatting" echo "[DEBUG] Running Maven with following arguments: $MVN_ARGS" - mvn $MVN_ARGS + mvn $MVN_ARGS -pl '!archetypes,!archetypes/spring-boot3,!archetypes/spring-boot4' # Archetypes are built single-threaded to avoid a race condition on archetype-catalog.xml MVN_ARGS="${{ env.MVN_SINGLE_THREADED_ARGS }} install -DskipTests -DskipFormatting -pl archetypes,archetypes/spring-boot3,archetypes/spring-boot4" echo "[DEBUG] Running Maven with following arguments: $MVN_ARGS"