Skip to content

Commit 94056d6

Browse files
authored
Replace public repo with releases repo (#159)
JFrog donates https://repo.jenkins-ci.org for the Jenkins project. They host it and pay all charges associated with that hosting. They've asked us to reduce the https://repo.jenkins-ci.org outbound bandwidth use. One of the reductions is to retrieve released artifacts from their provider repositories instead of using https://repo.jenkins-ci.org/public as a cache of all other repositories. This change removes https://repo.jenkins-ci.org/public from the list of repositories and replaces it with https://repo.jenkins-ci.org/releases/ for the Jenkins released artifacts and with other repositories for their artifacts.
1 parent 9837811 commit 94056d6

File tree

1 file changed

+48
-4
lines changed

1 file changed

+48
-4
lines changed

pom.xml

Lines changed: 48 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,16 +114,60 @@
114114

115115
<repositories>
116116
<repository>
117-
<id>repo.jenkins-ci.org</id>
118-
<url>https://repo.jenkins-ci.org/public/</url>
117+
<id>releases.jenkins.io</id>
118+
<url>https://repo.jenkins-ci.org/releases/</url>
119119
</repository>
120+
<repository>
121+
<id>repo1.maven.org</id>
122+
<url>https://repo1.maven.org/maven2/</url>
123+
</repository>
124+
<repository>
125+
<id>central</id>
126+
<url>https://repo.maven.apache.org/maven2</url>
127+
</repository>
128+
<repository>
129+
<id>repo.eclipse.org</id>
130+
<url>https://repo.eclipse.org/content/repositories/jgit-releases/</url>
131+
</repository>
132+
<repository>
133+
<!-- jbcrypt 1.0.0 -->
134+
<id>jcenter-cache.jenkins.io</id>
135+
<url>https://repo.jenkins-ci.org/jcenter-cache/</url>
136+
</repository>
137+
<!-- Intentionally not included in order to detect missing repositories -->
138+
<!-- <repository> -->
139+
<!-- <id>repo.jenkins-ci.org</id> -->
140+
<!-- <url>https://repo.jenkins-ci.org/public/</url> -->
141+
<!-- </repository> -->
120142
</repositories>
121143

122144
<pluginRepositories>
123145
<pluginRepository>
124-
<id>repo.jenkins-ci.org</id>
125-
<url>https://repo.jenkins-ci.org/public/</url>
146+
<id>releases.jenkins.io</id>
147+
<url>https://repo.jenkins-ci.org/releases/</url>
148+
</pluginRepository>
149+
<pluginRepository>
150+
<id>repo1.maven.org</id>
151+
<url>https://repo1.maven.org/maven2/</url>
152+
</pluginRepository>
153+
<pluginRepository>
154+
<id>central</id>
155+
<url>https://repo.maven.apache.org/maven2</url>
156+
</pluginRepository>
157+
<pluginRepository>
158+
<id>repo.eclipse.org</id>
159+
<url>https://repo.eclipse.org/content/repositories/jgit-releases/</url>
160+
</pluginRepository>
161+
<pluginRepository>
162+
<!-- jbcrypt 1.0.0 -->
163+
<id>jcenter-cache.jenkins.io</id>
164+
<url>https://repo.jenkins-ci.org/jcenter-cache/</url>
126165
</pluginRepository>
166+
<!-- Intentionally not included in order to detect missing repositories -->
167+
<!-- <pluginRepository> -->
168+
<!-- <id>repo.jenkins-ci.org</id> -->
169+
<!-- <url>https://repo.jenkins-ci.org/public/</url> -->
170+
<!-- </pluginRepository> -->
127171
</pluginRepositories>
128172

129173
<build>

0 commit comments

Comments
 (0)