You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Naman Nigam (JIRA)" <ji...@apache.org> on 2017/10/14 06:42:00 UTC

[jira] [Created] (MJDEPS-11) Logging jdeps Errors as INFO

Naman Nigam created MJDEPS-11:
---------------------------------

             Summary: Logging jdeps Errors as INFO
                 Key: MJDEPS-11
                 URL: https://issues.apache.org/jira/browse/MJDEPS-11
             Project: MJDEPS
          Issue Type: Bug
            Reporter: Naman Nigam
            Priority: Minor


A minimal reproducible example for this has been posted at [Stackoverflow#46662286|https://stackoverflow.com/questions/46662286/error-log4j-api-2-9-0-jar-is-a-multi-release-jar-file-but-multi-release-optio]

Where the `jdeps` tool returns 

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

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'



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)