Move AIMS config to share-config.xml file
It looks like https://bamboo.alfresco.com/bamboo/browse/PLAT-ACS-977 build is failing due the fact that the AIMS configuration is part of share-config-custom.xml file and the share related image used within the build don't actually use the file. The AIMS filter was written so that, if the configurations aren't correct (missing configurations if AIMS is enabled; in our case the enabled / disabled AIMS configuration is missing), it will throw a ServletException, and the Share application won;t start.
From the build logs:
We'll move the AIMS enabled / disabled configuration from share-config-custom.xml file to share-config.xml file.