mirror of https://github.com/apache/maven.git
[MNG-7818] Removed exclusion of hamcrest from JUnit 4 (#1178)
Fix hamcrest versiob to 2.2 but do not remove transitive dep for downstream consumers. ---- https://issues.apache.org/jira/browse/MNG-7818
This commit is contained in:
parent
917e9561cf
commit
b050257c05
15
pom.xml
15
pom.xml
|
@ -133,6 +133,7 @@ under the License.
|
||||||
<commonsIoVersion>2.11.0</commonsIoVersion>
|
<commonsIoVersion>2.11.0</commonsIoVersion>
|
||||||
<commonsLangVersion>3.12.0</commonsLangVersion>
|
<commonsLangVersion>3.12.0</commonsLangVersion>
|
||||||
<junitVersion>4.13.2</junitVersion>
|
<junitVersion>4.13.2</junitVersion>
|
||||||
|
<hamcrestVersion>2.2</hamcrestVersion>
|
||||||
<mockitoVersion>4.11.0</mockitoVersion>
|
<mockitoVersion>4.11.0</mockitoVersion>
|
||||||
<!-- plexus 2.1.1 is broken, no new release exists yet (nor will exist) -->
|
<!-- plexus 2.1.1 is broken, no new release exists yet (nor will exist) -->
|
||||||
<plexusVersion>2.1.0</plexusVersion>
|
<plexusVersion>2.1.0</plexusVersion>
|
||||||
|
@ -525,7 +526,13 @@ under the License.
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.hamcrest</groupId>
|
<groupId>org.hamcrest</groupId>
|
||||||
<artifactId>hamcrest</artifactId>
|
<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>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -533,12 +540,6 @@ under the License.
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
<version>${junitVersion}</version>
|
<version>${junitVersion}</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
<exclusions>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.hamcrest</groupId>
|
|
||||||
<artifactId>hamcrest-core</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<!--bootstrap-start-comment-->
|
<!--bootstrap-start-comment-->
|
||||||
|
|
Loading…
Reference in New Issue