maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naman Nigam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MJDEPS-11) Logging jdeps Errors as INFO
Date Sat, 28 Oct 2017 07:03:00 GMT

    [ https://issues.apache.org/jira/browse/MJDEPS-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16223290#comment-16223290
] 

Naman Nigam commented on MJDEPS-11:
-----------------------------------

Though I am unable to delete the JIRA, but it seems like this has nothing to do with the plugin
but the tool needs a flag for `--multi-release` jars.

> 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)

Mime
View raw message