code: protected void buildPlatformWar() throws MojoExecutionException {
          buildCustomWarInDir(PLATFORM_WAR_PREFIX_NAME, platformModules,
                  alfrescoGroupId, alfrescoPlatformWarArtifactId, alfrescoPlatformVersion);
  
          copyAlfrescoLicense();
          copyHotswapAgentProperties(PLATFORM_WAR_PREFIX_NAME);
  
          String platformWarArtifactId = packageAndInstallCustomWar(PLATFORM_WAR_PREFIX_NAME);
  
          // Set up the custom platform war to be run by Tomcat plugin
          runnerAlfrescoGroupId = "${project.groupId}";
          runnerAlfrescoPlatformWarArtifactId = platformWarArtifactId;
          runnerAlfrescoPlatformVersion = "${project.version}";
      }
docs: Build the customized Platform webapp (i.e. the Repository, alfresco.war)
  that should be deployed by Tomcat by applying all AMPs and JARs from
  the {@code <platformModules> } configuration.
  
  @throws MojoExecutionException when any problem appears building the platform war