]> source.dussan.org Git - pf4j.git/commitdiff
Update module-info.java (#426)
authorDecebal Suiu <decebal.suiu@gmail.com>
Sun, 4 Apr 2021 09:23:38 +0000 (12:23 +0300)
committerGitHub <noreply@github.com>
Sun, 4 Apr 2021 09:23:38 +0000 (12:23 +0300)
pf4j/src/main/java/module-info.java
pom.xml

index 754b9b81435e63bdea68595b4d0c472b306ee40a..55b616919363da54f075cabe503aea3ef8ae71fc 100644 (file)
@@ -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 398ff596118454c8e99f71a252fe58e867f95042..5b597b04956e0f44c55e00e24a84ac0e39206976 100644 (file)
--- 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>