Adding requires com.fasterxml.jackson.annotation and ebean-test needs jupiter as provided scope

Interesting these changes are required for compilation against Java 11, not required for Java 17+.
This commit is contained in:
Rob Bygrave committed 2022-03-31 09:17:22 +13:00
1 parent 472db65ac6
commit 587d673684
2 files changed
+4 -1

No files matched your search

+2 -1
View File
@@ -246,11 +246,12 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<!-- provided scope for Java 11 compilation (not required for Java 17+) -->
<dependency> <dependency>
<groupId>io.avaje</groupId> <groupId>io.avaje</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<version>1.1</version> <version>1.1</version>
<scope>test</scope> <scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@@ -13,6 +13,7 @@ module io.ebean.test {
requires transitive io.ebean.datasource; requires transitive io.ebean.datasource;
requires transitive io.ebean.core; requires transitive io.ebean.core;
requires transitive io.ebean.ddl.generator; requires transitive io.ebean.ddl.generator;
requires com.fasterxml.jackson.annotation;
requires com.fasterxml.jackson.core; requires com.fasterxml.jackson.core;
requires com.fasterxml.jackson.databind; requires com.fasterxml.jackson.databind;
requires com.fasterxml.jackson.datatype.jsr310; requires com.fasterxml.jackson.datatype.jsr310;
@@ -23,6 +24,7 @@ module io.ebean.test {
requires transitive com.h2database; requires transitive com.h2database;
// support testing // support testing
requires static org.junit.jupiter.api;
requires static jdk.management; requires static jdk.management;
requires static io.avaje.jsr305x; requires static io.avaje.jsr305x;
} }