This is an automated email from the ASF dual-hosted git repository.

rec pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git


The following commit(s) were added to refs/heads/main by this push:
     new c4d7ee22c 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
c4d7ee22c is described below

commit c4d7ee22cfdac648fe4fc385e2c3a79998dc84d7
Author: Richard Eckart de Castilho <[email protected]>
AuthorDate: Fri Dec 20 12:47:55 2024 +0100

    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
---
 .github/workflows/maven.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 404467ba3..e95f69d0e 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -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

Reply via email to