How to proxy spring milestone repo using nexus
开发者_StackOverflow中文版I want to proxy the spring milestone repository using nexus.
Can anybody tell me the correct url to use.
Sure. This is it:
<repository>
<id>org.springframework.maven.milestone</id>
<name>Maven Central Compatible Spring Milestone Repository</name>
<url>http:// maven.springframework.org/milestone</url>
</repository>
For reference, see this blog post: Obtaining Spring 3 Artifacts with Maven
Answer from Sean is good, but you should try with https
, because for me with http
gives 403:
<repository>
<id>org.springframework.maven.milestone</id>
<name>Maven Central Compatible Spring Milestone Repository</name>
<url>https://maven.springframework.org/milestone</url>
</repository>
A move is being made from HTTP to HTTPS for all major maven repos:
https://www.alphabot.com/security/blog/2020/java/Your-Java-builds-might-break-starting-January-13th.html
精彩评论