Somehow I fixed my features.xml, so it is no longer happening; however I was 
hoping that the plugin would tell me what the problem is.  The error message 
does not clarify what is wrong.




> On Jan 23, 2020, at 12:18 PM, Jean-Baptiste Onofré <[email protected]> wrote:
> 
> The resolver is performing a refresh to uninstall which is bad.
> 
> You have to check your feature XML to avoid the refresh.
> 
> Regards
> JB
> 
> On 23/01/2020 17:25, Alex Soto wrote:
>> Migrating to Karaf 4.2.8, the verify goal of the karaf-maven-plugin
>> fails to validate my  feature.xml with this exception:
>> 
>> at org.apache.karaf.tooling.VerifyMojo.verifyResolution(VerifyMojo.java:506)
>> at org.apache.karaf.tooling.VerifyMojo.doExecute(VerifyMojo.java:358)
>> ... 23 more
>> Caused by: java.lang.UnsupportedOperationException
>> at 
>> org.apache.karaf.features.internal.service.StaticInstallSupport.uninstall(StaticInstallSupport.java:52)
>> at
>> org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:799)
>> at 
>> org.apache.karaf.features.internal.service.Deployer.deployFully(Deployer.java:334)
>> at org.apache.karaf.tooling.VerifyMojo.verifyResolution(VerifyMojo.java:499)
>> ... 24 more
>> 
>> 
>> 
>> Best regards,
>> Alex soto
>> 
>> 
>> 
>> 
> 
> -- 
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com

Reply via email to