rougeSE commented on issue #2195:
URL: https://github.com/apache/karaf/issues/2195#issuecomment-3646760230

   JB, thank your for responding so quickly, 
   
   Unfortunately, I am unable to provide much more than I have already. If it 
is possible to show me what needs to be modified in my  examples above, that 
would very helpful. 
   
   From what I understand the "wrap" and "pax-url-wrap" are equivalents to each 
other, the "wrap" feature seems to just call the "pack-url-wrap" but looks like 
"pax-url-wrap" is probably the preferred feature name to use.
   
   With the use of the /src/manin/feature.xml template above and switching from 
"wrap" to "pax-url-wrap", I get a generated feature.xml file that looks like 
this, which I think meets all the prerequisites.
   
   ### Generated Feature file
   ```xml 
   <features xmlns="http://karaf.apache.org/xmlns/features/v1.6.0"; 
name="${project.artificatId}">
       
<repository>mvn:org.apache.karaf.features/standard/4.4.5/xml/features</repository>
       <feature name="test-karaf-feature" description="test-karaf-feature" 
version="1.0.0">
           <feature prerequisite="true">pax-url-wrap</feature>
           <feature prerequisite="true" dependency="false">wrap</feature>
           <bundle>mvn:org.apache.cxf/cxf-rt-frontend-jaxws/3.3.9</bundle>
           <bundle>wrap:mvn:xml-resolver/xml-resolver/1.2</bundle>
           <bundle>mvn:org.ow2.asm/asm/9.0</bundle>
           <bundle>mvn:org.apache.cxf/cxf-core/3.3.9</bundle>
           <bundle>wrap:mvn:org.glassfish.jaxb/jaxb-runtime/2.3.2</bundle>
           <bundle>wrap:mvn:org.glassfish.jaxb/txw2/2.3.2</bundle>
           <bundle>mvn:com.sun.istack/istack-commons-runtime/3.0.8</bundle>
           <bundle>mvn:com.sun.xml.fastinfoset/FastInfoset/1.2.16</bundle>
           <bundle>mvn:jakarta.activation/jakarta.activation-api/1.2.1</bundle>
           <bundle>mvn:com.fasterxml.woodstox/woodstox-core/5.0.3</bundle>
           <bundle>mvn:org.codehaus.woodstox/stax2-api/3.1.4</bundle>
           <bundle>mvn:org.apache.ws.xmlschema/xmlschema-core/2.2.5</bundle>
           <bundle>mvn:jakarta.xml.bind/jakarta.xml.bind-api/2.3.2</bundle>
           <bundle>mvn:org.apache.cxf/cxf-rt-bindings-soap/3.3.9</bundle>
           <bundle>mvn:org.apache.cxf/cxf-rt-wsdl/3.3.9</bundle>
           <bundle>wrap:mvn:wsdl4j/wsdl4j/1.6.3</bundle>
           <bundle>mvn:org.apache.cxf/cxf-rt-databinding-jaxb/3.3.9</bundle>
           <bundle>mvn:org.apache.cxf/cxf-rt-bindings-xml/3.3.9</bundle>
           <bundle>mvn:org.apache.cxf/cxf-rt-frontend-simple/3.3.9</bundle>
           <bundle>mvn:org.apache.cxf/cxf-rt-ws-addr/3.3.9</bundle>
           <bundle>mvn:org.apache.cxf/cxf-rt-ws-policy/3.3.9</bundle>
           <bundle>mvn:org.apache.neethi/neethi/3.1.1</bundle>
           <bundle>mvn:javax.annotation/javax.annotation-api/1.3.2</bundle>
           <bundle>mvn:javax.xml.ws/jaxws-api/2.3.1</bundle>
           <bundle>mvn:javax.xml.soap/javax.xml.soap-api/1.4.0</bundle>
           <bundle>mvn:com.sun.activation/javax.activation/1.2.0</bundle>
           
<bundle>mvn:org.apache.geronimo.specs/geronimo-ws-metadata_2.0_spec/1.1.3</bundle>
           
<bundle>wrap:mvn:com.sun.xml.messaging.saaj/saaj-impl/1.4.0-b03</bundle>
           <bundle>mvn:org.jvnet.mimepull/mimepull/1.9.7</bundle>
           <bundle>mvn:org.jvnet.staxex/stax-ex/1.7.8</bundle>
           <bundle>wrap:mvn:javax.activation/activation/1.1</bundle>
           <bundle>wrap:mvn:org.jacorb/jacorb-omgapi/3.9</bundle>
           
<bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
           
<bundle>wrap:mvn:org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec/1.0.6.Final</bundle>
       </feature>
   </features>
   ```
   
   But when I try and build my karaf-assembly referencing this feature I still 
get the error complaining about the missing requirement of 
`org.osgi.service.log`. It seems I am so close but can't figure out how to 
satisfy the feature requirement when building the assembly.


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