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