code: @SuppressWarnings("rawtypes")
      public List<File> downloadArtifacts( List artifactsOrNotations ) throws NaetherException {
          
          List<Artifact> artifacts = new ArrayList<Artifact>();
          
          for ( Object artifactsOrNotation : artifactsOrNotations ) {
              if ( artifactsOrNotation != null ) {
                  if ( artifactsOrNotation instanceof String ) {
                      artifacts.add( new DefaultArtifact( (String) artifactsOrNotation ) );
                  } else if ( artifactsOrNotation instanceof Artifact ) {
                      artifacts.add( (Artifact)artifactsOrNotation );
                  } else {
                      throw new NaetherException( "Only String notations or Artifact instances allowed. Found " + artifactsOrNotation.getClass() );
                  }
              } else {
                  log.warn( "Null found in list of artifacts to download" );
              }
          }
          
          List<File> files = new ArrayList<File>();
          
          for ( Artifact artifact : artifacts ) {
              
              log.debug( "Downloading {}", artifact );
              
              ArtifactRequest artifactRequest = new ArtifactRequest();
              artifactRequest.setArtifact( artifact );
              for ( RemoteRepository repo : this.getRemoteRepositories() ) {
                  artifactRequest.addRepository( repo );
              }
      
              RepositoryClient repoClient = new RepositoryClient(this.getLocalRepoPath());
              
              ArtifactResult artifactResult = null;
              try {
                  artifactResult = repoClient.resolveArtifact(artifactRequest );
              } catch (ArtifactResolutionException e) {
                  throw new ResolveException(e);
              }
      
              Artifact downloadedArtifact = artifactResult.getArtifact();
              files.add( downloadedArtifact.getFile() );
          }
          
          return files;
      }
docs: /* (non-Javadoc)
  @see com.tobedevoured.naether.api.Naether#downloadArtifacts(java.util.List)