[ 
https://issues.apache.org/jira/browse/ARTEMIS-3544?focusedWorklogId=678316&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-678316
 ]

ASF GitHub Bot logged work on ARTEMIS-3544:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Nov/21 21:32
            Start Date: 07/Nov/21 21:32
    Worklog Time Spent: 10m 
      Work Description: brusdev commented on a change in pull request #3823:
URL: https://github.com/apache/activemq-artemis/pull/3823#discussion_r744319165



##########
File path: artemis-hawtio/artemis-plugin/pom.xml
##########
@@ -53,7 +53,7 @@
     <!-- this lets this plugin deploy nicely into karaf, these get used
       for the ImportPackage directive for maven-bundle-plugin -->
     <osgi.import>
-      javax.servlet,
+      javax.servlet;version="2.6",

Review comment:
       ignore my previous comment, 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,∞)`.
   
   [1] 
http://docs.osgi.org/specification/osgi.core/7.0.0/framework.module.html#i3189032




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 678316)
    Time Spent: 20m  (was: 10m)

> 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: 20m
>  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)

Reply via email to