Skip to content

Commit

Permalink
Add support for include and exclude patterns for project dependencies
Browse files Browse the repository at this point in the history
Add support for include and exclude patterns for project dependencies nicoulaj#36
nicoulaj#36
  • Loading branch information
tombueng committed May 12, 2021
1 parent 5968947 commit e457723
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ protected List<ChecksumFile> getFilesToProcess()
Set<Artifact> filteredArtifacts = artifactIDFilter.filter(artifacts);
GroupIdFilter groupIdFilter = new GroupIdFilter( groupdIDincludes, groupdIDexcludes );
filteredArtifacts = groupIdFilter.filter( filteredArtifacts );
for ( Artifact artifact : artifacts )
for ( Artifact artifact : filteredArtifacts )
{
if ( ( scopes == null || scopes.contains( artifact.getScope() ) ) && ( types == null || types.contains(
artifact.getType() ) ) && artifact.getFile() != null )
Expand Down Expand Up @@ -301,5 +301,4 @@ protected String getShasumSummaryFile()
return shasumSummaryFile;
}


}

0 comments on commit e457723

Please sign in to comment.