[
https://issues.apache.org/jira/browse/SSHD-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17215179#comment-17215179
]
Lyor Goldstein commented on SSHD-1092:
--------------------------------------
{quote}
it would be better if they didn't have any OSGi metadata at all, or at least
if they included the special requirement
osgi.compile.time.only;filter:="(&(must.not.resolve=*)(!(must.not.resolve=*)))"
to make it clear that they are not intended to resolve.
{quote}
Thanks for the suggestion - I am not familiar with OSGi so can you provide
some link/hint as to you meant by this. What information should we strip from
the JAR(s) ? Where should we add the requirement filter you mention ? Something
in the manifest ?
> Split package causing use conflict in OSGi
> ------------------------------------------
>
> Key: SSHD-1092
> URL: https://issues.apache.org/jira/browse/SSHD-1092
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 2.5.1
> Environment: Windows 10
> Eclipse 2020-09
> Bndtools 5.3.0 snapshot
> Reporter: Fr Jeremy Krieg
> Priority: Major
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> I started trying to use the sshd modules in an OSGi project.
> I discovered that there is a split package - the package
> {{org.apache.sshd.common}} is present and exported in both
> {{org.apache.sshd.core}} and {{org.apache.sshd.common}}. Core depends on the
> package {{org.apache.sshd.client.hosts}}, which has a uses constraint on the
> {{org.apache.sshd.common}} package. Because this package is exported by both
> the core and client packages, the resolver is unable to resolve the core
> bundle.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]