You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2019/12/10 17:29:01 UTC

[GitHub] [hadoop-ozone] elek opened a new pull request #334: HDDS-2704. Source tar file is not created during the relase build

elek opened a new pull request #334: HDDS-2704. Source tar file is not created during the relase build
URL: https://github.com/apache/hadoop-ozone/pull/334
 
 
   ## What changes were proposed in this pull request?
   
   Thanks to @dineshchitlangia who reported this problem.
   
   With a release build:
   
   ```
   mvn clean install -Dmaven.javadoc.skip=true -DskipTests -Psign,dist,src -Dtar -Dgpg.keyname=$CODESIGNINGKEY 
   ```
   
   The source package (__the__ release) is not created.
   
   In fact it's created, but the problem with the order of clean and install:
   
   * clean is executed in the root project
   * install is executed in the root project (creates hadoop-ozone/dist/target/..src.tar.gx
   *  .....
   * clean is executed in the hadoop-ozone/dist project (here the src package is deleted)
   * install is executed in the hadoop-ozone/dist project
   
   One possible fix is to move the creation of the src package to the hadoop-ozone/dist project (but do it from the project root)
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-2704
   
   ## How was this patch tested?
   
   ```
   mvn clean install -Dmaven.javadoc.skip=true -DskipTests -Psign,dist,src -Dtar -Dgpg.keyname=$CODESIGNINGKEY 
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org