Class DependencyParser
- java.lang.Object
-
- org.apache.flink.tools.ci.utils.dependency.DependencyParser
-
public class DependencyParser extends Object
Parsing utils for the Maven dependency plugin.
-
-
Constructor Summary
Constructors Constructor Description DependencyParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,Set<Dependency>>parseDependencyCopyOutput(Path buildOutput)Parses the output of a Maven build wheredependency:copywas 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 wheredependency:treewas used, and returns a set of dependencies for each module.
-
-
-
Method Detail
-
parseDependencyCopyOutput
public static Map<String,Set<Dependency>> parseDependencyCopyOutput(Path buildOutput) throws IOException
Parses the output of a Maven build wheredependency:copywas used, and returns a set of copied dependencies for each module.The returned dependencies will NEVER contain the scope or optional flag.
- Throws:
IOException
-
parseDependencyTreeOutput
public static Map<String,DependencyTree> parseDependencyTreeOutput(Path buildOutput) throws IOException
Parses the output of a Maven build wheredependency:treewas used, and returns a set of dependencies for each module.- Throws:
IOException
-
-