public class InclusionExclusionResolver extends Object
Modifier and Type | Method and Description |
---|---|
static Collection<org.apache.maven.artifact.Artifact> |
filterArtifacts(Iterable<org.apache.maven.artifact.Artifact> artifacts,
boolean skipDependencies,
Collection<String> includeArtifactTypes,
Collection<String> excludeArtifactTypes,
Collection<String> includeArtifactQualifiers,
Collection<String> excludeArtifactQualifiers) |
public static Collection<org.apache.maven.artifact.Artifact> filterArtifacts(@NonNull Iterable<org.apache.maven.artifact.Artifact> artifacts, boolean skipDependencies, @Nullable Collection<String> includeArtifactTypes, @Nullable Collection<String> excludeArtifactTypes, @Nullable Collection<String> includeArtifactQualifiers, @Nullable Collection<String> excludeArtifactQualifiers)
skipDependencies
- Skip all dependencies, but respect includeArtifactTypes
includeArtifactTypes
- Artifact types to be always included even if skipDependencies
is
true
excludeArtifactTypes
- Artifact types to be always excluded even if skipDependencies
is
false
includeArtifactQualifiers
- Artifact qualifiers to be always included even if skipDependencies
is
false
excludeArtifactQualifiers
- Artifact qualifiers to be always excluded even if skipDependencies
is
true
Copyright © 2008–2019 simpligility technologies inc.. All rights reserved.