You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@apache.org> on 2018/02/21 21:51:00 UTC

[jira] [Closed] (MJDEPS-11) Introduce --multi-release option

     [ https://issues.apache.org/jira/browse/MJDEPS-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MJDEPS-11.
--------------------------------
       Resolution: Fixed
         Assignee: Robert Scholte
    Fix Version/s: 3.1.1

Fixed in [8d700b4b95a2d89706786169f999f5d63405f33c|https://gitbox.apache.org/repos/asf?p=maven-jdeps-plugin.git;a=commit;h=8d700b4b95a2d89706786169f999f5d63405f33c]

> Introduce --multi-release option
> --------------------------------
>
>                 Key: MJDEPS-11
>                 URL: https://issues.apache.org/jira/browse/MJDEPS-11
>             Project: Maven JDeps Plugin
>          Issue Type: New Feature
>            Reporter: Naman Nigam
>            Assignee: Robert Scholte
>            Priority: Minor
>             Fix For: 3.1.1
>
>
> 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 
> {{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 
> {noformat}
> 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'
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)