Skip to content

Commit

Permalink
[MNG-7818] Removed exclusion of hamcrest from JUnit 4 (#1178)
Browse files Browse the repository at this point in the history
Fix hamcrest versiob to 2.2 but do not remove transitive dep for downstream consumers.

----

https://issues.apache.org/jira/browse/MNG-7818
  • Loading branch information
lprimak committed Jun 23, 2023
1 parent 917e956 commit b050257
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ under the License.
<commonsIoVersion>2.11.0</commonsIoVersion>
<commonsLangVersion>3.12.0</commonsLangVersion>
<junitVersion>4.13.2</junitVersion>
<hamcrestVersion>2.2</hamcrestVersion>
<mockitoVersion>4.11.0</mockitoVersion>
<!-- plexus 2.1.1 is broken, no new release exists yet (nor will exist) -->
<plexusVersion>2.1.0</plexusVersion>
Expand Down Expand Up @@ -525,20 +526,20 @@ under the License.
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>2.2</version>
<version>${hamcrestVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>${hamcrestVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junitVersion}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<!--bootstrap-start-comment-->
Expand Down

0 comments on commit b050257

Please sign in to comment.