* Java 3590 (#11367) * JAVA-3590: updating junit-jupiter dependency in the main pom.xml * resolving unnecessary mockito stubbings exception * adding junit-bom in dependency management * fixing tests which were not getting discovered * Revert "fixing tests which were not getting discovered" This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263. * fixing tests in ninja, open-liberty and spring-ejb * removing junit4 dependency and replacing it with junit-vintage-engine * removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda * removing junit dependency and replacing it with junit-vintage-engine * removing junit and replacing it with junit-vintage-engine * fixing tests that were not getting discovered due to old version of junit:junit * updated failsafe plugin configuration to skip integration tests in blade * fixing tests that were not getting discovered due to old version of junit:junit * fixing tests in libraries and libraries-2 modules Co-authored-by: chaos2418 <> * Java 3590 - fixing integration tests in restx and spring-5-webflux (#11382) * JAVA-3590: updating junit-jupiter dependency in the main pom.xml * resolving unnecessary mockito stubbings exception * adding junit-bom in dependency management * fixing tests which were not getting discovered * Revert "fixing tests which were not getting discovered" This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263. * fixing tests in ninja, open-liberty and spring-ejb * removing junit4 dependency and replacing it with junit-vintage-engine * removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda * removing junit dependency and replacing it with junit-vintage-engine * removing junit and replacing it with junit-vintage-engine * fixing tests that were not getting discovered due to old version of junit:junit * updated failsafe plugin configuration to skip integration tests in blade * fixing tests that were not getting discovered due to old version of junit:junit * fixing tests in libraries and libraries-2 modules * fixing integration tests in restx and spring-5-webflux Co-authored-by: chaos2418 <> Co-authored-by: chaos2418 <92030908+chaos2418@users.noreply.github.com>
This commit is contained in:
@@ -32,11 +32,13 @@
|
||||
<artifactId>javaee-api</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- https://mvnrepository.com/artifact/org.apache.tomee/tomee-embedded -->
|
||||
<dependency>
|
||||
<groupId>org.apache.openejb</groupId>
|
||||
<groupId>org.apache.tomee</groupId>
|
||||
<artifactId>tomee-embedded</artifactId>
|
||||
<version>${tomee-embedded.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-context</artifactId>
|
||||
@@ -78,6 +80,18 @@
|
||||
<artifactId>arquillian-junit-container</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.vintage</groupId>
|
||||
<artifactId>junit-vintage-engine</artifactId>
|
||||
<version>${junit-jupiter.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!-- https://mvnrepository.com/artifact/joda-time/joda-time -->
|
||||
<dependency>
|
||||
<groupId>joda-time</groupId>
|
||||
<artifactId>joda-time</artifactId>
|
||||
<version>${joda-time.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<profiles>
|
||||
@@ -174,18 +188,19 @@
|
||||
</build>
|
||||
|
||||
<properties>
|
||||
<arquillian-bom.version>1.1.13.Final</arquillian-bom.version>
|
||||
<tomee-embedded.version>1.7.5</tomee-embedded.version>
|
||||
<glassfish-embedded-all.version>3.1.2</glassfish-embedded-all.version>
|
||||
<arquillian-glassfish-embedded-3.1.version>1.0.0.CR4</arquillian-glassfish-embedded-3.1.version>
|
||||
<arquillian-bom.version>1.6.0.Final</arquillian-bom.version>
|
||||
<tomee-embedded.version>8.0.8</tomee-embedded.version>
|
||||
<glassfish-embedded-all.version>6.2.2</glassfish-embedded-all.version>
|
||||
<arquillian-glassfish-embedded-3.1.version>1.0.2</arquillian-glassfish-embedded-3.1.version>
|
||||
<wildfly.version>8.2.1.Final</wildfly.version>
|
||||
<javax.ejb-api.version>3.2</javax.ejb-api.version>
|
||||
<springframework.version>5.2.3.RELEASE</springframework.version>
|
||||
<activemq.broker.version>5.10.2</activemq.broker.version>
|
||||
<activemq.junit.version>5.13.1</activemq.junit.version>
|
||||
<activemq.broker.version>5.16.3</activemq.broker.version>
|
||||
<activemq.junit.version>5.16.3</activemq.junit.version>
|
||||
<mockito.version>2.21.0</mockito.version>
|
||||
<maven-dependency-plugin.version>2.8</maven-dependency-plugin.version>
|
||||
<wildfly-ejb.version>8.2.1.Final</wildfly-ejb.version>
|
||||
<joda-time.version>2.10.12</joda-time.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
||||
@@ -26,6 +26,14 @@
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<!-- for junit5 to successfully be able to discover junit4 tests, we need 4.12+ version of junit:junit in the classpath. hence forcing the
|
||||
latest 4.13.2 available version for junit5 compatibility -->
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>${junit.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.baeldung.spring.ejb</groupId>
|
||||
<artifactId>spring-ejb-remote</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user