[jira] (MNG-5684) deployment happens twice
[ https://jira.codehaus.org/browse/MNG-5684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=352399#comment-352399 ] Max Norris commented on MNG-5684: - I know this is closed, but a little more information on this in case someone comes looking for this issue. Between 3.2.2 and 3.2.3 this problem popped up for me as well doing a release: {{-DdevelopmentVersion=2.1.5-SNAPSHOT -DreleaseVersion=2.1.4 -Darguments=-DskipTests -Dresume=false release:prepare release:perform}} I traced it down to the way I defined the maven-source-plugin. It looked like this: {code:xml} plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-source-plugin/artifactId version2.3/version executions execution idattach-sources/id phasepackage/phase goals goaljar-no-fork/goal goaltest-jar-no-fork/goal /goals /execution /executions /plugin {code} When I deleted the entire *executions* element it worked fine. This does not happen in 3.2.1 or 3.2.2. 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)
[jira] (MNG-5684) deployment happens twice
[ https://jira.codehaus.org/browse/MNG-5684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=352195#comment-352195 ] Tobias Stoeckmann commented on MNG-5684: It was a left-over of an initial Jenkins setup, in which deploy was just added among the other targets. Thanks for pointing out that it's expected behaviour, although I have to repeat that there are changes between 3.2.2 and 3.2.3. In 3.2.3, the deployment of javadoc and source jars happens twice, as they are probably installed twice if I understand you correctly. Yet it's just more of an info, it breaks a call that is already broken for issuing install twice. 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)
[jira] (MNG-5684) deployment happens twice
[ https://jira.codehaus.org/browse/MNG-5684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Scholte updated MNG-5684: Component/s: Plugins and Lifecycle 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)
[jira] (MNG-5684) deployment happens twice
[ https://jira.codehaus.org/browse/MNG-5684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Scholte updated MNG-5684: Labels: (was: 3.2.3 deploy deployment regression twice) 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)
[jira] (MNG-5684) deployment happens twice
[ https://jira.codehaus.org/browse/MNG-5684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Scholte updated MNG-5684: Component/s: Deployment 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)
[jira] (MNG-5684) deployment happens twice
[ https://jira.codehaus.org/browse/MNG-5684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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)
[jira] (MNG-5684) deployment happens twice
[ https://jira.codehaus.org/browse/MNG-5684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason van Zyl closed MNG-5684. -- Resolution: Cannot Reproduce 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)
[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)
[jira] (MNG-5684) deployment happens twice
[ https://jira.codehaus.org/browse/MNG-5684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Stoeckmann updated MNG-5684: --- Labels: 3.2.3 deploy deployment regression twice (was: ) 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 Labels: 3.2.3, deploy, deployment, regression, twice 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)