ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doroszlai, Attila (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-21246) Build creates tarball twice
Date Wed, 14 Jun 2017 15:08:00 GMT

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

Doroszlai, Attila updated AMBARI-21246:
---------------------------------------
    Attachment: AMBARI-21246.patch

> Build creates tarball twice
> ---------------------------
>
>                 Key: AMBARI-21246
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21246
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent, ambari-server
>    Affects Versions: 2.5.1
>            Reporter: Doroszlai, Attila
>            Assignee: Doroszlai, Attila
>             Fix For: 2.5.2
>
>         Attachments: AMBARI-21246.patch
>
>
> {{tar.gz}} is built twice in the {{package}} phase for {{ambari-server}} and {{ambari-agent}}:
> {noformat}
> $ mvn -am -pl ambari-server clean package
> ...
> [INFO] --- maven-assembly-plugin:2.2-beta-5:single (make-assembly) @ ambari-server ---
> [INFO] Reading assembly descriptor: src/main/assemblies/server.xml
> ...
> [INFO] Building tar : /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/target/ambari-server-2.0.0.0-SNAPSHOT-dist.tar.gz
> [INFO]
> [INFO] --- maven-assembly-plugin:2.2-beta-5:single (build-tarball) @ ambari-server ---
> [INFO] Reading assembly descriptor: src/main/assemblies/server.xml
> ...
> [INFO] Building tar : /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/target/ambari-server-2.0.0.0-SNAPSHOT-dist.tar.gz
> {noformat}
> Also, {{pom.xml}} says it should be possible to skip building the tarball by {{-DassemblyPhase=none}}:
> {noformat:title=pom.xml}
>  63     <assemblyPhase>package</assemblyPhase> <!-- use -DassemblyPhase=none
to skip building tarball, useful when you want purely compile jar -->
> {noformat}
> However, it only skips {{build-tarball}}, but {{make-assembly}} is still run.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message