aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2021-04-04 12:23:38 +0300
committerGitHub <noreply@github.com>2021-04-04 12:23:38 +0300
commita23546db746d5791aa39f02c8fe0538207e0f148 (patch)
tree3e9e188a5911a774cd4a2114a7d224652577e936
parentce3b8cf5029fb4084fad0b87c984fb232333cebf (diff)
downloadpf4j-a23546db746d5791aa39f02c8fe0538207e0f148.tar.gz
pf4j-a23546db746d5791aa39f02c8fe0538207e0f148.zip
Update module-info.java (#426)
-rw-r--r--pf4j/src/main/java/module-info.java6
-rw-r--r--pom.xml4
2 files changed, 5 insertions, 5 deletions
diff --git a/pf4j/src/main/java/module-info.java b/pf4j/src/main/java/module-info.java
index 754b9b8..55b6169 100644
--- a/pf4j/src/main/java/module-info.java
+++ b/pf4j/src/main/java/module-info.java
@@ -26,14 +26,14 @@ module org.pf4j {
// provides javax.annotation
requires java.compiler;
- // provided by the ASM library
- requires org.objectweb.asm;
+ // provided by the ASM library, use "requires static" since it's optional
+ requires static org.objectweb.asm;
// The SLF4J library currently does not provide a module.
// Version 1.8 provides a module called "org.slf4j". But this version is
// currently in beta stage. Therefore I'm not sure, if we already like to
// use it.
- requires slf4j.api;
+ requires org.slf4j;
// The java-semver library currently does not provide a module.
// Maybe we should send them a pull request, that at least they provide an
diff --git a/pom.xml b/pom.xml
index 398ff59..5b597b0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,9 +45,9 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.release>8</maven.compiler.release>
- <slf4j.version>1.7.25</slf4j.version>
+ <slf4j.version>1.7.30</slf4j.version>
<log4j.version>2.13.1</log4j.version>
- <asm.version>7.1</asm.version>
+ <asm.version>9.1</asm.version>
<junit.version>5.4.0</junit.version>
<hamcrest.version>2.1</hamcrest.version>