You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Samael Bate (Jira)" <ji...@apache.org> on 2023/11/14 13:45:00 UTC

[jira] [Commented] (LOGGING-167) [Java-9][JPMS] automatic module cannot be used with jlink: commons.logging

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

Samael Bate commented on LOGGING-167:
-------------------------------------

Can this issue be marked as done now that {{<commons.module.name>org.apache.commons.logging</commons.module.name>}} is defined in the pom:
[https://github.com/apache/commons-logging/blob/c5b3edd5066f42535e336e630526fa6609381c05/pom.xml#L722C5-L722C74]

 

Just needs 1.3 to be released

> [Java-9][JPMS] automatic module cannot be used with jlink: commons.logging
> --------------------------------------------------------------------------
>
>                 Key: LOGGING-167
>                 URL: https://issues.apache.org/jira/browse/LOGGING-167
>             Project: Commons Logging
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: MacOS
> Oracle Linux
>  
>            Reporter: Denis Makogon
>            Priority: Major
>
> I'm building a modular project and one of my modules uses apache http client, so, subsequently, my code depends on commons-logging and when I'm building the jlink-ed JRE, I'm seeing this:
> ```
> [ERROR] Error: automatic module cannot be used with jlink: commons.logging from file:////home/root/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
> ```
> meaning, that commons-logging and few other modules (bits of http package) are not java modules.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)