You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Antoine Toulme (JIRA)" <ji...@apache.org> on 2016/08/16 14:50:22 UTC

[jira] [Resolved] (BUILDR-642) individual repositories for snapshots and releases

     [ https://issues.apache.org/jira/browse/BUILDR-642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme resolved BUILDR-642.
-----------------------------------
    Resolution: Won't Fix

This has already been implemented and is documented at:
http://buildr.apache.org/packaging.html#install_upload

{quote}
If you have separate repositories for releases and snapshots, you can specify them accordingly. Buildr takes care of picking the correct one.

repositories.release_to = 'sftp://john:secret@release/usr/share/repo/releases'
repositories.snapshot_to = 'sftp://john:secret@release/usr/share/repo/snapshots'
{quote}

See BUILDR-679 for the work.

> 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
>            Assignee: Antoine Toulme
>             Fix For: 1.5
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)