[ 
https://issues.apache.org/jira/browse/HDDS-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Yang updated HDDS-1734:
----------------------------
    Description: 
Ozone is using tar stitching to create ozone tarball.  This prevents down 
stream project to use Ozone tarball as a dependency.  It would be nice to 
create Ozone tarball with maven assembly plugin to have ability to cache ozone 
tarball in maven repository.  This ability allows docker build to be a separate 
sub-module and referencing to Ozone tarball.  This change can help docker 
development to be more agile without making a full project build.

Test procedure:
{code:java}
mvn -f pom.ozone.xml clean install -DskipTests -DskipShade -Dmaven.javadoc.skip 
-Pdist{code}
Expected result:

This will install tarball into:
{code:java}
~/.m2/repository/org/apache/hadoop/hadoop-ozone-dist/0.5.0-SNAPSHOT/hadoop-ozone-dist-0.5.0-SNAPSHOT.tar.gz{code}

Test procedure 2:
{code:java}
mvn -f pom.ozone.xml clean package -DskipTests -DskipShade -Dmaven.javadoc.skip 
-Pdist{code}
 
Expected result:
hadoop/hadoop-ozone/dist/target directory contains ozone-0.5.0-SNAPSHOT.tar.gz 
file.

  was:Ozone is using tar stitching to create ozone tarball.  This prevents down 
stream project to use Ozone tarball as a dependency.  It would be nice to 
create Ozone tarball with maven assembly plugin to have ability to cache ozone 
tarball in maven repository.  This ability allows docker build to be a separate 
sub-module and referencing to Ozone tarball.  This change can help docker 
development to be more agile without making a full project build.


> Use maven assembly to create ozone tarball image
> ------------------------------------------------
>
>                 Key: HDDS-1734
>                 URL: https://issues.apache.org/jira/browse/HDDS-1734
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Major
>         Attachments: HDDS-1734.001.patch
>
>
> Ozone is using tar stitching to create ozone tarball.  This prevents down 
> stream project to use Ozone tarball as a dependency.  It would be nice to 
> create Ozone tarball with maven assembly plugin to have ability to cache 
> ozone tarball in maven repository.  This ability allows docker build to be a 
> separate sub-module and referencing to Ozone tarball.  This change can help 
> docker development to be more agile without making a full project build.
> Test procedure:
> {code:java}
> mvn -f pom.ozone.xml clean install -DskipTests -DskipShade 
> -Dmaven.javadoc.skip -Pdist{code}
> Expected result:
> This will install tarball into:
> {code:java}
> ~/.m2/repository/org/apache/hadoop/hadoop-ozone-dist/0.5.0-SNAPSHOT/hadoop-ozone-dist-0.5.0-SNAPSHOT.tar.gz{code}
> Test procedure 2:
> {code:java}
> mvn -f pom.ozone.xml clean package -DskipTests -DskipShade 
> -Dmaven.javadoc.skip -Pdist{code}
>  
> Expected result:
> hadoop/hadoop-ozone/dist/target directory contains 
> ozone-0.5.0-SNAPSHOT.tar.gz file.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to