Class ShadeParser
- java.lang.Object
-
- org.apache.flink.tools.ci.utils.shade.ShadeParser
-
public final class ShadeParser extends Object
Utils for parsing the shade-plugin output.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,Set<Dependency>>parseShadeOutput(Path buildOutput)Parses the output of a Maven build whereshade:shadewas used, and returns a set of bundled dependencies for each module.
-
-
-
Method Detail
-
parseShadeOutput
public static Map<String,Set<Dependency>> parseShadeOutput(Path buildOutput) throws IOException
Parses the output of a Maven build whereshade:shadewas used, and returns a set of bundled dependencies for each module.The returned dependencies will NEVER contain the scope or optional flag.
This method only considers the
shade-flinkandshade-distexecutions, because all artifacts we produce that are either published or referenced are created by these executions. In other words, all artifacts from other executions are only used internally by the module that created them.- Throws:
IOException
-
-