Uploaded image for project: 'Share Application'
  1. Share Application
  2. SHA-2297

Build plans for Corretto JDK8 on ACS 5.2.N

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Resolution: Done
    • Affects Version/s: 5.2.N
    • Fix Version/s: 5.2.N
    • Component/s: Maven POMs
    • Labels:
      None
    • Bug Priority:
      Category 1
    • Sprint:
      Sibelius
    • Story Points:
      1

      Description

      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
      ...
      

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  adavis Alan Davis
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel