Uploaded image for project: 'Maven JDeps Plugin'
  1. Maven JDeps Plugin
  2. MJDEPS-11

Introduce --multi-release option

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.1.1
    • None

    Description

      A minimal reproducible example for this has been posted at Stackoverflow#46662286

      Where the `jdeps` tool returns

      Error: log4j-api-2.9.0.jar is a multi-release jar file but --multi-release option is not set

      while the jdeps-plugin finally results into

      bq. INFO] Error: log4j-api-2.9.0.jar is a multi-release jar file but --multi-release option is not set
      bq. [INFO] ------------------------------------------------------------------------
      bq. [INFO] BUILD FAILURE
      bq. [INFO] ------------------------------------------------------------------------
      bq. [INFO] Total time: 3.389 s
      bq. [INFO] Finished at: ...
      bq. [INFO] Final Memory: 12M/41M
      bq. [INFO] ------------------------------------------------------------------------
      bq. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jdeps-plugin:3.1.0:jdkinternals (default) on project maven-jigsaw: 
      bq. [ERROR] Exit code: 2
      bq. [ERROR] Command line was: /bin/sh -c '/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/bin/jdeps' '-cp' '.../.m2/repository/org/apache/logging/log4j/log4j-api/2.9.0/log4j-api-2.9.0.jar' '../maven/target/classes'
      

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            namannigam12 Naman Nigam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: