You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@infra.apache.org by "Niklas Gustavsson (JIRA)" <ji...@apache.org> on 2011/03/03 08:36:37 UTC
[jira] Closed: (INFRA-3484) Add plugin to conditionally deploy
SNAPSHOTs (only) to Apache Nexus snapshot repo
[ https://issues.apache.org/jira/browse/INFRA-3484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson closed INFRA-3484.
------------------------------------
Resolution: Fixed
Assignee: Niklas Gustavsson
Plugin installed
> Add plugin to conditionally deploy SNAPSHOTs (only) to Apache Nexus snapshot repo
> ---------------------------------------------------------------------------------
>
> Key: INFRA-3484
> URL: https://issues.apache.org/jira/browse/INFRA-3484
> Project: Infrastructure
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: Hudson
> Reporter: Marshall Schor
> Assignee: Niklas Gustavsson
> Priority: Minor
>
> 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 is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira