You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tobias Stoeckmann (JIRA)" <ji...@codehaus.org> on 2014/08/27 15:36:10 UTC

[jira] (MNG-5684) deployment happens twice

Tobias Stoeckmann created MNG-5684:
--------------------------------------

             Summary: deployment happens twice
                 Key: MNG-5684
                 URL: https://jira.codehaus.org/browse/MNG-5684
             Project: Maven
          Issue Type: Bug
    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)