https://github.com/hamcrest/JavaHamcrest/blob/master/CHANGES.md#version-21-21st-december-2018
Change-Id: I6a1bfc069aeb7444cec0e24115ca8a6f4a9fbb18
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-core</artifactId>
+ <artifactId>hamcrest</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-core</artifactId>
+ <artifactId>hamcrest</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
have to be repeated here so that the Embed-Dependency below for maven-bundle-plugin works: -->
<dependency>
<groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-core</artifactId>
+ <artifactId>hamcrest</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
- <Embed-Dependency>bundles4-test;inline=true,awaitility;inline=true,hamcrest-core;inline=true</Embed-Dependency>
+ <Embed-Dependency>bundles4-test;inline=true,awaitility;inline=true,hamcrest;inline=true</Embed-Dependency>
<!-- same as in bundles4-test/pom.xml: -->
<Import-Package>!net.sf.cglib.proxy,!org.objenesis,*</Import-Package>
</instructions>
<type>pom</type>
<version>2.25.1</version>
</dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest</artifactId>
+ </dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<links>
<link>https://junit.org/junit4/javadoc/4.11</link>
<link>http://www.atetric.com/atetric/javadoc/junit/junit/4.11</link>
- <link>http://hamcrest.org/JavaHamcrest/javadoc/1.3</link>
+ <link>http://hamcrest.org/JavaHamcrest/javadoc/2.1</link>
<link>http://google.github.io/truth/api/0.43</link>
<link>https://www.slf4j.org/apidocs</link>
<link>https://xerces.apache.org/xerces2-j/javadocs/api</link>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-core</artifactId>
+ <artifactId>hamcrest</artifactId>
<!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
- <version>1.3</version>
+ <version>2.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-core</artifactId>
+ <version>2.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
- <version>1.3</version>
+ <version>2.1</version>
<scope>test</scope>
</dependency>
<dependency>
<!--
Unit tests can use JUnit + Mockito + Hamcrest by default.
-->
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <!-- This dependency needs to come before junit until we upgrade to JUnit 5. -->
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-library</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>