Class CompileScopeDependencySelector
- java.lang.Object
-
- org.moditect.mavenplugin.generate.CompileScopeDependencySelector
-
- All Implemented Interfaces:
org.eclipse.aether.collection.DependencySelector
public class CompileScopeDependencySelector extends java.lang.Object implements org.eclipse.aether.collection.DependencySelector
A dependency selector which emulates the dependency selection at the point of compilation of an existing artifact: direct provided-scoped dependencies are included, but not transitive provided-scoped ones. Test-scoped dependencies are not included.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
CompileScopeDependencySelector.MockDependencyCollectionContext
-
Constructor Summary
Constructors Constructor Description CompileScopeDependencySelector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.aether.collection.DependencySelector
deriveChildSelector(org.eclipse.aether.collection.DependencyCollectionContext context)
boolean
selectDependency(org.eclipse.aether.graph.Dependency dependency)
-
-
-
Method Detail
-
selectDependency
public boolean selectDependency(org.eclipse.aether.graph.Dependency dependency)
- Specified by:
selectDependency
in interfaceorg.eclipse.aether.collection.DependencySelector
-
deriveChildSelector
public org.eclipse.aether.collection.DependencySelector deriveChildSelector(org.eclipse.aether.collection.DependencyCollectionContext context)
- Specified by:
deriveChildSelector
in interfaceorg.eclipse.aether.collection.DependencySelector
-
-