kordamp / jdeps-gradle-plugin

Run JDeps on a Gradle build
Apache License 2.0
35 stars 10 forks source link

ignoreMissingDeps is ignored #29

Closed altair2010 closed 2 years ago

altair2010 commented 2 years ago

Using ignoreMissingDeps in the configuration don't add parameter --ignore-missing-deps in the jdeps command line.

To test it, use a jar with log4j-api-2.17.2.jar dependency.

Error: Missing dependencies: classes not found from the module path and classpath.
To suppress this error, use --ignore-missing-deps to continue.

log4j-api-2.17.2.jar
   org.apache.logging.log4j.util.Activator            -> org.osgi.framework.AdaptPermission                 not found
   org.apache.logging.log4j.util.Activator            -> org.osgi.framework.AdminPermission                 not found
   org.apache.logging.log4j.util.Activator            -> org.osgi.framework.Bundle                          not found
   org.apache.logging.log4j.util.Activator            -> org.osgi.framework.BundleActivator                 not found
   org.apache.logging.log4j.util.Activator            -> org.osgi.framework.BundleContext                   not found
   org.apache.logging.log4j.util.Activator            -> org.osgi.framework.BundleEvent                     not found
   org.apache.logging.log4j.util.Activator            -> org.osgi.framework.BundleListener                  not found
   org.apache.logging.log4j.util.Activator            -> org.osgi.framework.InvalidSyntaxException          not found
   org.apache.logging.log4j.util.Activator            -> org.osgi.framework.ServiceReference                not found
   org.apache.logging.log4j.util.Activator            -> org.osgi.framework.SynchronousBundleListener       not found
   org.apache.logging.log4j.util.Activator            -> org.osgi.framework.wiring.BundleWire               not found
   org.apache.logging.log4j.util.Activator            -> org.osgi.framework.wiring.BundleWiring             not found
aalmiray commented 2 years ago

Release 0.19.0 has the fix.