-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Affects Version/s: 5.2.N
-
Fix Version/s: 5.2.N
-
Component/s: Maven POMs
-
Labels:None
-
Bug Priority:
-
Sprint:Sibelius
-
Story Points:1
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.
mvn clean install -Pintegration-tests,enterprise,purge,packaging -DskipTests ... [INFO] Alfresco Share Parent .............................. SUCCESS [ 1.193 s] [INFO] Alfresco Share Services AMP ........................ SUCCESS [ 5.541 s] [INFO] Alfresco Web Framework common libraries ............ SUCCESS [ 4.206 s] [INFO] Alfresco Share WAR ................................. FAILURE [ 16.810 s] [INFO] share-po ........................................... SKIPPED ... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 29.131 s [INFO] Finished at: 2019-03-14T10:50:07Z [INFO] Final Memory: 96M/822M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.6:war (default-war) on project share: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.6:war failed: Cannot construct org.apache.maven.plugin.war.util.WebappStructure as it does not have a no-args constructor : Cannot construct org.apache.maven.plugin.war.util.WebappStructure as it does not have a no-args constructor ...
- Share git project branch: 5.2.5-repo-4245_corretto (which includes this change).
- Bamboo build for this branch using Corretto-8: HotFix / Enterprise 5.2 (correto-8).
- Bamboo build for this branch using Oracle JDK8: HotFix / Enterprise 5.2 (jdk8).
- Pull request.
- relates to
-
REPO-4245 Build plans for Corretto JDK8 on ACS 5.2.N
- Done