[ 
https://issues.apache.org/jira/browse/CASSANDRA-19810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17869997#comment-17869997
 ] 

Josh McKenzie commented on CASSANDRA-19810:
-------------------------------------------

[~mck] and [~brandon.williams] - what are the chances we have something in ccm, 
dtest, or our ci stack that relies on the text string of the snapshot server 
that this would break?

Worked with [~drohrer] on this one; the resolver ant task was effectively 
steamrolling everything when a mirror was specified since the remote 
repositories in the project overwrite whatever repositories are considered at a 
system level (mirrors in maven don't differentiate between snapshot releases 
and release releases the way repository config entries do).

 

Cleaning this up makes it much simpler and more direct to either exclude a repo 
from a mirror or to configure a build.properties with the various artifact 
repository redirects you need to build without hammering maven central or 
directly on the apache snapshot artifacts.

> Add snapshot repo aliasing to build.properties.default and build-resolver.xml
> -----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-19810
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19810
>             Project: Cassandra
>          Issue Type: Task
>          Components: Build
>            Reporter: Josh McKenzie
>            Assignee: Josh McKenzie
>            Priority: Normal
>         Attachments: fix_snapshot_repo.diff
>
>
> Currently {{resolver-apache-snapshot}} is hard-coded in 
> {{build-resolver.xml}} and overriding it isn't supported in 
> {{build.properties.default}}. Further, the comment on that repository in 
> {{build-resolver.xml}} is... rather confusing, since it states we don't 
> support it and to uncomment it out if you need it, but then it's already 
> uncommented out.
> We should just support aliasing the snapshot repo the way we do the others.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to