You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2019/02/08 18:09:00 UTC

[jira] [Commented] (SSHD-888) Maven artefacts sshd-core and sshd-common share common package names.

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

Goldstein Lyor commented on SSHD-888:
-------------------------------------

Until modularization becomes more of a standard, more mature, more widespread and more widely adopted I don't think we want to commit to any changes that might make using the code more difficult - not to mention the very significant overhead of maintaining and testing both modularized and "legacy" packaged code. In other words, I think we should wait and see where the community is going and not where Oracle wants to lead us. Furthermore, we are currently committed only to Java 8 - and until Java 11 becomes our minimum version I don't think it would be wise to venture into the modules ecosystem (I have many reservations about the usability and maintenance of modules for open-source systems...)

For now, I think there are 2 workarounds for this issue
 # use the {{sshd-osgi}} module that combines these 2 modules (in the upcoming 2.2.0 version we will also provide a combined sources artifact).
 # As far as Jigsaw is concerned - one does not have to use modules - the good-old classpath is still there....

> Maven artefacts sshd-core and sshd-common share common package names.
> ---------------------------------------------------------------------
>
>                 Key: SSHD-888
>                 URL: https://issues.apache.org/jira/browse/SSHD-888
>             Project: MINA SSHD
>          Issue Type: Improvement
>            Reporter: Keve Müller
>            Priority: Major
>
> The maven artefacts for SSHD share common package names which make them very hard to use in a Jigsaw modularized project. Jigsaw does not allow modules to have the same package names.
> Suggestion:
> Either join these into a single artefact (simple) or refactor the code to use disjoint package names (hard).
> Additionally, add
> {code:java}
>  Automatic-Module-Name org.apache.sshd{code}
>  to the manifest, to provide for a stable name for the module.
>  



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