code: protected void copyAlfrescoLicense() throws MojoExecutionException {
  
          final String warOutputDir = getWarOutputDir(PLATFORM_WAR_PREFIX_NAME);
          final String licDestDir = warOutputDir + "/WEB-INF/classes/alfresco/extension/license";
  
          getLog().info("Copying Alfresco Enterprise license to: " + licDestDir);
  
          executeMojo(
                  plugin(
                          groupId("org.apache.maven.plugins"),
                          artifactId("maven-resources-plugin"),
                          version(MAVEN_RESOURCE_PLUGIN_VERSION)
                  ),
                  goal("copy-resources"),
                  configuration(
                          element(name("outputDirectory"), licDestDir),
                          element(name("resources"),
                                  element(name("resource"),
                                          element(name("directory"), "src/test/license"),
                                          element(name("includes"),
                                                  element(name("include"), "*.lic")
                                          ),
                                          element(name("filtering"), "false")
                                  )
                          )
                  ),
                  execEnv
          );
      }
docs: Copy the Alfresco Enterprise license to its correct place in the Platform WAR, if it exists.
  It is not enough to have it on the test classpath, then it will start up as Trial license...
  
  @throws MojoExecutionException when any problem appears copying the Alfresco license