[
https://issues.apache.org/jira/browse/BUILDR-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288305#comment-13288305
]
Alex Boisvert commented on BUILDR-642:
--------------------------------------
Two comments,
1) Just for reference, this has been discussed before (though not implemented
yet) here:
http://buildr.markmail.org/thread/ihf4nlomzluyfds5
2) Remember that you have full access to Ruby language in your buildfile so in
the mean time you can do things like,
if VERSION =~ /SNAPSHOT/
repositories.release_to[:url] = ...
else
repositories.release_to[:url] = ...
end
> 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