Skip to content

Commit 7525303

Browse files
committed
🐛 Added junitx dependency back in
I tried to get rid of it, but I don't want to re-write the server tests and there's no obvious replacement library, so I am putting it back in. This time, it is a managed dependency, so the scope is reduced to just the server tests.
1 parent 6e40e48 commit 7525303

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

rest-services/pom.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
<xerces-version>2.12.2</xerces-version>
102102
<wiremock.version>3.4.2</wiremock.version>
103103
<_4point-hamcrest-matchers.version>0.0.1-SNAPSHOT</_4point-hamcrest-matchers.version>
104+
<junit-addons.version>1.4</junit-addons.version>
104105
</properties>
105106

106107
<build>
@@ -493,6 +494,26 @@
493494
<artifactId>jakarta.xml.bind-api</artifactId>
494495
<version>${jaxb.version}</version>
495496
</dependency>
497+
<dependency>
498+
<groupId>junit-addons</groupId>
499+
<artifactId>junit-addons</artifactId>
500+
<version>${junit-addons.version}</version>
501+
<scope>test</scope>
502+
<exclusions>
503+
<exclusion> <!-- Exclude this really old version of junit that junit-addons depends on -->
504+
<groupId>junit</groupId>
505+
<artifactId>junit</artifactId>
506+
</exclusion>
507+
<exclusion> <!-- Exclude this really old version of xerces that junit-addons depends on -->
508+
<groupId>xerces</groupId>
509+
<artifactId>xercesImpl</artifactId>
510+
</exclusion>
511+
<exclusion> <!-- Exclude this really old version of xerces that junit-addons depends on -->
512+
<groupId>xerces</groupId>
513+
<artifactId>xmlParserAPIs</artifactId>
514+
</exclusion>
515+
</exclusions>
516+
</dependency>
496517
</dependencies>
497518
</dependencyManagement>
498519

rest-services/server/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,5 +234,11 @@
234234
<groupId>commons-io</groupId>
235235
<artifactId>commons-io</artifactId>
236236
</dependency>
237+
<!--Testing -->
238+
<dependency>
239+
<groupId>junit-addons</groupId>
240+
<artifactId>junit-addons</artifactId>
241+
<scope>test</scope>
242+
</dependency>
237243
</dependencies>
238244
</project>

0 commit comments

Comments
 (0)