Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
At the moment the isis-mavendeps-testing defines transitive dependencies on both unittestsupport and integtestsupport.
unittestsupport defines the JMock rule stuff, which depends on junit 4: don't want to change this for now.
for integtestsupport, though, want to force upgrade to junit 5, which also means removing any accidental dependencies on junit:junit:4.x
The following dependency for integ tests works, but think it might be better to define two different mavendeps, one for unit testing and one for integ testing.
<dependency>
<groupId>org.apache.isis.mavendeps</groupId>
<artifactId>isis-mavendeps-testing</artifactId>
<type>pom</type>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.apache.isis.core</groupId>
<artifactId>isis-unittestsupport</artifactId>
</exclusion>
<exclusion>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
</exclusion>
</exclusions>
</dependency>