code: @Override
      public void execute() throws MojoExecutionException {
          if (wisdomDirectory != null) {
              getLog().info("Skipping the External Template copy as we are using a remote " +
                      "Wisdom Server");
              removeFromWatching();
              return;
          }
          source = new File(basedir, TEMPLATES_SRC_DIR);
          destination = new File(getWisdomRootDirectory(), TEMPLATES_DIR);
  
          try {
              ResourceCopy.copyTemplates(this, filtering);
          } catch (IOException e) {
              throw new MojoExecutionException("Error during template copy", e);
          }
      }
docs: Execute copies external templates to the destination directory unless {@link #wisdomDirectory}
  parameter is set.
  
  @throws MojoExecutionException when the copy fails.