Hi guys,
I read that Apache Servicemix will be moved to Attic and I'm trying to
move my features.xml created in the some way are available in Apache
Servcemix project but I have a weird behaviour when I try to use
feature on both Karaf 4.2.8/4.2.9.
2020-06-16T11:26:01,358 | INFO  | pipe-feature:install my-util |
FeaturesServiceImpl              | 11 - org.apache.karaf.features.core
- 4.2.9 | Adding features: my-util/[0.9.0.SNAPSHOT,0.9.0.SNAPSHOT]2020-
06-16T11:26:01,801 | INFO  | features-3-thread-1 |
FeaturesServiceImpl              | 11 - org.apache.karaf.features.core
- 4.2.9 | Changes to perform:2020-06-16T11:26:01,802 | INFO  |
features-3-thread-1 | FeaturesServiceImpl              | 11 -
org.apache.karaf.features.core - 4.2.9 |   Region: root2020-06-
16T11:26:01,802 | INFO  | features-3-thread-1 |
FeaturesServiceImpl              | 11 - org.apache.karaf.features.core
- 4.2.9 |     Bundles to install:2020-06-16T11:26:01,803 | INFO  |
features-3-thread-1 | FeaturesServiceImpl              | 11 -
org.apache.karaf.features.core - 4.2.9 |       mvn:joda-time/joda-
time/2.92020-06-16T11:26:01,803 | INFO  | features-3-thread-1 |
FeaturesServiceImpl              | 11 - org.apache.karaf.features.core
- 4.2.9 |       mvn:commons-codec/commons-codec/1.142020-06-
16T11:26:01,803 | INFO  | features-3-thread-1 |
FeaturesServiceImpl              | 11 - org.apache.karaf.features.core
- 4.2.9 |       mvn:org.apache.commons/commons-compress/1.202020-06-
16T11:26:01,804 | INFO  | features-3-thread-1 |
FeaturesServiceImpl              | 11 - org.apache.karaf.features.core
- 4.2.9 |       mvn:commons-configuration/commons-
configuration/1.102020-06-16T11:26:01,804 | INFO  | features-3-thread-1 
| FeaturesServiceImpl              | 11 -
org.apache.karaf.features.core - 4.2.9 |       mvn:commons-
lang/commons-lang/2.62020-06-16T11:26:01,804 | INFO  | features-3-
thread-1 | FeaturesServiceImpl              | 11 -
org.apache.karaf.features.core - 4.2.9 |       mvn:commons-
logging/commons-logging/1.22020-06-16T11:26:01,805 | INFO  | features-
3-thread-1 | FeaturesServiceImpl              | 11 -
org.apache.karaf.features.core - 4.2.9
|       mvn:org.tukaani/xz/1.52020-06-16T11:26:01,806 | INFO  |
features-3-thread-1 | FeaturesServiceImpl              | 11 -
org.apache.karaf.features.core - 4.2.9 | Installing bundles:2020-06-
16T11:26:01,806 | INFO  | features-3-thread-1 |
FeaturesServiceImpl              | 11 - org.apache.karaf.features.core
- 4.2.9 |   mvn:joda-time/joda-time/2.92020-06-16T11:26:01,814 |
INFO  | features-3-thread-1 | FeaturesServiceImpl              | 11 -
org.apache.karaf.features.core - 4.2.9 |   mvn:commons-codec/commons-
codec/1.142020-06-16T11:26:01,885 | INFO  | features-3-thread-1 |
FeaturesServiceImpl              | 11 - org.apache.karaf.features.core
- 4.2.9 |   mvn:org.apache.commons/commons-compress/1.202020-06-
16T11:26:01,893 | INFO  | features-3-thread-1 |
FeaturesServiceImpl              | 11 - org.apache.karaf.features.core
- 4.2.9 |   mvn:commons-configuration/commons-configuration/1.102020-
06-16T11:26:01,898 | INFO  | features-3-thread-1 |
FeaturesServiceImpl              | 11 - org.apache.karaf.features.core
- 4.2.9 |   mvn:commons-lang/commons-lang/2.62020-06-16T11:26:01,903 |
INFO  | features-3-thread-1 | FeaturesServiceImpl              | 11 -
org.apache.karaf.features.core - 4.2.9 |   mvn:commons-logging/commons-
logging/1.22020-06-16T11:26:01,906 | INFO  | features-3-thread-1 |
FeaturesServiceImpl              | 11 - org.apache.karaf.features.core
- 4.2.9 |   mvn:org.tukaani/xz/1.52020-06-16T11:26:01,934 | INFO  |
features-3-thread-1 | FeaturesServiceImpl              | 11 -
org.apache.karaf.features.core - 4.2.9 | Starting bundles:2020-06-
16T11:26:01,935 | INFO  | features-3-thread-1 |
FeaturesServiceImpl              | 11 - org.apache.karaf.features.core
- 4.2.9 |   org.apache.commons.commons-codec/1.14.02020-06-
16T11:26:01,937 | INFO  | features-3-thread-1 |
FeaturesServiceImpl              | 11 - org.apache.karaf.features.core
- 4.2.9 |   org.apache.commons.lang/2.6.02020-06-16T11:26:01,938 |
INFO  | features-3-thread-1 | FeaturesServiceImpl              | 11 -
org.apache.karaf.features.core - 4.2.9
|   org.apache.commons.logging/1.2.02020-06-16T11:26:01,939 | INFO  |
features-3-thread-1 | FeaturesServiceImpl              | 11 -
org.apache.karaf.features.core - 4.2.9
|   org.apache.commons.configuration/1.10.02020-06-16T11:26:01,941 |
INFO  | features-3-thread-1 | FeaturesServiceImpl              | 11 -
org.apache.karaf.features.core - 4.2.9 |   joda-time/2.9.02020-06-
16T11:26:01,942 | INFO  | features-3-thread-1 |
FeaturesServiceImpl              | 11 - org.apache.karaf.features.core
- 4.2.9 |   org.tukaani.xz/1.5.02020-06-16T11:26:01,943 | INFO  |
features-3-thread-1 | FeaturesServiceImpl              | 11 -
org.apache.karaf.features.core - 4.2.9 |   org.apache.commons.commons-
compress/1.20.02020-06-16T11:26:01,944 | INFO  | features-3-thread-1 |
FeaturesServiceImpl              | 11 - org.apache.karaf.features.core
- 4.2.9 | Done.2020-06-16T11:33:16,189 | INFO  | pipe-feature:install
my-util | FeaturesServiceImpl              | 11 -
org.apache.karaf.features.core - 4.2.9 | The specified feature: 'my-
util' version '0.9.0.SNAPSHOT' has been upgraded2020-06-16T11:33:16,190 
| INFO  | pipe-feature:install my-util |
FeaturesServiceImpl              | 11 - org.apache.karaf.features.core
- 4.2.9 | Adding features: my-util/[0.9.0.SNAPSHOT,0.9.0.SNAPSHOT]2020-
06-16T11:33:16,336 | INFO  | features-3-thread-1 |
FeaturesServiceImpl              | 11 - org.apache.karaf.features.core
- 4.2.9 | No deployment change.2020-06-16T11:33:16,339 | INFO  |
features-3-thread-1 | FeaturesServiceImpl              | 11 -
org.apache.karaf.features.core - 4.2.9 | Done.
Feature XML contains this:
<features name="my-0.3.0-SNAPSHOT" xmlns="
http://karaf.apache.org/xmlns/features/v1.0.0";>
    <feature name='my-commons' description='My :: commons'
