[ https://issues.apache.org/jira/browse/HDDS-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16876511#comment-16876511 ]
Anu Engineer edited comment on HDDS-1734 at 7/1/19 9:19 PM: ------------------------------------------------------------ {quote}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 buil {quote} Docker builds can be done by copying the tarball from Dist. we do that today; so I really don't understand why we need to do this at all, and as I have mentioned in previous JIRAs, Clean full builds are good; we should encourage more of them; instead of bypassing them. We need to make our builds faster and try to avoid doing complicated things in the build so that developers are encouraged to build cleanly all the time. was (Author: anu): {quote}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 buil {quote} Docker builds can be done by copying the tarball from Dist. we do that today; so I really don't understand why we need to do this at all. > 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, HDDS-1734.002.patch, > HDDS-1734.003.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: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org