mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
Exclude JUnit 4 from Whiteboard and update imports to JUnit 5 (#2534)
* Exclude JUnit 4 from Whiteboard and update imports to JUnit 5 Excludes the transitive JUnit 4 dependency from the Aries JAX-RS Whiteboard. The Whiteboard should not have a compile scope dependency on JUnit so I've created https://github.com/apache/aries-jax-rs-whiteboard/pull/135 to fix this. The wrong scope has resulted in some tests using JUnit 4 imports which is also fixed in this PR. Signed-off-by: Wouter Born <github@maindrain.net> * Add commonly used JUnit 4 classes to forbidden packages Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -137,6 +137,10 @@
|
||||
<version>2.0.0</version>
|
||||
<scope>compile</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.apache.geronimo.specs</groupId>
|
||||
<artifactId>geronimo-annotation_1.3_spec</artifactId>
|
||||
|
||||
@@ -66,6 +66,10 @@
|
||||
<artifactId>org.apache.aries.jax.rs.whiteboard</artifactId>
|
||||
<version>2.0.0</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.apache.geronimo.specs</groupId>
|
||||
<artifactId>geronimo-annotation_1.3_spec</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user