code: protected void buildShareWar() throws MojoExecutionException {
          buildCustomWarInDir(SHARE_WAR_PREFIX_NAME, shareModules,
                  alfrescoGroupId, alfrescoShareWarArtifactId, alfrescoShareVersion);
  
          copyShareLog4jConfig();
          copyShareConfigCustom();
          copyHotswapAgentProperties(SHARE_WAR_PREFIX_NAME);
  
  
          String shareWarArtifactId = packageAndInstallCustomWar(SHARE_WAR_PREFIX_NAME);
  
          // Set up the custom share war to be run by Tomcat plugin
          runnerAlfrescoGroupId = "${project.groupId}";
          runnerAlfrescoShareWarArtifactId = shareWarArtifactId;
          runnerAlfrescoShareVersion = "${project.version}";
      }
docs: Build the customized Share webapp (i.e. the share.war)
  that should be deployed by Tomcat by applying all AMPs and JARs from
  the {@code <shareModules> } configuration.
  
  @throws MojoExecutionException when any problem appears building the share war