When including the latest Spring Hateoas Starter, Maven is downloading the incorrect Spring Hateoas.
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-hateoas</artifactId>
<version>2.2.0.M1</version>
</dependency>
When I run the maven dependency tree I get the following:
> mvn dependency:tree | grep hateoas
INFO] +- org.springframework.boot:spring-boot-starter-hateoas:jar:2.2.0.M1:compile
[INFO] | +- org.springframework.hateoas:spring-hateoas:jar:0.25.1.RELEASE:compile
This doesn't seem correct as the POM lists 1.0.0.M1 as the version to include: Spring Hateoas Starter POM
I have attempted to purge the cache and have manually removed the cache and then run mvn -U. The outcome is always the same.
Additional information:
Apache Maven 3.5.4 (Red Hat 3.5.4-4)
Maven home: /usr/share/maven
Java version: 1.8.0_201, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.fc29.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.20.14-200.fc29.x86_64", arch: "amd64", family: "unix"
<repositories>
<repository>
<id>repository.spring.milestone</id>
<name>Spring Milestone Repository</name>
<url>http://repo.spring.io/milestone</url>
</repository>
</repositories>