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

Christopher Tubbs commented on THRIFT-5068:
-------------------------------------------

This is likely caused by some dependencies defining their own "repositories" 
section in their own POM, with the insecure Maven Central URL defined in those.

You may be able to fix this in your {{.m2/settings.xml}} by defining a 
"mirrorOf" for any such references in dependency POMs. You'll have to figure 
out all the various names of the repositories defined in the dependencies 
(usually, it's "central" or similar). You could add a "mirrorOf" for {{*}}, but 
that will probably mess up some legitimate ones.

Details on how to configure a mirror are here: 
https://maven.apache.org/guides/mini/guide-mirror-settings.html

And, it is very easy to have a pre-install step place a custom 
{{.m2/settings.xml}} file in Travis CI, too. See, for example: 
https://github.com/apache/accumulo/blob/99e3023c7f96a2553282dc73cffdf82659285d2d/.travis.yml#L34-L36

> CI is broken due to http://repo1.maven.org
> ------------------------------------------
>
>                 Key: THRIFT-5068
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5068
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process
>            Reporter: Duru Can Celasun
>            Priority: Major
>
> Upstream has 
> [removed|https://support.sonatype.com/hc/en-us/articles/360041287334] support 
> for HTTP based access. I've 
> [updated|https://github.com/apache/thrift/commit/70c4e7a7c7b2a2b4146372868702b7ea0d143e05]
>  all references I could find, but the build is [still 
> broken|https://travis-ci.org/apache/thrift/builds/637642594] as we somehow 
> still have references to the HTTP endpoint.
> [~jensg] any ideas?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to