|
Re: P2 repositories intermittent failures [message #1796605 is a reply to message #1796597] |
Tue, 16 October 2018 13:03 |
Eclipse User |
|
|
|
My suggestion is to set up a Nexus OSS repository and proxy the repositories. Vogella has a tutorial with the details.
Your developers configure their ~/.m2/settings.xml to reference the proxy.
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors>
<mirror>
<id>nexus-eclipse-photon</id>
<mirrorOf>photon,eclipse-photon,http://download.eclipse.org/releases/photon</mirrorOf>
<url>http://nexus.example.com:8081/nexus/content/repositories/eclipse-photon</url>
<layout>p2</layout>
<mirrorOfLayouts>p2</mirrorOfLayouts>
</mirror>
</mirrors>
</settings>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03633 seconds