You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Marton Elek (Jira)" <ji...@apache.org> on 2019/12/10 17:14:00 UTC

[jira] [Created] (HDDS-2704) Source tar file is not created during the relase build

Marton Elek created HDDS-2704:
---------------------------------

             Summary: Source tar file is not created during the relase build
                 Key: HDDS-2704
                 URL: https://issues.apache.org/jira/browse/HDDS-2704
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
            Reporter: Marton Elek


Thanks to [~dineshchitlangia] who reported this problem.

With a release build:
{code:java}
mvn clean install -Dmaven.javadoc.skip=true -DskipTests -Psign,dist,src -Dtar -Dgpg.keyname=$CODESIGNINGKEY {code}
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)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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