Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MAINTENANCE] Split maven executions in workflows #433

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
- name: Build parent
shell: bash
run: |
mvn -U -e -B -ntp clean install -f parent/pom.xml
mvn -U -e -B -ntp clean install -f application/pom.xml
run: mvn -U -e -B -ntp clean install -f parent
- name: Build application
shell: bash
run: mvn -U -e -B -ntp clean install -f application
5 changes: 2 additions & 3 deletions .github/workflows/async.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
- name: Build async
shell: bash
run: |
mvn -U -e -B -ntp clean install -f async/pom.xml
run: mvn -U -e -B -ntp clean install -f async
13 changes: 8 additions & 5 deletions .github/workflows/blueprint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,12 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
- name: Build parent
shell: bash
run: |
mvn -U -e -B -ntp clean install -f parent/pom.xml
mvn -U -e -B -ntp clean install -f testsupport/pom.xml
mvn -U -e -B -ntp clean install -f blueprint/pom.xml
run: mvn -U -e -B -ntp clean install -f parent
- name: Build testsupport
shell: bash
run: mvn -U -e -B -ntp clean install -f testsupport
- name: Build blueprint
shell: bash
run: mvn -U -e -B -ntp clean install -f blueprint
5 changes: 2 additions & 3 deletions .github/workflows/eba-maven-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
- name: Build eba-maven-plugin
shell: bash
run: |
mvn -U -e -B -ntp clean install -f eba-maven-plugin/pom.xml -P run-its
run: mvn -U -e -B -ntp clean install -f eba-maven-plugin -P run-its
17 changes: 11 additions & 6 deletions .github/workflows/ejb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,15 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
- name: Build parent
shell: bash
run: |
mvn -U -e -B -ntp clean install -f parent/pom.xml
mvn -U -e -B -ntp clean install -f testsupport/pom.xml
mvn -U -e -B -ntp clean install -f proxy/pom.xml
mvn -U -e -B -ntp clean install -f ejb/pom.xml
run: mvn -U -e -B -ntp clean install -f parent
- name: Build testsupport
shell: bash
run: mvn -U -e -B -ntp clean install -f testsupport
- name: Build proxy
shell: bash
run: mvn -U -e -B -ntp clean install -f proxy
- name: Build ejb
shell: bash
run: mvn -U -e -B -ntp clean install -f ejb
5 changes: 2 additions & 3 deletions .github/workflows/esa-ant-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
- name: Build esa-ant-task
shell: bash
run: |
mvn -U -e -B -ntp clean install -f esa-ant-task/pom.xml
run: mvn -U -e -B -ntp clean install -f esa-ant-task
5 changes: 2 additions & 3 deletions .github/workflows/esa-maven-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
- name: Build esa-maven-plugin
shell: bash
run: |
mvn -U -e -B -ntp clean install -f esa-maven-plugin/pom.xml -P run-its
run: mvn -U -e -B -ntp clean install -f esa-maven-plugin -P run-its
13 changes: 8 additions & 5 deletions .github/workflows/jmx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,12 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
- name: Build parent
shell: bash
run: |
mvn -U -e -B -ntp clean install -f parent/pom.xml
mvn -U -e -B -ntp clean install -f testsupport/pom.xml
mvn -U -e -B -ntp clean install -f jmx/pom.xml
run: mvn -U -e -B -ntp clean install -f parent
- name: Build testsupport
shell: bash
run: mvn -U -e -B -ntp clean install -f testsupport
- name: Build jmx
shell: bash
run: mvn -U -e -B -ntp clean install -f jmx
13 changes: 8 additions & 5 deletions .github/workflows/jndi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,12 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
- name: Build parent
shell: bash
run: |
mvn -U -e -B -ntp clean install -f parent/pom.xml
mvn -U -e -B -ntp clean install -f testsupport/pom.xml
mvn -U -e -B -ntp clean install -f jndi/pom.xml
run: mvn -U -e -B -ntp clean install -f parent
- name: Build testsupport
shell: bash
run: mvn -U -e -B -ntp clean install -f testsupport
- name: Build jndi
shell: bash
run: mvn -U -e -B -ntp clean install -f jndi
5 changes: 2 additions & 3 deletions .github/workflows/proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
- name: Build proxy
shell: bash
run: |
mvn -U -e -B -ntp clean install -f proxy/pom.xml
run: mvn -U -e -B -ntp clean install -f proxy
5 changes: 2 additions & 3 deletions .github/workflows/pushstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
- name: Build pushstream
shell: bash
run: |
mvn -U -e -B -ntp clean install -f pushstream/pom.xml
run: mvn -U -e -B -ntp clean install -f pushstream
17 changes: 11 additions & 6 deletions .github/workflows/quiesce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,15 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
- name: Build parent
shell: bash
run: |
mvn -U -e -B -ntp clean install -f parent/pom.xml
mvn -U -e -B -ntp clean install -f testsupport/pom.xml
mvn -U -e -B -ntp clean install -f util/pom.xml
mvn -U -e -B -ntp clean install -f quiesce/pom.xml
run: mvn -U -e -B -ntp clean install -f parent
- name: Build testsupport
shell: bash
run: mvn -U -e -B -ntp clean install -f testsupport
- name: Build util
shell: bash
run: mvn -U -e -B -ntp clean install -f util
- name: Build quiesce
shell: bash
run: mvn -U -e -B -ntp clean install -f quiesce
14 changes: 3 additions & 11 deletions .github/workflows/spi-fly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,12 @@ name: SPI Fly - CI Build
on:
pull_request:
paths:
- parent/**
- spi-fly/**
- .github/workflows/spi-fly.yml
push:
branches:
- 'trunk'

defaults:
run:
working-directory: spi-fly

env:
LC_ALL: en_US.UTF-8

Expand All @@ -50,11 +45,8 @@ jobs:
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
check-latest: ${{ endsWith(matrix.java, '-ea') }}
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
continue-on-error: ${{contains(matrix.java, '-ea')}}
- name: Build spi-fly
shell: bash
run: |
mvn -U -e -B -ntp install
run: mvn -U -e -B -ntp clean install -f spi-fly
13 changes: 8 additions & 5 deletions .github/workflows/subsystem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,12 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
- name: Build parent
shell: bash
run: |
mvn -U -e -B -ntp clean install -f parent/pom.xml
mvn -U -e -B -ntp clean install -f testsupport/pom.xml
mvn -U -e -B -ntp clean install -f subsystem/pom.xml
run: mvn -U -e -B -ntp clean install -f parent
- name: Build testsupport
shell: bash
run: mvn -U -e -B -ntp clean install -f testsupport
- name: Build subsystem
shell: bash
run: mvn -U -e -B -ntp clean install -f subsystem
5 changes: 2 additions & 3 deletions .github/workflows/testsupport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
- name: Build testsupport
shell: bash
run: |
mvn -U -e -B -ntp clean install -f testsupport/pom.xml
run: mvn -U -e -B -ntp clean install -f testsupport
5 changes: 2 additions & 3 deletions .github/workflows/transaction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
- name: Build transaction
shell: bash
run: |
mvn -U -e -B -ntp clean install -f transaction/pom.xml
run: mvn -U -e -B -ntp clean install -f transaction
5 changes: 2 additions & 3 deletions .github/workflows/util.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
- name: Build util
shell: bash
run: |
mvn -U -e -B -ntp clean install -f util/pom.xml
run: mvn -U -e -B -ntp clean install -f util
5 changes: 2 additions & 3 deletions .github/workflows/versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
- name: Build versioning
shell: bash
run: |
mvn -U -e -B -ntp clean install -f versioning/pom.xml
run: mvn -U -e -B -ntp clean install -f versioning
13 changes: 8 additions & 5 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,12 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
- name: Build parent
shell: bash
run: |
mvn -U -e -B -ntp clean install -f parent/pom.xml
mvn -U -e -B -ntp clean install -f testsupport/pom.xml
mvn -U -e -B -ntp clean install -f web/pom.xml
run: mvn -U -e -B -ntp clean install -f parent
- name: Build testsupport
shell: bash
run: mvn -U -e -B -ntp clean install -f testsupport
- name: Build web
shell: bash
run: mvn -U -e -B -ntp clean install -f web