Skip to content

Commit f14747a

Browse files
committed
Fix repository setup.
Avoid lookups for releases from snapshot repositories and vice versa.
1 parent 643b274 commit f14747a

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

pom.xml

+15-3
Original file line numberDiff line numberDiff line change
@@ -159,17 +159,23 @@
159159
<id>central</id>
160160
<name>Maven Central</name>
161161
<url>https://repo1.maven.org/maven2/</url>
162+
<snapshots>
163+
<enabled>false</enabled>
164+
</snapshots>
162165
</repository>
163166
<repository>
164167
<id>spring-milestone</id>
165168
<url>https://repo.spring.io/milestone</url>
169+
<snapshots>
170+
<enabled>false</enabled>
171+
</snapshots>
166172
</repository>
167173
<repository>
168174
<id>spring-snapshot</id>
169175
<url>https://repo.spring.io/snapshot</url>
170-
<snapshots>
171-
<enabled>true</enabled>
172-
</snapshots>
176+
<releases>
177+
<enabled>false</enabled>
178+
</releases>
173179
</repository>
174180
</repositories>
175181

@@ -178,10 +184,16 @@
178184
<id>central</id>
179185
<name>Maven Central</name>
180186
<url>https://repo1.maven.org/maven2/</url>
187+
<snapshots>
188+
<enabled>false</enabled>
189+
</snapshots>
181190
</pluginRepository>
182191
<pluginRepository>
183192
<id>spring-milestone</id>
184193
<url>https://repo.spring.io/milestone/</url>
194+
<snapshots>
195+
<enabled>false</enabled>
196+
</snapshots>
185197
</pluginRepository>
186198
</pluginRepositories>
187199

0 commit comments

Comments
 (0)