You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/09/22 19:13:00 UTC
[jira] [Commented] (MNG-5667) Either install or deploy
[ https://issues.apache.org/jira/browse/MNG-5667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16624792#comment-16624792 ]
Hudson commented on MNG-5667:
-----------------------------
Build succeeded in Jenkins: Maven TLP » maven » MNG-5667 #2
See https://builds.apache.org/job/maven-box/job/maven/job/MNG-5667/2/
> Either install or deploy
> ------------------------
>
> Key: MNG-5667
> URL: https://issues.apache.org/jira/browse/MNG-5667
> Project: Maven
> Issue Type: Sub-task
> Components: FDPFC, Plugins and Lifecycle
> Reporter: Robert Scholte
> Assignee: Robert Scholte
> Priority: Major
>
> Original proposal
> {quote}
> PROPOSAL 2: Either install or deploy
> In general one should either run 'mvn verify' or 'mvn deploy', there's often no reason to run 'mvn install'. The only reason I can think of is when you have 2 separate projects (not part of the same multimodule), one depending on the other and you want to test this.
> To ensure that your projects build the same as your co-workers, you should always try to deploy it. However, there are several reasons why a deploy could fail: network problems, authentication/authorization issues, repository manager policies, etc. However, this is still after every install-phase, so the local repository is polluted.
> This is as unpleasant as for a developer local repository as for a CI-server local repo.
>
> The proposal is to "branch" the final phases.
> Calling any phase up until the verify will stay the same.
> Calling 'mvn install' would call these phases: validate ... verify, install (nothing new here)
> Calling 'mvn deploy' would call these phases: validate ... verify, deploy (no more install)
> {quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)