Custom server Add-on key format


I have developed and published some Cloud apps to the marketplace. At that moment I was not aware of the add-on key proper format (reverse domain name notation). So these Cloud app keys are not in format groupId.artifactId

I have now finished Server versions of the same apps, which uses reverse domain name notation. However, I can not use same listing for these two versions because of the key differences.

What are my options now? I have tried changing <atlassian-plugin key="${atlassian.plugin.key}"> to <atlassian-plugin key=“”> as a solution, but this doesn’t seem to work, with builds failing.