code: protected void copyShareLog4jConfig() throws MojoExecutionException {
          if (!useCustomShareLog4jConfig) {
              getLog().info("NOT overriding share/WEB-INF/classes/log4j.properties");
              return;
          }
  
          final String warOutputDir = getWarOutputDir(SHARE_WAR_PREFIX_NAME);
          final String logConfDestDir = warOutputDir + "/WEB-INF/classes";
  
          getLog().info("Copying Share log4j.properties to: " + logConfDestDir);
  
          executeMojo(
                  plugin(
                          groupId("org.apache.maven.plugins"),
                          artifactId("maven-resources-plugin"),
                          version(MAVEN_RESOURCE_PLUGIN_VERSION)
                  ),
                  goal("copy-resources"),
                  configuration(
                          element(name("outputDirectory"), logConfDestDir),
                          element(name("resources"),
                                  element(name("resource"),
                                          element(name("directory"), "src/test/resources/share"),
                                          element(name("includes"),
                                                  element(name("include"), "log4j.properties")
                                          ),
                                          element(name("filtering"), "true")
                                  )
                          )
                  ),
                  execEnv
          );
      }
docs: Copy a custom Share Log4J config into the share-war/WEB-INF/classes dir.
  There is no custom classpath resolve mechanism for Share log4j,
  to log custom stuff overriding standard log4j.properties is needed.
  
  @throws MojoExecutionException when any problem appears copying the share log4j configuration