robinvish2794 commented on PR #686:
URL: https://github.com/apache/camel-karaf/pull/686#issuecomment-4054766251

   Unfortunately this is not fixes because feature used inside xml-specs-api 
has to have start-level defined as 10.
   Eg - 
   This won't work - 
   ```html
   <feature name='xml-specs-api' version='${servicemix-specs-version}' 
start-level='10'>
           <feature version="${camel-osgi-jakarta-activation-version}" 
start-level="10">jakarta-activation</feature>
           <feature version="${camel-osgi-jakarta-annotation-version}" 
start-level="10">jakarta-annotation</feature>
           <feature version="${camel-osgi-jakarta-xml-ws-version}" 
start-level="10">jakarta-xml-ws</feature>
           <feature version="${camel-osgi-jakarta-ws-rs-version}" 
start-level="10">jakarta-ws-rs</feature>
           <feature version="${camel-osgi-jakarta-soap-version}" 
start-level="10">jakarta-soap</feature>
           <feature version="${camel-osgi-jakarta-bind-version}" 
start-level="10">jakarta-xml-bind</feature>
           <feature version="${camel-osgi-jakarta-bind-version}" 
start-level="10">jaxb-runtime</feature>
           <feature version="${camel-osgi-jakarta-activation-runtime-version}" 
start-level="10">activation-runtime</feature>
           
<bundle>mvn:org.codehaus.woodstox/stax2-api/${auto-detect-version}</bundle>
           
<bundle>mvn:com.fasterxml.woodstox/woodstox-core/${woodstox-core-version}</bundle>
       </feature>
   ``` 
   
   Start-level has to be defined in each feature -
   
   ```html
   <feature name="jakarta-activation" start-level="10" 
version="${jakarta-activation-version}">
           <bundle 
dependency="true">mvn:jakarta.activation/jakarta.activation-api/${jakarta-activation-version}</bundle>
       </feature>
   ``` 
   
   current start up levels looks like these - 
   140 │ Active   │  50 │ 2.19.4                     │ 
mvn:com.fasterxml.jackson.module/jackson-module-jakarta-xmlbind-annotations/2.19.4
   164 │ Active   │  80 │ 2.1.1                      │ 
mvn:jakarta.annotation/jakarta.annotation-api/2.1.1
   165 │ Active   │  50 │ 2.1.5                      │ 
mvn:jakarta.mail/jakarta.mail-api/2.1.5
   166 │ Active   │  80 │ 6.1.0                      │ 
mvn:jakarta.servlet/jakarta.servlet-api/6.1.0
   167 │ Active   │  80 │ 3.1.1                      │ 
mvn:jakarta.validation/jakarta.validation-api/3.1.1
   168 │ Active   │  80 │ 3.1.0                      │ 
mvn:jakarta.ws.rs/jakarta.ws.rs-api/3.1.0
   169 │ Active   │  80 │ 4.0.2                      │ 
mvn:jakarta.xml.bind/jakarta.xml.bind-api/4.0.2
   170 │ Active   │  80 │ 3.0.2                      │ 
mvn:jakarta.xml.soap/jakarta.xml.soap-api/3.0.2
   171 │ Active   │  80 │ 4.0.2                      │ 
mvn:jakarta.xml.ws/jakarta.xml.ws-api/4.0.2
   172 │ Active   │  80 │ 3.0.3                      │ 
mvn:jakarta.el/jakarta.el-api/3.0.3
   296 │ Active   │  80 │ 2.1.3                      │ 
wrap:mvn:jakarta.activation/...


-- 
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]

Reply via email to