karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-4825) When installing features, order bundles using the wiring
Date Tue, 22 Nov 2016 16:36:58 GMT

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

Guillaume Nodet commented on KARAF-4825:
----------------------------------------

You should add a dependency on the aries-blueprint feature so that it can be installed on
karaf minimal distribution.

Here's the output, which isn't very satisfying.
I think instead of considering bundle wiring, we should consider feature wiring and use it
to order their contained bundles instead.

{code}
  0 │ Active   │   0 │ 5.6.1            │ System Bundle
  1 │ Resolved │   1 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.features/org.apache.karaf.features.extension/4.1.0-SNAPSHOT
  2 │ Active   │   5 │ 2.5.1            │ mvn:org.ops4j.pax.url/pax-url-aether/2.5.1
  3 │ Active   │   8 │ 1.9.1            │ mvn:org.ops4j.pax.logging/pax-logging-api/1.9.1
  4 │ Active   │   8 │ 1.9.1            │ mvn:org.ops4j.pax.logging/pax-logging-log4j2/1.9.1
  5 │ Active   │  10 │ 1.8.12           │ mvn:org.apache.felix/org.apache.felix.configadmin/1.8.12
  6 │ Active   │  11 │ 3.5.6            │ mvn:org.apache.felix/org.apache.felix.fileinstall/3.5.6
  7 │ Active   │  15 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.features/org.apache.karaf.features.core/4.1.0-SNAPSHOT
  8 │ Active   │  30 │ 1.1.5            │ mvn:org.apache.aries.jmx/org.apache.aries.jmx.api/1.1.5
  9 │ Active   │  30 │ 1.1.5            │ mvn:org.apache.aries.jmx/org.apache.aries.jmx.whiteboard/1.1.5
 10 │ Active   │  20 │ 1.1.3            │ mvn:org.apache.aries/org.apache.aries.util/1.1.3
 11 │ Active   │  30 │ 1.1.7            │ mvn:org.apache.aries.jmx/org.apache.aries.jmx.core/1.1.7
 12 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.config/org.apache.karaf.config.core/4.1.0-SNAPSHOT
 13 │ Active   │  26 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.features/4.1.0-SNAPSHOT
 14 │ Active   │  30 │ 3.0.1            │ mvn:org.jline/jline/3.0.1
 15 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.core/4.1.0-SNAPSHOT
 16 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.features/org.apache.karaf.features.command/4.1.0-SNAPSHOT
 17 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.config/4.1.0-SNAPSHOT
 18 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.modules/4.1.0-SNAPSHOT
 19 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.management/org.apache.karaf.management.server/4.1.0-SNAPSHOT
 20 │ Active   │  30 │ 1.14.0           │ mvn:org.fusesource.jansi/jansi/1.14
 21 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.shell/org.apache.karaf.shell.core/4.1.0-SNAPSHOT
 22 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.core/4.1.0-SNAPSHOT
 23 │ Active   │  24 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.kar/4.1.0-SNAPSHOT
 24 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.instance/org.apache.karaf.instance.core/4.1.0-SNAPSHOT
 25 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.command/4.1.0-SNAPSHOT
 26 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.kar/org.apache.karaf.kar.core/4.1.0-SNAPSHOT
 27 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.log/org.apache.karaf.log.core/4.1.0-SNAPSHOT
 28 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.package/org.apache.karaf.package.core/4.1.0-SNAPSHOT
 29 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.service/org.apache.karaf.service.core/4.1.0-SNAPSHOT
 30 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.shell/org.apache.karaf.shell.commands/4.1.0-SNAPSHOT
 31 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.system/org.apache.karaf.system.core/4.1.0-SNAPSHOT
 32 │ Active   │  30 │ 0.3.11.1         │ mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.not-yet-commons-ssl/0.3.11_1
 33 │ Active   │  30 │ 1.2.0            │ mvn:org.apache.sshd/sshd-core/1.2.0
 34 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.shell/org.apache.karaf.shell.ssh/4.1.0-SNAPSHOT
 35 │ Active   │  80 │ 1.3.1            │ mvn:com.fasterxml/classmate/1.3.1
 36 │ Active   │  35 │ 2.6.6            │ mvn:com.fasterxml.jackson.core/jackson-annotations/2.6.6
 37 │ Active   │  35 │ 2.6.6            │ mvn:com.fasterxml.jackson.core/jackson-core/2.6.6
 38 │ Active   │  35 │ 2.6.6            │ mvn:com.fasterxml.jackson.core/jackson-databind/2.6.6
 39 │ Active   │  35 │ 2.6.6            │ mvn:com.fasterxml.jackson.dataformat/jackson-dataformat-yaml/2.6.6
 40 │ Active   │  80 │ 2.7.0            │ mvn:com.google.code.gson/gson/2.7
 41 │ Active   │  35 │ 1.5.10           │ mvn:io.swagger/swagger-models/1.5.10
 42 │ Active   │  30 │ 3.19.0.GA        │ mvn:org.javassist/javassist/3.19.0-GA
 43 │ Active   │  10 │ 1.2              │ mvn:javax.annotation/javax.annotation-api/1.2
 44 │ Active   │  35 │ 2.6.6            │ mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/2.6.6
 45 │ Active   │  35 │ 2.6.6            │ mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/2.6.6
 46 │ Active   │  80 │ 18.0.0           │ mvn:com.google.guava/guava/18.0
 47 │ Active   │  80 │ 1.1.0            │ mvn:com.savoirtech.eos/eos-core/1.1.0
 48 │ Active   │  35 │ 1.5.10           │ mvn:io.swagger/swagger-annotations/1.5.10
 49 │ Active   │  35 │ 1.5.10           │ mvn:io.swagger/swagger-jaxrs/1.5.10
 50 │ Active   │  80 │ 2.2.5            │ mvn:javax.el/javax.el-api/2.2.5
 51 │ Active   │  10 │ 1.4.4            │ mvn:javax.mail/mail/1.4.4
 52 │ Active   │  30 │ 3.1.0            │ mvn:javax.servlet/javax.servlet-api/3.1.0
 53 │ Active   │  80 │ 1.1.0.Final      │ mvn:javax.validation/validation-api/1.1.0.Final
 54 │ Active   │  30 │ 1.1              │ mvn:javax.websocket/javax.websocket-api/1.1
 55 │ Active   │  20 │ 1.7.1            │ mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core/1.7.1
 56 │ Active   │  20 │ 1.0.9            │ mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.cm/1.0.9
 57 │ Resolved │  20 │ 1.0.0            │ mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core.compatibility/1.0.0
 58 │ Active   │  30 │ 1.1.5            │ mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.api/1.1.5
 59 │ Active   │  30 │ 1.1.5            │ mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.core/1.1.5
 60 │ Active   │  20 │ 1.0.6.SNAPSHOT   │ mvn:org.apache.aries.proxy/org.apache.aries.proxy.impl/1.0.6-SNAPSHOT
 61 │ Active   │  30 │ 1.0.1            │ mvn:org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle/1.0.1
 62 │ Active   │  80 │ 3.5.0            │ mvn:org.apache.commons/commons-lang3/3.5
 63 │ Active   │  35 │ 1.5.10           │ mvn:io.swagger/swagger-core/1.5.10
 64 │ Active   │  20 │ 1.0.1            │ mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.api/1.0.1
 65 │ Active   │  20 │ 1.0.1            │ mvn:org.apache.aries.proxy/org.apache.aries.proxy.api/1.0.1
 66 │ Active   │  40 │ 3.1.8            │ mvn:org.apache.cxf/cxf-core/3.1.8
 67 │ Active   │  40 │ 3.1.8            │ mvn:org.apache.cxf/cxf-rt-transports-http/3.1.8
 68 │ Active   │   9 │ 1.1              │ mvn:org.apache.geronimo.specs/geronimo-osgi-registry/1.1
 69 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.blueprintstate/4.1.0-SNAPSHOT
 70 │ Active   │  24 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.blueprint/4.1.0-SNAPSHOT
 71 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.jaas.blueprint/org.apache.karaf.jaas.blueprint.config/4.1.0-SNAPSHOT
 72 │ Active   │  30 │ 1.2.13.1         │ mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.fastinfoset/1.2.13_1
 73 │ Active   │  20 │ 2.2.11.1         │ mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.2.11_1
 74 │ Active   │  30 │ 0.9.10.3         │ mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.reflections/0.9.10_3
 75 │ Active   │  25 │ 1.2.0.5          │ mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xmlresolver/1.2_5
 76 │ Active   │  10 │ 2.6.0            │ mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jsr339-api-2.0.1/2.6.0
 77 │ Active   │  20 │ 4.1.0            │ mvn:org.apache.xbean/xbean-bundleutils/4.1
 78 │ Active   │  20 │ 4.1.0            │ mvn:org.apache.xbean/xbean-finder/4.1
 79 │ Active   │  30 │ 1.3.8            │ mvn:org.codehaus.jettison/jettison/1.3.8
 80 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty/jetty-continuation/9.2.19.v20160908
 81 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty/jetty-util/9.2.19.v20160908
 82 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty/jetty-http/9.2.19.v20160908
 83 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty/jetty-io/9.2.19.v20160908
 84 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty/jetty-security/9.2.19.v20160908
 85 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty.websocket/websocket-common/9.2.19.v20160908
 86 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty.websocket/websocket-servlet/9.2.19.v20160908
 87 │ Active   │  40 │ 3.1.8            │ mvn:org.apache.cxf/cxf-rt-frontend-jaxrs/3.1.8
 88 │ Active   │  40 │ 3.1.8            │ mvn:org.apache.cxf/cxf-rt-rs-client/3.1.8
 89 │ Active   │  40 │ 3.1.8            │ mvn:org.apache.cxf/cxf-rt-rs-service-description/3.1.8
 90 │ Active   │  40 │ 3.1.8            │ mvn:org.apache.cxf/cxf-rt-rs-service-description-swagger/3.1.8
 91 │ Active   │  30 │ 1.1.1            │ mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1
 92 │ Active   │  20 │ 2.2.11.1         │ mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-xjc/2.2.11_1
 93 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty/jetty-client/9.2.19.v20160908
 94 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty/jetty-jmx/9.2.19.v20160908
 95 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty/jetty-jaas/9.2.19.v20160908
 96 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty/jetty-jaspi/9.2.19.v20160908
 97 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty/jetty-jndi/9.2.19.v20160908
 98 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty/jetty-rewrite/9.2.19.v20160908
 99 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty/jetty-servlet/9.2.19.v20160908
