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

Thomas Wolf commented on SSHD-1091:
-----------------------------------

You can use {{sshd-osgi}} instead of {{sshd-core}} and {{{}sshd-common{}}}. A 
bit inconvenient if one uses other bundles (like {{{}sshd-sftp{}}}), too, since 
in a plain maven build one would have to exclude core and common from its 
dependencies and add osgi as dependency explicitly. But it _should_ work. (In a 
pure OSGi build there is no such inconvenience, since the OSGi manifests use 
only package imports.)

> 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
>             Fix For: 3.0.0
>
>
> 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.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to