Class DependencyConverter
java.lang.Object
org.jdrupes.builder.mvnrepo.DependencyConverter
Converts between maven models and aether dependencies.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.aether.graph.Dependencyconvert(Dependency modelDep) Convert a maven model dependency to an aether dependency.static Dependencyconvert(org.eclipse.aether.graph.Dependency aetherDep) Convert an aether dependency to a maven model dependency.static Dependencyconvert(MvnRepoDependency mvnResource, String scope) Convert a maven model dependency to an aether dependency.
-
Method Details
-
convert
Convert an aether dependency to a maven model dependency.- Parameters:
aetherDep- the aether dependency- Returns:
- the maven model dependency
-
convert
Convert a maven model dependency to an aether dependency.- Parameters:
modelDep- the maven model dependency- Returns:
- the aether dependency
-
convert
Convert a maven model dependency to an aether dependency.- Parameters:
mvnResource- the maven resourcescope- the scope of aether dependency- Returns:
- the aether dependency
-