For >= 5.2.6 hotfixes we need to support Amazon Correto-8. However the Bamboo Hotfix Builds fails in the Share packaging stage when using the maven-war-plugin. The Repo team have already created a similar fix for their own builds. The plug-in was having problems creating objects when there is a missing no-arg constructor. These were 'invented' on the fly by the Oracle JDK8 using version 2.6 of the plug-in, but not under Corretto-8. The latest version of the plug-in 3.2.2 does not have this problem because one of its dependencies xstream has been updated.
This issue is to provide the changes required to the Share project.