docker-crash-course icon indicating copy to clipboard operation
docker-crash-course copied to clipboard

Remove all repository entries from your example project pom files

Open khmarbaise opened this issue 4 years ago • 1 comments

In more or less all of your project you defined repositories like this:

	<repositories>
		<repository>
			<id>spring-snapshots</id>
			<name>Spring Snapshots</name>
			<url>https://repo.spring.io/snapshot</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</repository>
		<repository>
			<id>spring-milestones</id>
			<name>Spring Milestones</name>
			<url>https://repo.spring.io/milestone</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>
	</repositories>

	<pluginRepositories>
		<pluginRepository>
			<id>spring-snapshots</id>
			<name>Spring Snapshots</name>
			<url>https://repo.spring.io/snapshot</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</pluginRepository>
		<pluginRepository>
			<id>spring-milestones</id>
			<name>Spring Milestones</name>
			<url>https://repo.spring.io/milestone</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</pluginRepository>
	</pluginRepositories>

If you are not using milestone versions there are not needed cause the GA releases of Spring boot are available via Central repository.

khmarbaise avatar Mar 21 '20 12:03 khmarbaise

That's right 👍

ramazansakin avatar Jul 06 '20 10:07 ramazansakin