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

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/main by this push:
     new 4ba5445f7 ORC-1346: Remove `-nsu` option in publish-snapshot job
4ba5445f7 is described below

commit 4ba5445f70d3dd8c80bf4bdf8693940e0da26de5
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Fri Jan 6 23:22:44 2023 -0800

    ORC-1346: Remove `-nsu` option in publish-snapshot job
    
    ### What changes were proposed in this pull request?
    
    This PR is a partial revert of ORC-1345 by removing `-nsu` option in 
`publish-snapshot` job.
    
    ### Why are the changes needed?
    
    During ORC-1345, it was missed that `default-deploy` is ignored.
    ```
    [INFO] --- maven-install-plugin:2.5.2:install (default-install)  orc ---
    [INFO] Installing /home/runner/work/orc/orc/java/pom.xml to 
/home/runner/.m2/repository/org/apache/orc/orc/1.8.2-SNAPSHOT/orc-1.8.2-SNAPSHOT.pom
    [INFO] Installing /home/runner/work/orc/orc/java/target/bom.xml to 
/home/runner/.m2/repository/org/apache/orc/orc/1.8.2-SNAPSHOT/orc-1.8.2-SNAPSHOT-cyclonedx.xml
    [INFO] Installing /home/runner/work/orc/orc/java/target/bom.json to 
/home/runner/.m2/repository/org/apache/orc/orc/1.8.2-SNAPSHOT/orc-1.8.2-SNAPSHOT-cyclonedx.json
    [INFO]
    [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy)  orc ---
    [INFO]
    [INFO] ----------------------< org.apache.orc:orc-shims 
>----------------------
    ```
    
    ### How was this patch tested?
    
    N/A
    
    Closes #1356 from dongjoon-hyun/ORC-1346.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .github/workflows/publish_snapshot.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/publish_snapshot.yml 
b/.github/workflows/publish_snapshot.yml
index 87d24bdc3..aa2b06505 100644
--- a/.github/workflows/publish_snapshot.yml
+++ b/.github/workflows/publish_snapshot.yml
@@ -23,4 +23,4 @@ jobs:
       run: |
         cd java
         echo 
"<settings><servers><server><id>apache.snapshots.https</id><username>$ASF_USERNAME</username><password>$ASF_PASSWORD</password></server></servers></settings>"
 > settings.xml
-        ./mvnw --settings settings.xml -nsu -ntp -DskipTests deploy
+        ./mvnw --settings settings.xml -ntp -DskipTests deploy

Reply via email to