diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index ba8ded87e..ca21348bb 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -137,6 +137,10 @@ jobs: run: | MVN_ARGS="${{ env.MVN_MULTI_THREADED_ARGS }} clean install -DskipTests -DskipFormatting" echo "[DEBUG] Running Maven with following arguments: $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" mvn $MVN_ARGS - name: "Verify Local Changes" @@ -326,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"