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

piergiorgio pushed a commit to branch CONNECTORS-1754
in repository https://gitbox.apache.org/repos/asf/manifoldcf.git


The following commit(s) were added to refs/heads/CONNECTORS-1754 by this push:
     new e9567ce7f Fix for deploying artifacts to the Apache Nexus
e9567ce7f is described below

commit e9567ce7f45efad84776d21a56a5197bb25595a0
Author: Piergiorgio Lucidi <[email protected]>
AuthorDate: Mon Jun 17 10:53:45 2024 +0200

    Fix for deploying artifacts to the Apache Nexus
---
 .github/workflows/create-release-candidate.yml                | 11 ++---------
 .github/workflows/license-check.yml                           |  2 +-
 .../{publish-snapshot.yml => publish-maven-snapshot.yml}      |  8 ++++----
 3 files changed, 7 insertions(+), 14 deletions(-)

diff --git a/.github/workflows/create-release-candidate.yml 
b/.github/workflows/create-release-candidate.yml
index 967f967cb..154c95d13 100644
--- a/.github/workflows/create-release-candidate.yml
+++ b/.github/workflows/create-release-candidate.yml
@@ -19,9 +19,7 @@ name: Create Release Candidate
 run-name: ${{ github.actor }} is executing Create Release Branch
 permissions:
   contents: write
-env:
-  NEXUS_DEPLOY_USERNAME: ${{ secrets.NEXUS_USER }}
-  NEXUS_DEPLOY_PASSWORD: ${{ secrets.NEXUS_PW }}
+  
 on:
   workflow_dispatch:
     inputs:
@@ -94,7 +92,7 @@ jobs:
         run: ant make-core-deps make-deps image
       
       - name: Maven Build
-        run: mvn clean install -DskipTests -DskipITs -B
+        run: mvn clean install -B -DskipTests -DskipITs
       
       - name: RAT licence checks
         run: mvn -pl . apache-rat:check
@@ -112,11 +110,6 @@ jobs:
           git commit -am "New branch for release candidate ${{ 
steps.branchTag.outputs.tag }} created"
           git push
       
-      - name: Deploy Maven artifacts to the ASF Snapshots Repository
-        shell: bash
-        run: |
-          mvn deploy -DrepositoryId=apache.releases.https --settings 
/home/runner/work/manifoldcf/manifoldcf/.github/asf-deploy-settings.xml -q
-      
       - name: Create Release Candidate
         id: create_release_candidate
         uses: actions/[email protected]
diff --git a/.github/workflows/license-check.yml 
b/.github/workflows/license-check.yml
index 609e474da..f9ed20ec0 100644
--- a/.github/workflows/license-check.yml
+++ b/.github/workflows/license-check.yml
@@ -36,7 +36,7 @@ jobs:
       - name: Ant Build
         run: ant make-core-deps make-deps
       - name: Maven Build
-        run: mvn clean install -DskipTests -DskipITs -B
+        run: mvn clean install -B -DskipTests -DskipITs
       - name: RAT licence checks
         run: mvn -pl . apache-rat:check
       - name: RAT Report
diff --git a/.github/workflows/publish-snapshot.yml 
b/.github/workflows/publish-maven-snapshot.yml
similarity index 87%
rename from .github/workflows/publish-snapshot.yml
rename to .github/workflows/publish-maven-snapshot.yml
index 821c31516..9aea19496 100644
--- a/.github/workflows/publish-snapshot.yml
+++ b/.github/workflows/publish-maven-snapshot.yml
@@ -17,8 +17,8 @@
 # under the License.
 #
 
-name: "Publish Snapshot artifacts"
-run-name: ${{ github.actor }} is publishing snapshot artifacts
+name: Publish Snapshot Artifacts
+run-name: ${{ github.actor }} is publishing snapshots artifacts
 
 on:
   workflow_dispatch:
@@ -47,9 +47,9 @@ jobs:
       - name: Ant Build
         run: ant make-core-deps make-deps image
       - name: Maven Build
-        run: mvn clean install -DskipTests -DskipITs
+        run: mvn clean install -B -DskipTests -DskipITs
       - name: Deploy
-        run: mvn deploy -DskipTests -DskipITs -Dmaven.javadoc.skip=true -B -V
+        run: mvn deploy -B -DskipTests -DskipITs -Dmaven.javadoc.skip=true
         env:
           NEXUS_USER: ${{ secrets.NEXUS_USER }}
           NEXUS_PW: ${{ secrets.NEXUS_PW }}

Reply via email to