Skip to content

Commit

Permalink
No issue: We cannot use -DdeployAtEnd because the UIMAJ reactor root …
Browse files Browse the repository at this point in the history
…contains the assembly and the profile activated by the assembly file skips deployment... argh
  • Loading branch information
reckart committed Dec 20, 2024
1 parent 8f0c0f9 commit c4d7ee2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,12 @@ jobs:
run: echo "CACHE_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

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

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

0 comments on commit c4d7ee2

Please sign in to comment.