code: public static void copyTemplates(AbstractWisdomMojo mojo, MavenResourcesFiltering filtering) throws IOException {
          File in = new File(mojo.basedir, Constants.TEMPLATES_SRC_DIR);
          if (!in.exists()) {
              return;
          }
          File out = new File(mojo.getWisdomRootDirectory(), Constants.TEMPLATES_DIR);
  
          filterAndCopy(mojo, filtering, in, out);
      }
docs: Copies the external templates from "src/main/templates" to "wisdom/templates". Copied resources are filtered.
  
  @param mojo      the mojo
  @param filtering the component required to filter resources
  @throws IOException if a file cannot be copied