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

陈宝仪 updated LOGGING-165:
------------------------
    Description: 
 Ading modularity headers so that other module can import it

[My project|https://github.com/leonchen83/redis-replicator] using 
commons-logging as dependency. 
When I use maven build my project. shows following warning:

[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ 
redis-replicator ---
[WARNING] 
********************************************************************************************************************
[WARNING] * Required filename-based automodules detected. Please don't publish 
this project to a public artifact repository! *
[WARNING] 
********************************************************************************************************************

The root cause is commons-logging-1.2 is not a standard java 9 module(miss 
module-info.java). 

Env:
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)

  was: Ading modularity headers so that other module can import it


> Java 9 compatibility
> --------------------
>
>                 Key: LOGGING-165
>                 URL: https://issues.apache.org/jira/browse/LOGGING-165
>             Project: Commons Logging
>          Issue Type: Improvement
>    Affects Versions: 1.2
>            Reporter: 陈宝仪
>
>  Ading modularity headers so that other module can import it
> [My project|https://github.com/leonchen83/redis-replicator] using 
> commons-logging as dependency. 
> When I use maven build my project. shows following warning:
> [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ 
> redis-replicator ---
> [WARNING] 
> ********************************************************************************************************************
> [WARNING] * Required filename-based automodules detected. Please don't 
> publish this project to a public artifact repository! *
> [WARNING] 
> ********************************************************************************************************************
> The root cause is commons-logging-1.2 is not a standard java 9 module(miss 
> module-info.java). 
> Env:
> java version "9"
> Java(TM) SE Runtime Environment (build 9+181)
> Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)



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

Reply via email to