[ 
https://jira.codehaus.org/browse/MNG-5684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=351989#comment-351989
 ] 

Jason van Zyl commented on MNG-5684:
------------------------------------

Maven will run the whole lifecycle again if you tell it to and I observe this 
with 3.2.1, 3.2.2, and 3.2.3. I agree that it should canonicalize and normalize 
but the behaviour has not changed.

Why are you calling "clean install deploy"? You only need to call "clean 
deploy" if you want to deploy.

> deployment happens twice
> ------------------------
>
>                 Key: MNG-5684
>                 URL: https://jira.codehaus.org/browse/MNG-5684
>             Project: Maven
>          Issue Type: Bug
>          Components: Deployment, Plugins and Lifecycle
>    Affects Versions: 3.2.3
>         Environment: Windows 7, Java 8. Happened on Linux distributions (also 
> Java 8) as well.
>            Reporter: Tobias Stoeckmann
>         Attachments: 3.2.2-clean-install-deploy.log, 
> 3.2.3-clean-install-deploy.log, my-app.zip
>
>
> Since version 3.2.3, "clean install deploy" will deploy javadoc and source 
> jars twice, which fails on our deployment policy. Release versions can be 
> deployed only once.
> "clean deploy" fixes the issue, "clean install deploy" triggers it. "clean 
> install" alone is okay, too. It installs javadoc and source jars only once.
> Please see attached a minimal example project, it's created through 
> archetype. I've added javadoc and install plugin, as well as 
> distributionManagement to deploy into "test" directory of user's home.



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

Reply via email to