Class RangesUtil
java.lang.Object
org.apache.maven.plugins.artifact.buildinfo.RangesUtil
Utility class to find dependencies with version ranges in the project.
-
Method Summary
Modifier and TypeMethodDescriptionfindVersionRangeDependencies(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project) Finds all dependencies with version ranges in the project.
-
Method Details
-
findVersionRangeDependencies
public Map<org.eclipse.aether.graph.DependencyNode, String> findVersionRangeDependencies(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project) throws org.apache.maven.plugin.MojoExecutionException Finds all dependencies with version ranges in the project.- Parameters:
session- the Maven sessionproject- the Maven project to analyze- Returns:
- a map of dependency nodes with version ranges to their issue descriptions
- Throws:
org.apache.maven.plugin.MojoExecutionException- if dependency collection fails
-