code: public void copyResources( File sourceDirectory, File targetDirectory )
              throws MojoExecutionException
      {
          if ( !sourceDirectory.exists() )
          {
              getLogger().info( "Directory does not exist " + sourceDirectory.getAbsolutePath() );
          }
          else
          {
              if ( !sourceDirectory.isDirectory() )
              {
                  getLogger().debug( "Not a directory: " + sourceDirectory.getAbsolutePath() );
              }
              else
              {
                  getLogger().debug( "Copying resources from " + sourceDirectory.getAbsolutePath() );
  
                  // this may needs to be parametrized somehow
                  String excludes = concat( DirectoryScanner.DEFAULTEXCLUDES, ", " );
                  copyDirectoryStructure( sourceDirectory, targetDirectory, "**", excludes );
              }
  
          }
      }
docs: {@inheritDoc}