Class RangesUtil

java.lang.Object
org.apache.maven.plugins.artifact.buildinfo.RangesUtil

@Named public class RangesUtil extends Object
Utility class to find 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 session
      project - 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