code: public final List<NarArtifact> getNarArtifacts() throws MojoExecutionException {
      final List<NarArtifact> narDependencies = new LinkedList<>();
  
      FilterArtifacts filter = new FilterArtifacts();
  
      filter.addFilter(new GroupIdFilter(cleanToBeTokenizedString(this.includeGroupIds),
          cleanToBeTokenizedString(this.excludeGroupIds)));
  
      filter.addFilter(new ArtifactIdFilter(cleanToBeTokenizedString(this.includeArtifactIds),
          cleanToBeTokenizedString(this.excludeArtifactIds)));
  
      filter.addFilter(getArtifactScopeFilter());
  
      @SuppressWarnings("unchecked")
      Set<Artifact> artifacts = getMavenProject().getArtifacts();
  
      // perform filtering
      try {
        artifacts = filter.filter(artifacts);
      } catch (ArtifactFilterException e) {
        throw new MojoExecutionException(e.getMessage(), e);
      }
  
      for (final Object element : artifacts) {
        final Artifact dependency = (Artifact) element;
  
        if ("nar".equalsIgnoreCase(dependency.getType())) {
          getLog().debug("Examining artifact for NarInfo: " + dependency);
  
          final NarInfo narInfo = getNarInfo(dependency);
          if (narInfo != null) {
            getLog().debug("    - added as NarDependency");
            narDependencies.add(new NarArtifact(dependency, narInfo));
          }
        }
      }
      getLog().debug("Dependencies contained " + narDependencies.size() + " NAR artifacts.");
      return narDependencies;
    }
docs: Returns dependencies which are dependent on NAR files (i.e. contain
  NarInfo)