[ https://issues.apache.org/jira/browse/MDEP-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17767240#comment-17767240 ]
Delany commented on MDEP-885: ----------------------------- On further thought how about something like [https://maven.apache.org/plugins/maven-shade-plugin/shade-mojo.html#artifactSet] The parameters artifactSet/artifactSetUsed/artifactSetUnused could be introduced to replace these bitsy params * [https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#ignoredUsedUndeclaredDependencies] * [https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#ignoredUnusedDeclaredDependencies] * [https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#ignoreUnusedRuntime] * [https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#ignoredDependencies] * [https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#ignoredPackagings] * [https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#ignoreNonCompile] * [https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#ignoredNonTestScopedDependencies] This would future proof any requirement for further filtering and make the goal easier to understand > Introduce artifactSets in analyze > --------------------------------- > > Key: MDEP-885 > URL: https://issues.apache.org/jira/browse/MDEP-885 > Project: Maven Dependency Plugin > Issue Type: New Feature > Components: analyze-only > Affects Versions: 3.6.0 > Reporter: Delany > Assignee: Elliotte Rusty Harold > Priority: Major > > As in MDEP-210, in my project all third-party artifacts, including their > transitives, must be specified as direct dependencies. What happens is that > these transitives get flagged as unused. I want the rule to consider only > dependencies with a groupId identifying the artifacts I produce. > None of the current options allow this. Please add include/exclude parameters > so I can filter by Maven coordinates. > -- This message was sent by Atlassian Jira (v8.20.10#820010)