public class DependenciesFilter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ArtifactFilter |
artifactFilter |
| Constructor and Description |
|---|
DependenciesFilter(Set<Artifact> projectArtifacts,
List<? extends Inclusion> inclusions,
List<? extends Exclusion> exclusions,
boolean excludeMuleArtifacts)
By default, it is created with the default exclusions (of mule group ids): org.mule, com.mulesource.muleesb,
com.mulesoft.muleesb
|
| Modifier and Type | Method and Description |
|---|---|
protected Set<Artifact> |
applyExclusions(Set<Artifact> filteredArtifacts) |
protected Set<Artifact> |
applyIncludes(Set<Artifact> filteredArtifacts) |
Set<Artifact> |
getArtifactsToArchive() |
protected List<String> |
getAsFilters(List<? extends Exclusion> exclusions) |
protected Set<Artifact> |
removeDependenciesWithMuleGroupId(Set<Artifact> filteredArtifacts) |
protected Set<Artifact> |
resolveNotCompileNorRuntimeArtifacts(Set<Artifact> projectArtifacts) |
protected ArtifactFilter artifactFilter
public DependenciesFilter(Set<Artifact> projectArtifacts, List<? extends Inclusion> inclusions, List<? extends Exclusion> exclusions, boolean excludeMuleArtifacts)
projectArtifacts - The project direct dependenciesinclusions - The artifacts to be includedexclusions - The artifacts to be excludedexcludeMuleArtifacts - Whether the mule artifacts should be excludedCopyright © 2018 MuleSoft Inc. All rights reserved.