public class DependencyParser extends Object
Constructor and Description |
---|
DependencyParser() |
Modifier and Type | Method and Description |
---|---|
static Map<String,Set<Dependency>> |
parseDependencyCopyOutput(Path buildOutput)
Parses the output of a Maven build where
dependency:copy was used, and returns a set
of copied dependencies for each module. |
static Map<String,DependencyTree> |
parseDependencyTreeOutput(Path buildOutput)
Parses the output of a Maven build where
dependency:tree was used, and returns a set
of dependencies for each module. |
public static Map<String,Set<Dependency>> parseDependencyCopyOutput(Path buildOutput) throws IOException
dependency:copy
was used, and returns a set
of copied dependencies for each module.
The returned dependencies will NEVER contain the scope or optional flag.
IOException
public static Map<String,DependencyTree> parseDependencyTreeOutput(Path buildOutput) throws IOException
dependency:tree
was used, and returns a set
of dependencies for each module.IOException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.