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

Gili commented on SSHD-1091:
----------------------------

The hardest problem to solve is the split packages. The most straightforward 
way would be to assign each artifact a unique package (e.g. move all packages 
of sshd-core under org.apache.sshd.core, all packages of sshd-common under 
org.apache.sshd.common and so on) but this will break backwards compatibility. 
Another approach would be to merge any artifacts that split a package. This 
would retain the same package names but the artifacts would change (this would 
be a lesser breakage of backwards compatibility but might reduce the modularity 
of the library).

There are many possibilities. Once you decide which way you want to proceed, we 
can move forward.

> Java Module support
> -------------------
>
>                 Key: SSHD-1091
>                 URL: https://issues.apache.org/jira/browse/SSHD-1091
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 2.5.1
>            Reporter: Gili
>            Priority: Major
>              Labels: important
>
> Please use the mechanism found at 
> https://github.com/apache/maven-compiler-plugin/blob/master/src/it/multirelease-patterns/singleproject-runtime/pom.xml#L102-L108
>  to build multirelease JAR that will provide module-info.java for users of 
> Java 9 and newer.
> The current JAR triggers many problems for users of Java Modules and in fact 
> cannot be used at all in its current state due to 
> https://issues.apache.org/jira/browse/MCOMPILER-436
> This might be a bug in the Maven Compiler plugin but I suspect that 
> ultimately it will a problem with the library itself. For example, I noticed 
> that Apache Mina (which this library depends on) has split packages. Split 
> packages are incompatible with Java Modules.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to