karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Siano (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5165) Custom Distributions: Pax-Web gets installed twice
Date Wed, 31 May 2017 08:57:04 GMT

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

Stephan Siano commented on KARAF-5165:
--------------------------------------

I don't really understand the dependency resolution here. There are two pax-web repositories
available, one that I import directly (6.0.4) and one that is imported as part of the standard
karaf features (6.0.3). The pax-web features define dependencies, but they don't define versions
for them. Now it seems that the dependency resolution of karaf installs ALL available dependencies
(not only one of them). What I don't understand at all is why it also installs pax-jetty and
pax-http-jetty.

> Custom Distributions: Pax-Web gets installed twice
> --------------------------------------------------
>
>                 Key: KARAF-5165
>                 URL: https://issues.apache.org/jira/browse/KARAF-5165
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 4.1.1
>            Reporter: Stephan Siano
>            Priority: Minor
>         Attachments: pom.xml
>
>
> When I create a custom distribution with the attached pom, which tries to exchange Pax-Web
with a newer version, Pax-Web gets installed twice:
> {noformat}
> karaf@root()> feature:list -i
> Name                | Version          | Required | State   | Repository            
 | Description
> --------------------+------------------+----------+---------+-------------------------+--------------------------------------------------
> pax-jetty           | 9.3.14.v20161028 |          | Started | org.ops4j.pax.web-6.0.4
| Provide Jetty engine support
> pax-http-jetty      | 6.0.4            |          | Started | org.ops4j.pax.web-6.0.4
|
> pax-http            | 6.0.4            |          | Started | org.ops4j.pax.web-6.0.4
| Implementation of the OSGI HTTP Service
> pax-http-whiteboard | 6.0.4            |          | Started | org.ops4j.pax.web-6.0.4
| Provide HTTP Whiteboard pattern support
> pax-war             | 6.0.4            |          | Started | org.ops4j.pax.web-6.0.4
| Provide support of a full WebContainer
> pax-http-tomcat     | 6.0.4            |          | Started | org.ops4j.pax.web-6.0.4
| Provide Tomcat support
> pax-war-tomcat      | 6.0.4            | x        | Started | org.ops4j.pax.web-6.0.4
|
> aries-proxy         | 4.1.1            |          | Started | standard-4.1.1        
 | Aries Proxy
> aries-blueprint     | 4.1.1            |          | Started | standard-4.1.1        
 | Aries Blueprint
> feature             | 4.1.1            |          | Started | standard-4.1.1        
 | Features Support
> shell               | 4.1.1            |          | Started | standard-4.1.1        
 | Karaf Shell
> shell-compat        | 4.1.1            |          | Started | standard-4.1.1        
 | Karaf Shell Compatibility
> deployer            | 4.1.1            |          | Started | standard-4.1.1        
 | Karaf Deployer
> bundle              | 4.1.1            |          | Started | standard-4.1.1        
 | Provide Bundle support
> config              | 4.1.1            |          | Started | standard-4.1.1        
 | Provide OSGi ConfigAdmin support
> diagnostic          | 4.1.1            |          | Started | standard-4.1.1        
 | Provide Diagnostic support
> instance            | 4.1.1            |          | Started | standard-4.1.1        
 | Provide Instance support
> jaas                | 4.1.1            |          | Started | standard-4.1.1        
 | Provide JAAS support
> log                 | 4.1.1            |          | Started | standard-4.1.1        
 | Provide Log support
> package             | 4.1.1            |          | Started | standard-4.1.1        
 | Package commands and mbeans
> service             | 4.1.1            |          | Started | standard-4.1.1        
 | Provide Service support
> system              | 4.1.1            |          | Started | standard-4.1.1        
 | Provide System support
> kar                 | 4.1.1            |          | Started | standard-4.1.1        
 | Provide KAR (KARaf archive) support
> ssh                 | 4.1.1            |          | Started | standard-4.1.1        
 | Provide a SSHd server on Karaf
> management          | 4.1.1            |          | Started | standard-4.1.1        
 | Provide a JMX MBeanServer and a set of MBeans in
> eventadmin          | 4.1.1            | x        | Started | standard-4.1.1        
 | OSGi Event Admin service specification for event-
> scr                 | 4.1.1            |          | Started | standard-4.1.1        
 | Declarative Service support
> wrap                | 0.0.0            |          | Started | standard-4.1.1        
 | Wrap URL handler
> standard            | 4.1.1            | x        | Started | standard-4.1.1        
 | Wrap feature describing all features part of a st
> pax-jetty           | 9.3.14.v20161028 |          | Started | org.ops4j.pax.web-6.0.3
| Provide Jetty engine support
> pax-http-jetty      | 6.0.3            |          | Started | org.ops4j.pax.web-6.0.3
|
> pax-http-whiteboard | 6.0.3            |          | Started | org.ops4j.pax.web-6.0.3
| Provide HTTP Whiteboard pattern support
> pax-war             | 6.0.3            |          | Started | org.ops4j.pax.web-6.0.3
| Provide support of a full WebContainer
> pax-http-tomcat     | 6.0.3            |          | Started | org.ops4j.pax.web-6.0.3
| Provide Tomcat support
> {noformat}
> A workaround would be to uncomment the tree lines in the pom and explicitly add almost
all dependent Pax-Web features to the distribution.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message