code: private void processDependencies()
              throws MojoExecutionException
      {
  
          processDependency( getProject().getArtifact() );
  
          AndArtifactFilter filter = new AndArtifactFilter();
          // filter.add( new ScopeArtifactFilter( dependencySet.getScope() ) );
  
          if ( dependencies != null && dependencies.getIncludes() != null && !dependencies.getIncludes().isEmpty() )
          {
              filter.add( new IncludesArtifactFilter( dependencies.getIncludes() ) );
          }
          if ( dependencies != null && dependencies.getExcludes() != null && !dependencies.getExcludes().isEmpty() )
          {
              filter.add( new ExcludesArtifactFilter( dependencies.getExcludes() ) );
          }
  
          Collection<Artifact> artifacts =
                  isExcludeTransitive() ? getProject().getDependencyArtifacts() : getProject().getArtifacts();
  
          for ( Artifact artifact : artifacts )
          {
              if ( filter.include( artifact ) )
              {
                  processDependency( artifact );
              }
          }
      }
docs: Iterate through all the top level and transitive dependencies declared in the project and
  collect all the runtime scope dependencies for inclusion in the .zip and signing.
  
  @throws MojoExecutionException if could not process dependencies