Based on an issue Joern raised about the need to disable deploying from Jenkins CI to Apache Nexus snapshot directory, during release work -
This new plugin should deploy Snapshots (and only Snapshots). To test this, I've enabled this on the UIMA-AS builds. If this is wrong, please revert. -Marshall -------- Original Message -------- Subject: [jira] Closed: (INFRA-3484) Add plugin to conditionally deploy SNAPSHOTs (only) to Apache Nexus snapshot repo Date: Thu, 3 Mar 2011 07:36:37 +0000 (UTC) From: Niklas Gustavsson (JIRA) <[email protected]> To: [email protected] *Issue* (*View Online <https://issues.apache.org/jira/browse/INFRA-3484>*) *Key:* INFRA-3484 <https://issues.apache.org/jira/browse/INFRA-3484> Issue Type: Improvement <https://issues.apache.org/jira/browse/INFRA-3484> Improvement Status: Closed Closed Priority: Minor Minor Resolution: Fixed Assignee: Niklas Gustavsson <https://issues.apache.org/jira/secure/ViewProfile.jspa?name=niklas> Reporter: Marshall Schor <https://issues.apache.org/jira/secure/ViewProfile.jspa?name=schor> Operations *View all <https://issues.apache.org/jira/browse/INFRA-3484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel>* *View comments <https://issues.apache.org/jira/browse/INFRA-3484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel>* *View history <https://issues.apache.org/jira/browse/INFRA-3484?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel>* *Add plugin to conditionally deploy SNAPSHOTs (only) to Apache Nexus snapshot repo <https://issues.apache.org/jira/browse/INFRA-3484>* Updated: 03/Mar/11 07:36 Created: 02/Mar/11 16:33 Resolved: 03/Mar/11 07:36 The following issue has been closed. *User:* Niklas Gustavsson <https://issues.apache.org/jira/secure/ViewProfile.jspa?name=niklas> *Date:* 03/Mar/11 07:36 *Comment:* Plugin installed *Project:* Infrastructure <https://issues.apache.org/jira/browse/INFRA> *Components:* Hudson *Security Level:* *public* (Regular issues) Description There currently is a post-build setting for maven projects which, if checked, deploys the results to a repository. We want to do this only for Snapshots. Because of the way the Maven release plugin works (it updates the POMs in trunk from Snapshot to not-snapshot, tags that, and then updates the poms to the next development level), there is a (quite small) chance that the Hudson build could be triggered right after the poms were updated to the non-snapshot version, and the build would be done with this. If this happened, we would like the deploy (of this non-snapshot build) to *not* happen to the Apache Nexus snapshot directory. If this already is prevented (perhaps by the Nexus configuration?) then please indicate, and close this issue. Otherwise, googling found a plugin for Hudson which checks to insure builds are snapshot builds, and won't deploy if they are non-snapshot builds; the plugin is here: http://code.google.com/p/maven-hudson-ext-plugin/ If possible, see if installing this plugin adds a post-build item to deploy SNAPSHOTs (only) to the list of actions, and works appropriately. This message was automatically generated by Atlassian JIRA <http://www.atlassian.com/c/JIRA/10140> Enterprise Edition, Version: 4.2.2-b589-589 - Bug/feature request <http://jira.atlassian.com/default.jsp?clicked=footer>. If you think it was sent incorrectly, contact one of this server's administrators .
