public class DependencyExclusionCustomizer extends java.lang.Object implements AlignmentService.RequestCustomizer
AlignmentService.RequestCustomizer that removes dependencies from a
AlignmentService.Request
The idea is that this class will be created with a predicate (which can of course be the product of multiple predicates)
that will match dependencies that are supposed to be excluded.
The hard part is creating the proper predicate for each project based on configuration similar to what PME offers
TODO: figure out if we need to worry about order| Constructor and Description |
|---|
DependencyExclusionCustomizer(java.util.function.Predicate<org.commonjava.maven.atlas.ident.ref.ProjectRef> predicate) |
| Modifier and Type | Method and Description |
|---|---|
AlignmentService.Request |
customize(AlignmentService.Request request) |
static AlignmentService.RequestCustomizer |
fromConfigurationForModule(org.jboss.gm.common.Configuration configuration,
java.util.Set<org.gradle.api.Project> projects) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitorderpublic DependencyExclusionCustomizer(java.util.function.Predicate<org.commonjava.maven.atlas.ident.ref.ProjectRef> predicate)
public AlignmentService.Request customize(AlignmentService.Request request)
customize in interface AlignmentService.RequestCustomizerpublic static AlignmentService.RequestCustomizer fromConfigurationForModule(org.jboss.gm.common.Configuration configuration, java.util.Set<org.gradle.api.Project> projects)