Skip to content

Commit

Permalink
HSEARCH-4061 Clarify the purpose of Maven property 'version.legacy.ju…
Browse files Browse the repository at this point in the history
…nit'

Signed-off-by: Yoann Rodière <yoann@hibernate.org>
  • Loading branch information
yrodiere authored and fax4ever committed Oct 20, 2020
1 parent d1b9d46 commit d0dec76
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion integrationtest/showcase/library/pom.xml
Expand Up @@ -44,10 +44,16 @@
</exclusion>
</exclusions>
</dependency>
<!--
junit-vintage-engine 5.5.2 version does not support junit 4.13.1.
If we try to use it, a parsing error is thrown.
So we downgrade JUnit, so that junit-vintage-engine will handle it.
See https://stackoverflow.com/a/64371503/1812965
-->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${version.legacy.junit}</version>
<version>${version.junit.junit-platform-workaround}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Expand Up @@ -252,8 +252,9 @@
junit-vintage-engine 5.5.2 version does not support junit 4.13.1.
If we try to use it, a parsing error is thrown.
So we downgrade JUnit, so that junit-vintage-engine will handle it.
See https://stackoverflow.com/a/64371503/1812965
-->
<version.legacy.junit>4.13</version.legacy.junit>
<version.junit.junit-platform-workaround>4.13</version.junit.junit-platform-workaround>

<version.org.hamcrest>2.2</version.org.hamcrest>
<version.org.mockito>3.5.13</version.org.mockito>
Expand Down

0 comments on commit d0dec76

Please sign in to comment.