apache / apache/maven

[MNG-6222] Support exclusion of direct plugin dependencies

Open
#7,641 10 comments 1 reaction 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 40m
Merged PRs (30d)
275

Description

**[Robert Scholte](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rfscholte)** opened **[MNG-6222](https://issues.apache.org/jira/browse/MNG-6222?redirect=false)** and commented

Based on http://stackoverflow.com/questions/43630262/how-to-exclude-a-direct-dependency-of-a-maven-plugin

```xml



org.jvnet.jaxb2.maven2
maven-jaxb2-plugin
0.13.2






```

Up until now there hasn't been any reason to do this, but this seems like a valid one. Most clean solution I can think of is allowing to override the scope with "none" for plugin dependencies.

This solution won't break the pom-4.0.0.xsd

---

25 votes, 27 watchers

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.