Hi Guillaume,

this behavior was introduced by the new assemblies generated by the karaf-maven-plugin made by David.

I raised a bug for a complete review and cleanup as I don't consider these assemblies stable and fully correct (see KARAF-772).

It's part of the actions to begin just after Karaf 2.2.4.

Regards
JB

On 09/30/2011 10:18 AM, Guillaume Nodet wrote:
I have a problem with the way the current trunk installs the default core
bundles.
Those are installed using an absolute file location such as shown below.

I think this lead to multiple problems, such as osgi:update / dev:watch do
not work anymore on those bundles, as those were relying on the mvn url so
that new versions could be found in the local maven repositories.

Is there any good reason for having this behavior instead of the previous
one  we had in 2.x ?

karaf@root>  osgi:list -t 0 -l -u
START LEVEL 100 , List Threshold: 0
    ID   State         Blueprint      Level  Location
[   0] [Active     ] [            ] [    0] System Bundle
[   1] [Active     ] [            ] [    5]
file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/ops4j/pax/url/pax-url-aether/1.3.5/pax-url-aether-1.3.5.jar
[   2] [Active     ] [            ] [    5]
file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/ops4j/pax/url/pax-url-wrap/1.3.5/pax-url-wrap-1.3.5.jar
[   3] [Active     ] [            ] [    8]
file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/ops4j/pax/logging/pax-logging-service/1.6.3/pax-logging-service-1.6.3.jar
[   4] [Active     ] [            ] [    8]
file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/ops4j/pax/logging/pax-logging-api/1.6.3/pax-logging-api-1.6.3.jar
[   5] [Active     ] [            ] [   10]
file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/felix/org.apache.felix.configadmin/1.2.8/org.apache.felix.configadmin-1.2.8.jar
[   6] [Active     ] [            ] [   11]
file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/felix/org.apache.felix.fileinstall/3.1.10/org.apache.felix.fileinstall-3.1.10.jar
[   7] [Active     ] [            ] [   20]
file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.asm/3.3_2/org.apache.servicemix.bundles.asm-3.3_2.jar
[   8] [Active     ] [Created     ] [   20]
file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/aries/blueprint/org.apache.aries.blueprint/0.3.1/org.apache.aries.blueprint-0.3.1.jar
[   9] [Active     ] [            ] [   20]
file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/aries/proxy/org.apache.aries.proxy/0.3/org.apache.aries.proxy-0.3.jar
[  10] [Active     ] [            ] [   20]
file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/aries/org.apache.aries.util/0.3/org.apache.aries.util-0.3.jar
[  11] [Active     ] [Created     ] [   25]
file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/karaf/features/org.apache.karaf.features.core/3.0.0-SNAPSHOT/org.apache.karaf.features.core-3.0.0-SNAPSHOT.jar
[  12] [Active     ] [Created     ] [   30]
file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/karaf/shell/org.apache.karaf.shell.osgi/3.0.0-SNAPSHOT/org.apache.karaf.shell.osgi-3.0.0-SNAPSHOT.jar
[  13] [Active     ] [Created     ] [   30]
file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/karaf/shell/org.apache.karaf.shell.commands/3.0.0-SNAPSHOT/org.apache.karaf.shell.commands-3.0.0-SNAPSHOT.jar
[  14] [Active     ] [Created     ] [   30]
file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/karaf/jaas/org.apache.karaf.jaas.config/3.0.0-SNAPSHOT/org.apache.karaf.jaas.config-3.0.0-SNAPSHOT.jar
[  15] [Active     ] [Created     ] [   30]
file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/karaf/shell/org.apache.karaf.shell.console/3.0.0-SNAPSHOT/org.apache.karaf.shell.console-3.0.0-SNAPSHOT.jar
[  16] [Active     ] [Created     ] [   30]
file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/karaf/jaas/org.apache.karaf.jaas.modules/3.0.0-SNAPSHOT/org.apache.karaf.jaas.modules-3.0.0-SNAPSHOT.jar
[  17] [Active     ] [Created     ] [   30]
file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/karaf/shell/org.apache.karaf.shell.system/3.0.0-SNAPSHOT/org.apache.karaf.shell.system-3.0.0-SNAPSHOT.jar
[  18] [Active     ] [Created     ] [   30]
mvn:org.apache.karaf.shell/org.apache.karaf.shell.config/3.0.0-SNAPSHOT
[  19] [Active     ] [            ] [   30]
mvn:org.apache.mina/mina-core/2.0.3
[  20] [Active     ] [            ] [   30]
mvn:org.apache.sshd/sshd-core/0.5.0
[  21] [Active     ] [Created     ] [   30]
mvn:org.apache.karaf.shell/org.apache.karaf.shell.ssh/3.0.0-SNAPSHOT
[  22] [Active     ] [Created     ] [   30]
mvn:org.apache.karaf/org.apache.karaf.management/3.0.0-SNAPSHOT
[  23] [Active     ] [            ] [   30]
mvn:org.apache.aries.jmx/org.apache.aries.jmx/0.3
[  24] [Active     ] [            ] [   30]
mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint/0.3
[  25] [Active     ] [Created     ] [   30]
mvn:org.apache.karaf.admin/org.apache.karaf.admin.core/3.0.0-SNAPSHOT
[  26] [Active     ] [Created     ] [   30]
mvn:org.apache.karaf.admin/org.apache.karaf.admin.command/3.0.0-SNAPSHOT
[  27] [Active     ] [Created     ] [   30]
mvn:org.apache.karaf.admin/org.apache.karaf.admin.management/3.0.0-SNAPSHOT
[  28] [Active     ] [Created     ] [   30]
mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.spring/3.0.0-SNAPSHOT
[  29] [Active     ] [Created     ] [   30]
mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.blueprint/3.0.0-SNAPSHOT
[  30] [Active     ] [Created     ] [   30]
mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.features/3.0.0-SNAPSHOT
[  31] [Active     ] [Created     ] [   30]
mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.kar/3.0.0-SNAPSHOT
[  32] [Active     ] [Created     ] [   30]
mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.wrap/3.0.0-SNAPSHOT
[  33] [Active     ] [Created     ] [   60]
mvn:org.apache.karaf.features/org.apache.karaf.features.command/3.0.0-SNAPSHOT
[  34] [Active     ] [Created     ] [   60]
mvn:org.apache.karaf.features/org.apache.karaf.features.management/3.0.0-SNAPSHOT
[  35] [Active     ] [            ] [   60]
mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.core/3.0.0-SNAPSHOT
[  36] [Active     ] [Created     ] [   60]
mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.common/3.0.0-SNAPSHOT
[  37] [Active     ] [Created     ] [   60]
mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.command/3.0.0-SNAPSHOT
[  38] [Active     ] [Created     ] [   60]
mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.management/3.0.0-SNAPSHOT
[  39] [Active     ] [Created     ] [   60]
mvn:org.apache.karaf.shell/org.apache.karaf.shell.log/3.0.0-SNAPSHOT
[  40] [Active     ] [Created     ] [   60]
mvn:org.apache.karaf.shell/org.apache.karaf.shell.packages/3.0.0-SNAPSHOT
[  41] [Active     ] [Created     ] [   60]
mvn:org.apache.karaf.shell/org.apache.karaf.shell.dev/3.0.0-SNAPSHOT
[  42] [Active     ] [Created     ] [   60]
mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.command/3.0.0-SNAPSHOT
karaf@root>





--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to