slawekjaranowski commented on code in PR #1571:
URL:
https://github.com/apache/maven-dependency-plugin/pull/1571#discussion_r2679370273
##########
src/main/java/org/apache/maven/plugins/dependency/fromDependencies/AbstractDependencyFilterMojo.java:
##########
@@ -231,6 +237,16 @@ public abstract class AbstractDependencyFilterMojo extends
AbstractDependencyMoj
@Parameter(property = "mdep.prependGroupId", defaultValue = "false")
protected boolean prependGroupId = false;
+ /**
+ * By default, this goal uses the project itself as the root of the
dependency tree.
+ * With graphRoots, you can select a subtree of dependencies based on
groupId and artifactId.
+ * After that, the general include/exclude filters can be applied.
+ *
+ * @since 3.10.0
+ */
+ @Parameter
+ private List<GraphRoot> graphRoots;
Review Comment:
As `GraphRoot` is an complex object we can provide an example in
documentation to be clear how to use in configuration
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]