You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2015/01/02 14:05:10 UTC

[jira] (MDEPLOY-190) deploy-file goal adding artifacts as attached items, prevents multiple executions of the goal in one module

     [ https://jira.codehaus.org/browse/MDEPLOY-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MDEPLOY-190.
----------------------------------

    Resolution: Won't Fix
      Assignee: Robert Scholte

{{deploy-file}} is meant to be executed from commandline, not as part of the project lifecycle. Instead use {{deploy}} and use [build-helper:attach-artifact|http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html] to attach artifacts.

> deploy-file goal adding artifacts as attached items, prevents multiple executions of the goal in one module
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: MDEPLOY-190
>                 URL: https://jira.codehaus.org/browse/MDEPLOY-190
>             Project: Maven Deploy Plugin
>          Issue Type: Bug
>          Components: deploy:deploy-file
>    Affects Versions: 2.7
>            Reporter: Felix Simmendinger
>            Assignee: Robert Scholte
>            Priority: Blocker
>
> If you define multiple {{deploy-file}} goal executions within one module, each execution deploys also the artifacts of its predecessor. This is because the goal adds attached artifacts which will then be deployed too with the next execution. This seems to be introduced with MDEPLOY-134.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)