100 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty/jetty-servlets/9.2.19.v20160908
101 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty/jetty-util-ajax/9.2.19.v20160908
102 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty/jetty-webapp/9.2.19.v20160908
103 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty/jetty-plus/9.2.19.v20160908
104 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty.websocket/websocket-api/9.2.19.v20160908
105 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty.websocket/websocket-client/9.2.19.v20160908
106 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty.websocket/javax-websocket-client-impl/9.2.19.v20160908
107 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty.websocket/websocket-server/9.2.19.v20160908
108 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty.websocket/javax-websocket-server-impl/9.2.19.v20160908
109 │ Active   │  80 │ 2.2.6            │ mvn:org.glassfish.web/javax.el/2.2.6
110 │ Active   │  80 │ 3.3.0.Final      │ mvn:org.jboss.logging/jboss-logging/3.3.0.Final
111 │ Active   │  80 │ 5.2.4.Final      │ mvn:org.hibernate/hibernate-validator/5.2.4.Final
112 │ Active   │  80 │ 0.1.0            │ mvn:org.microbule/microbule-api/0.1.0
113 │ Active   │  80 │ 0.1.0            │ mvn:org.microbule/microbule-core/0.1.0
114 │ Active   │  80 │ 0.1.0            │ mvn:org.microbule/microbule-decorator-circuitbreaker/0.1.0
115 │ Active   │  80 │ 0.1.0            │ mvn:org.microbule/microbule-decorator-cors/0.1.0
116 │ Active   │  80 │ 0.1.0            │ mvn:org.microbule/microbule-decorator-requestlog/0.1.0
117 │ Active   │  80 │ 0.1.0            │ mvn:org.microbule/microbule-decorator-tracer/0.1.0
118 │ Active   │  80 │ 0.1.0            │ mvn:org.microbule/microbule-errormap-api/0.1.0
119 │ Active   │  80 │ 0.1.0            │ mvn:org.microbule/microbule-errormap-spi/0.1.0
120 │ Active   │  80 │ 0.1.0            │ mvn:org.microbule/microbule-spi/0.1.0
121 │ Active   │  80 │ 0.1.0            │ mvn:org.microbule/microbule-decorator-gson/0.1.0
122 │ Active   │  20 │ 5.0.2            │ mvn:org.ow2.asm/asm-all/5.0.2
123 │ Active   │  20 │ 3.1.4            │ mvn:org.codehaus.woodstox/stax2-api/3.1.4
124 │ Active   │  20 │ 4.4.1            │ mvn:org.codehaus.woodstox/woodstox-core-asl/4.4.1
125 │ Active   │  40 │ 3.1.8            │ mvn:org.apache.cxf/cxf-rt-management/3.1.8
126 │ Active   │  40 │ 3.1.8            │ mvn:org.apache.cxf/cxf-rt-rs-extension-providers/3.1.8
127 │ Active   │  40 │ 3.1.8            │ mvn:org.apache.cxf/cxf-rt-rs-extension-search/3.1.8
128 │ Active   │  30 │ 1.1              │ mvn:org.apache.geronimo.specs/geronimo-jaspic_1.0_spec/1.1
129 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty/jetty-server/9.2.19.v20160908
130 │ Active   │  30 │ 9.2.19.v20160908 │ mvn:org.eclipse.jetty/jetty-xml/9.2.19.v20160908
131 │ Active   │  30 │ 4.1.0.SNAPSHOT   │ mvn:org.apache.karaf.http/org.apache.karaf.http.core/4.1.0-SNAPSHOT
132 │ Active   │  30 │ 2.2.1            │ mvn:org.apache.ws.xmlschema/xmlschema-core/2.2.1
133 │ Active   │  80 │ 0.1.0            │ mvn:org.microbule/microbule-annotation/0.1.0
134 │ Active   │  30 │ 4.4.0            │ mvn:org.ops4j.pax.web/pax-web-api/4.4.0
135 │ Active   │  80 │ 0.1.0            │ mvn:org.microbule/microbule-decorator-cache/0.1.0
136 │ Active   │  80 │ 0.1.0            │ mvn:org.microbule/microbule-decorator-validation/0.1.0
137 │ Active   │  80 │ 0.1.0            │ mvn:org.microbule/microbule-errormap-impl/0.1.0
138 │ Active   │  30 │ 4.4.0            │ mvn:org.ops4j.pax.web/pax-web-jetty/4.4.0
139 │ Active   │  30 │ 4.4.0            │ mvn:org.ops4j.pax.web/pax-web-runtime/4.4.0
140 │ Active   │  30 │ 4.4.0            │ mvn:org.ops4j.pax.web/pax-web-spi/4.4.0
141 │ Active   │  80 │ 0.1.0            │ mvn:org.microbule/microbule-decorator-errormap/0.1.0
142 │ Active   │  80 │ 0.1.0            │ mvn:org.microbule/microbule-osgi/0.1.0
{code}

> When installing features, order bundles using the wiring
> --------------------------------------------------------
>
>                 Key: KARAF-4825
>                 URL: https://issues.apache.org/jira/browse/KARAF-4825
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 4.1.0
>
>
> The idea would be that "used" bundles are installed before "using" bundles, sort-of.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message