[
https://issues.apache.org/jira/browse/ARTEMIS-3544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17440093#comment-17440093
]
Domenico Francesco Bruscino commented on ARTEMIS-3544:
------------------------------------------------------
Hi [~graben],
you are right according to the official OSGi specification[1] `if a version
range is specified as a single version, it must be interpreted as the range
[version,∞)`, so ignore my previous comments about version range.
[1]
http://docs.osgi.org/specification/osgi.core/7.0.0/framework.module.html#i3189032
Regards,
Domenico
> HawtIO Plugin OSGi import packages
> ----------------------------------
>
> Key: ARTEMIS-3544
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3544
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: osgi, Web Console
> Affects Versions: 2.19.0
> Reporter: Benjamin Graf
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The build of artemis-plugin (HawtIO plugin) actually generates package import
> of javax.servlet with a narrow version range
> {noformat}javax.servlet;version="[2.6,3)"{noformat}
> even it is build against a 3.0 servlet API dependency. It might be better to
> export it like this
> {noformat}javax.servlet;version="2.6"{noformat} via osgi.import property
--
This message was sent by Atlassian Jira
(v8.20.1#820001)