[
https://issues.apache.org/jira/browse/DRILL-4546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15214870#comment-15214870
]
ASF GitHub Bot commented on DRILL-4546:
---------------------------------------
GitHub user laurentgo opened a pull request:
https://github.com/apache/drill/pull/449
DRILL-4546: Only generate one zip archive when using apache-release profile
Drill root pom doesn't override completely Apache parent pom configuration
regarding assemblies, which caused a zip archive of the project to be
generated
twice, and deployed to a remote server twice too.
The fix updated the Apache parent pom version, and uses the plugin
properties
to override the configuration. Also remove Drill source assembly descriptor
as
the Apache parent project provides the same one.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/laurentgo/drill
laurent/fix-assembly-descriptor
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/449.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #449
----
commit 6353b057361f40f2ec56942e77321cd84147f340
Author: Laurent Goujon <[email protected]>
Date: 2016-03-28T20:31:53Z
DRILL-4546: Only generate one zip archive when using apache-release profile
Drill root pom doesn't override completely Apache parent pom configuration
regarding assemblies, which caused a zip archive of the project to be
generated
twice, and deployed to a remote server twice too.
The fix updated the Apache parent pom version, and uses the plugin
properties
to override the configuration. Also remove Drill source assembly descriptor
as
the Apache parent project provides the same one.
----
> mvn deploy pushes the same zip artifact twice
> ---------------------------------------------
>
> Key: DRILL-4546
> URL: https://issues.apache.org/jira/browse/DRILL-4546
> Project: Apache Drill
> Issue Type: Bug
> Components: Tools, Build & Test
> Reporter: Laurent Goujon
>
> When using the apache-release profile, both Apache and Drill assembly
> descriptors are used. This caused the zip artifact to be generated twice, and
> pushed twice to the remote repository. Because some repositories are
> configured to not allow the same artifact to be pushed several times, this
> might cause the build to fail.
> Ideally, only one zip file should be built and push. Also, the Apache Parent
> pom provides a descriptor to build both the tar and the zip archives.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)