开发者

How to proxy spring milestone repo using nexus

开发者 https://www.devze.com 2023-01-19 08:08 出处:网络
开发者_StackOverflow中文版I want to proxy the spring milestone repository using nexus. Can anybody tell me the correct url to use.Sure. This is it:

开发者_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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号