Skip to content

Commit e6e0cf0

Browse files
committed
Move more repositories to generated settings.xml
1 parent a1f1ab7 commit e6e0cf0

File tree

2 files changed

+52
-58
lines changed

2 files changed

+52
-58
lines changed

.settings-template.xml

+52
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,22 @@
1515
<enabled>false</enabled>
1616
</snapshots>
1717
</repository>
18+
<repository>
19+
<id>spring-milestones</id>
20+
<name>Spring Milestones</name>
21+
<url>http://repo.spring.io/milestone</url>
22+
<snapshots>
23+
<enabled>false</enabled>
24+
</snapshots>
25+
</repository>
26+
<repository>
27+
<id>spring-snapshots</id>
28+
<name>Spring Snapshots</name>
29+
<url>http://repo.spring.io/snapshot</url>
30+
<snapshots>
31+
<enabled>true</enabled>
32+
</snapshots>
33+
</repository>
1834
<repository>
1935
<id>jboss</id>
2036
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
@@ -26,6 +42,24 @@
2642
</snapshots>
2743
</repository>
2844
</repositories>
45+
<pluginRepositories>
46+
<pluginRepository>
47+
<id>spring-milestones</id>
48+
<name>Spring Milestones</name>
49+
<url>http://repo.spring.io/milestone</url>
50+
<snapshots>
51+
<enabled>false</enabled>
52+
</snapshots>
53+
</pluginRepository>
54+
<pluginRepository>
55+
<id>spring-snapshots</id>
56+
<name>Spring Snapshots</name>
57+
<url>http://repo.spring.io/snapshot</url>
58+
<snapshots>
59+
<enabled>true</enabled>
60+
</snapshots>
61+
</pluginRepository>
62+
</pluginRepositories>
2963
</profile>
3064
<profile>
3165
<id>milestone</id>
@@ -50,7 +84,25 @@
5084
<enabled>false</enabled>
5185
</snapshots>
5286
</repository>
87+
<repository>
88+
<id>spring-milestones</id>
89+
<name>Spring Milestones</name>
90+
<url>http://repo.spring.io/milestone</url>
91+
<snapshots>
92+
<enabled>false</enabled>
93+
</snapshots>
94+
</repository>
5395
</repositories>
96+
<pluginRepositories>
97+
<pluginRepository>
98+
<id>spring-milestones</id>
99+
<name>Spring Milestones</name>
100+
<url>http://repo.spring.io/snapshot</url>
101+
<snapshots>
102+
<enabled>false</enabled>
103+
</snapshots>
104+
</pluginRepository>
105+
</pluginRepositories>
54106
</profile>
55107
<profile>
56108
<id>release</id>

spring-boot-parent/pom.xml

-58
Original file line numberDiff line numberDiff line change
@@ -550,67 +550,9 @@
550550
</profile>
551551
<profile>
552552
<id>snapshot</id>
553-
<repositories>
554-
<repository>
555-
<id>spring-milestones</id>
556-
<name>Spring Milestones</name>
557-
<url>http://repo.spring.io/milestone</url>
558-
<snapshots>
559-
<enabled>false</enabled>
560-
</snapshots>
561-
</repository>
562-
<repository>
563-
<id>spring-snapshots</id>
564-
<name>Spring Snapshots</name>
565-
<url>http://repo.spring.io/snapshot</url>
566-
<snapshots>
567-
<enabled>true</enabled>
568-
</snapshots>
569-
</repository>
570-
</repositories>
571-
<pluginRepositories>
572-
<pluginRepository>
573-
<id>spring-milestones</id>
574-
<name>Spring Milestones</name>
575-
<url>http://repo.spring.io/milestone</url>
576-
<snapshots>
577-
<enabled>false</enabled>
578-
</snapshots>
579-
</pluginRepository>
580-
<pluginRepository>
581-
<id>spring-snapshots</id>
582-
<name>Spring Snapshots</name>
583-
<url>http://repo.spring.io/snapshot</url>
584-
<snapshots>
585-
<enabled>true</enabled>
586-
</snapshots>
587-
</pluginRepository>
588-
</pluginRepositories>
589553
</profile>
590554
<profile>
591555
<id>milestone</id>
592-
<activation>
593-
</activation>
594-
<repositories>
595-
<repository>
596-
<id>spring-milestones</id>
597-
<name>Spring Milestones</name>
598-
<url>http://repo.spring.io/milestone</url>
599-
<snapshots>
600-
<enabled>false</enabled>
601-
</snapshots>
602-
</repository>
603-
</repositories>
604-
<pluginRepositories>
605-
<pluginRepository>
606-
<id>spring-milestones</id>
607-
<name>Spring Milestones</name>
608-
<url>http://repo.spring.io/snapshot</url>
609-
<snapshots>
610-
<enabled>false</enabled>
611-
</snapshots>
612-
</pluginRepository>
613-
</pluginRepositories>
614556
<build>
615557
<plugins>
616558
<plugin>

0 commit comments

Comments
 (0)