apache / apache/maven-dependency-plugin

[MDEP-596] Need ability to ignore test artifacts or named artifacts in analyze-dep-mgt mojo

Open
#1,032 1 comment 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
175
Forks
196
Avg merge
19h 30m
Merged PRs (30d)
5

Description

**[Keshava Bhat](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=keshava88)** opened **[MDEP-596](https://issues.apache.org/jira/browse/MDEP-596?redirect=false)** and commented

Today there is not way to configure to ignore non compile scoped artefacts (**[ignoreNonCompile](https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#ignoreNonCompile))** / certain ignored artifacts (**[ignoredDependencies](https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#ignoredDependencies) )** out of analyze-dep-mgt mojo.

 

it would be very sueful to ignore test scoped artifacts or certain enlisted artifacts to be ignored out of analyze-dep-mgt mojo.

other mojos like analyze / analyze-olnly provide this support.

 

---
No further details from [MDEP-596](https://issues.apache.org/jira/browse/MDEP-596?redirect=false)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the analyze-dep-mgt mojo and compare its configuration with the ignoreNonCompile and ignoredDependencies options documented for analyze and analyze-only. Trace how analyze-dep-mgt selects artifacts, then identify the relevant tests or documentation; done means test-scoped and explicitly named artifacts can be excluded from its results.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.