You can set this up in pom.xml (in the maven-bundle-plugin configuration) of 
your bundle.

Regards
JB

> Le 1 nov. 2021 à 13:02, Paul Fraser <[email protected]> a écrit :
> 
> Hi JB,
> 
> On 25/10/21 4:03 pm, JB Onofré wrote:
>> Use <_noee>true</_noee> on maven-bundle-plugin wrapping to avoid the 
>> requirement.
> Not sure how or where to use this.
> 
> Are you able to point me to an example?
> 
> Paul Fraser
> 
>>  
>> 
>> It’s because the JRE wrapping tag name could be different. 
>> 
>> Regards 
>> JB
>> 
>>> Le 25 oct. 2021 à 06:57, Paul Fraser <[email protected]> a écrit :
>>> 
>>> 
>>> Hi,
>>> 
>>> I am using a Vaadin addon ckeditor-vaadin_2.2.0, karaf 4.3.3, intellij 
>>> latest.
>>> 
>>> The addon specifies java 11 in the pom
>>> 
>>>             <plugin>
>>>                 <artifactId>maven-compiler-plugin</artifactId>
>>>                 <version>3.8.1</version>
>>>                 <configuration>
>>>                     <release>11</release>
>>>                 </configuration>
>>>             </plugin>
>>>  
>>> 
>>> It has to be wrapped by karaf. 
>>> 
>>> system runs OK in linux mint but fails in Windows as follows-
>>> 
>>>     [caused by: Unable to resolve  
>>>     
>>> wrap_file__C__Users_paulf_qneCustomKaraf_karaf_data_kar_qaddonbaseweb-0.0.1_com_wontlost_ckeditor-vaadin_2.2.0_ckeditor-
>>>             vaadin-2.2.0.jar/0.0.0:  
>>>     missing requirement 
>>> [wrap_file__C__Users_paulf_qneCustomKaraf_karaf_data_kar_qaddonbaseweb-0.0.1_com_wontlost_ckeditor-
>>>             vaadin_2.2.0_ckeditor-vaadin-2.2.0.jar/0.0.0]              
>>>     osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]]] 
>>> 
>>> How can this be handled in karaf?
>>> 
>>> Paul Fraser
>>> 

Reply via email to