Skip to content

Commit c4d7ee2

Browse files
committed
No issue: We cannot use -DdeployAtEnd because the UIMAJ reactor root contains the assembly and the profile activated by the assembly file skips deployment... argh
1 parent 8f0c0f9 commit c4d7ee2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,12 @@ jobs:
5050
run: echo "CACHE_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
5151

5252
- name: Build with Maven
53-
if: matrix.os != 'ubuntu-latest'
5453
run: mvn --show-version --batch-mode --no-transfer-progress clean verify
5554

56-
- name: Build with Maven and upload to Nexus
55+
- name: Upload to Nexus
5756
if: matrix.os == 'ubuntu-latest'
5857
env:
5958
# `NEXUS_USERNAME` and `NEXUS_PASSWORD` are used in `~/.m2/settings.xml` created by `setup-java` action
6059
NEXUS_USERNAME: ${{ secrets.NEXUS_USER }}
6160
NEXUS_PASSWORD: ${{ secrets.NEXUS_PW }}
62-
run: mvn --show-version --batch-mode --errors --no-transfer-progress -DdeployAtEnd=true clean deploy
61+
run: mvn --show-version --batch-mode --errors --no-transfer-progress -DskipTests deploy

0 commit comments

Comments
 (0)