Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.5.1
-
None
Description
tar.gz is built twice in the package phase for ambari-server and ambari-agent:
$ 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
Also, pom.xml says it should be possible to skip building the tarball by -DassemblyPhase=none:
pom.xml
63 <assemblyPhase>package</assemblyPhase> <!-- use -DassemblyPhase=none to skip building tarball, useful when you want purely compile jar -->
However, it only skips build-tarball, but make-assembly is still run.
Attachments
Attachments
Issue Links
- links to