code: public void copyDirectoryStructure( File sourceDirectory, File targetDirectory )
              throws MojoExecutionException
      {
  
          makeDirectoryIfNecessary( targetDirectory );
  
          // hopefully available from FileUtils 1.0.5-SNAPSHOT
          try
          {
              FileUtils.copyDirectoryStructure( sourceDirectory, targetDirectory );
          }
          catch ( IOException e )
          {
              throw new MojoExecutionException(
                      "Could not copy directory structure from " + sourceDirectory + " to " + targetDirectory, e );
          }
      }
docs: {@inheritDoc}