Return-Path: X-Original-To: apmail-buildr-commits-archive@www.apache.org Delivered-To: apmail-buildr-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EBAFDD913 for ; Tue, 17 Jul 2012 18:23:35 +0000 (UTC) Received: (qmail 29831 invoked by uid 500); 17 Jul 2012 18:23:35 -0000 Delivered-To: apmail-buildr-commits-archive@buildr.apache.org Received: (qmail 29709 invoked by uid 500); 17 Jul 2012 18:23:35 -0000 Mailing-List: contact commits-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@buildr.apache.org Delivered-To: mailing list commits@buildr.apache.org Received: (qmail 29524 invoked by uid 500); 17 Jul 2012 18:23:35 -0000 Delivered-To: apmail-incubator-buildr-commits@incubator.apache.org Received: (qmail 29490 invoked by uid 99); 17 Jul 2012 18:23:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2012 18:23:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 5E8E2140B94 for ; Tue, 17 Jul 2012 18:23:35 +0000 (UTC) Date: Tue, 17 Jul 2012 18:23:35 +0000 (UTC) From: "Damian Monogue (JIRA)" To: buildr-commits@incubator.apache.org Message-ID: <1931926732.65026.1342549415389.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1308441548.31499.1338716063029.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (BUILDR-642) individual repositories for snapshots and releases MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/BUILDR-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416426#comment-13416426 ] Damian Monogue commented on BUILDR-642: --------------------------------------- We use ~/.buildr/buildr.rb for this, in combination with the buildr environment. For release builds we pass -e release, and for nonrelease builds we pass -e integration . Then in ~/.buildr/buildr.rb we case Buildr.environment and set repositories.release_to accordingly. > individual repositories for snapshots and releases > -------------------------------------------------- > > Key: BUILDR-642 > URL: https://issues.apache.org/jira/browse/BUILDR-642 > Project: Buildr > Issue Type: Improvement > Reporter: Michael Nielsen > > We use nexus for maven artifacts. Like other repository managers it require snapshots in one place and releases in another. > My understanding is that buildr use the same URL for both upload (snapshots) and release: > repositories.release_to[:url] > Release simply calls upload in a separate process. What would be nice is to have individual variables for release and upload: > repositories.release_to[:url] > repositories.upload_to[:url] > including username and password. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira