public static void copyInternalResources(AbstractWisdomMojo mojo, MavenResourcesFiltering filtering) throws
            IOException {
        File in = new File(mojo.basedir, Constants.MAIN_RESOURCES_DIR);
        if (!in.exists()) {
            return;
        }
        File out = new File(mojo.buildDirectory, "classes");
        filterAndCopy(mojo, filtering, in, out);
    }
public static void copyInternalResources ( AbstractWisdomMojo mojo , MavenResourcesFiltering filtering ) throws IOException { File in = new File ( mojo . basedir , Constants . MAIN_RESOURCES_DIR ) ; if ( ! in . exists ( ) ) { return ; } File out = new File ( mojo . buildDirectory , "classes" ) ; filterAndCopy ( mojo , filtering , in , out ) ; }
Copies the internal resources from "src/main/resources" to "target/classes". Copied resources are filtered.
Notice that these resources are embedded in the application's bundle.

@param mojo      the mojo
@param filtering the component required to filter resources
@throws IOException if a file cannot be copied