version='0.9.0-SNAPSHOT'>
        <bundle dependency="true" start-
level="40">mvn:it.local/commons/0.9.0-SNAPSHOT</bundle>        <bundle
dependency="true" start-level="40">mvn:commons-codec/commons-
codec/1.14</bundle>        <bundle start-level="40">mvn:joda-time/joda-
time/2.9</bundle>        <bundle start-level="40">mvn:commons-
configuration/commons-configuration/1.10</bundle>        <bundle start-
level="40">mvn:org.tukaani/xz/1.5</bundle>        <bundle start-
level="40">mvn:org.apache.commons/commons-
compress/1.20</bundle>        <bundle start-level="40">mvn:commons-
lang/commons-lang/2.6</bundle>        <bundle start-
level="40">mvn:commons-logging/commons-
logging/1.2</bundle>    </feature>
    <feature name='my-util' description='My :: My Util' version='0.9.0-
SNAPSHOT'>        <feature>my-commons</feature>
        <bundle dependency="true" start-
level="40">mvn:it.local/my_util/0.9.0-SNAPSHOT</bundle>    </feature>
</features>
What are the changes to do for Karaf migration? Could be an issue?
feature:install doesn't report errors but when I try to see bundle with
list -t 10 bundles aren't availables. Only deps with tags.
Thanks in advance for any suggestions.
-- geaaru

Reply via email to