code: @Override
    public final void narExecute() throws MojoExecutionException, MojoFailureException {
      // download the dependencies if needed in local maven repository.
      List<AttachedNarArtifact> attachedNarArtifacts = getAttachedNarArtifacts(libraries);
      downloadAttachedNars(attachedNarArtifacts);
  
      // Warning, for SNAPSHOT artifacts that were not in the local maven
      // repository, the downloadAttachedNars
      // method above modified the version in the AttachedNarArtifact object to
      // set the timestamp version from
      // the web repository.
      // In order to unpack the files with the correct names we need to get back
      // the AttachedNarArtifact objects with
      // -SNAPSHOT versions, so we call again getAttachedNarArtifacts() to get the
      // unmodified AttachedNarArtifact
      // objects
      attachedNarArtifacts = getAttachedNarArtifacts(libraries);
      unpackAttachedNars(attachedNarArtifacts);
  
      // this may make some extra copies...
      for (final Object element : attachedNarArtifacts) {
        final Artifact dependency = (Artifact) element;
        getLog().debug("Assemble from " + dependency);
  
        // FIXME reported to maven developer list, isSnapshot
        // changes behaviour
        // of getBaseVersion, called in pathOf.
        dependency.isSnapshot();
  
        final File srcDir = getLayout().getNarUnpackDirectory(getUnpackDirectory(),
            getNarManager().getNarFile(dependency));
        // File srcDir = new File( getLocalRepository().pathOf( dependency ) );
        // srcDir = new File( getLocalRepository().getBasedir(),
        // srcDir.getParent() );
        // srcDir = new File( srcDir, "nar/" );
  
        final File dstDir = getTargetDirectory();
        try {
          FileUtils.mkdir(dstDir.getPath());
          getLog().debug("SrcDir: " + srcDir);
          if (srcDir.exists()) {
            FileUtils.copyDirectoryStructureIfModified(srcDir, dstDir);
          }
        } catch (final IOException ioe) {
          throw new MojoExecutionException("Failed to copy directory for dependency " + dependency + " from " + srcDir
              + " to " + dstDir, ioe);
        }
      }
    }
docs: Copies the unpacked nar libraries and files into the projects target area