Skip to content

Commit

Permalink
Applies some fixes after latest dependency updates:
Browse files Browse the repository at this point in the history
- Downgrade JSON Mini Dev for Examples
- Downgrade TestNG as 7.5.x is required by the MP TCK Tests (atm, did not dig into it)
- Declare commons-lang3 in some examples explicitly to avoid classpath confusion
  • Loading branch information
rzo1 committed Aug 13, 2024
1 parent 5f47ba1 commit ab4d42e
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ public void validate() throws Exception {
assertNotNull("Response shouldn't be null", output);
assertTrue("Output should contain: " + "It works!" + "\n" + output, output.contains("It works!"));
assertTrue("Output should contain: " + "Logger Factory: org.slf4j.jul.JDK14LoggerFactory" + "\n" + output, output.contains("Logger Factory: org.slf4j.jul.JDK14LoggerFactory"));
assertTrue("Output should contain: " + "slf4j-jdk14-2.0.12.jar" + "\n" + output, output.contains("slf4j-jdk14-2.0.12.jar"));
assertTrue("Output should contain: " + "slf4j-jdk14-2.0.16.jar" + "\n" + output, output.contains("slf4j-jdk14-2.0.16.jar"));
}
}
2 changes: 1 addition & 1 deletion examples/mp-rest-jwt-jwk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<dependency>
<groupId>net.minidev</groupId>
<artifactId>json-smart</artifactId>
<version>2.5.1</version>
<version>1.3.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion examples/mp-rest-jwt-principal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
<dependency>
<groupId>net.minidev</groupId>
<artifactId>json-smart</artifactId>
<version>2.5.1</version>
<version>1.3.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion examples/mp-rest-jwt-public-key/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
<dependency>
<groupId>net.minidev</groupId>
<artifactId>json-smart</artifactId>
<version>2.5.1</version>
<version>1.3.1</version>
<scope>test</scope>
</dependency>

Expand Down
6 changes: 6 additions & 0 deletions examples/resources-jmx-example/resources-jmx-ejb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@
<version>1.9.1.Final</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.15.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tomee</groupId>
<artifactId>ziplock</artifactId>
Expand Down
7 changes: 7 additions & 0 deletions tck/microprofile-tck/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<!-- This version is needed for MP TCK to work -->
<version>7.5.1</version>
<scope>test</scope>
</dependency>
<!-- Micro Profile TCK -->
<dependency>
<groupId>org.eclipse.microprofile.config</groupId>
Expand Down

0 comments on commit ab4d42e

Please sign in to comment.