Unable to uninstall custome plugins from snap

I created our custom plugin.
After install it it work normally but you can’t uninstall or update it.
Any idea what could be the issue

@kraftek Ahmad has been raising many plugin-related questions that should be covered by the documentation/tutorials.

Maybe you have marked it as an essential module in the manifest.mf file?

AutoUpdate-Essential-Module: true

Updating should work, but you need to change the specification version.

OpenIDE-Module-Specification-Version: ${snap.nbmSpecVersion}

We generate this snap.nbmSpecVersion property with maven in the pom.xml.
Changing only the code but keeping the same SNAPSHOT version does not work for the update process.