apache / apache/maven

[MNG-7508] Validate usage of <extensions>true</extensions> on plugins

Open
#9,290 2 comments 0 reactions 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

**[Konrad Windszus](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=kwin)** opened **[MNG-7508](https://issues.apache.org/jira/browse/MNG-7508?redirect=false)** and commented

It should be validated by Maven if a Maven plugin loaded with `true` actually comes with extensions or custom lifecycle mapping requiring it to be loaded with that option. Similarly in case this flag is `false` (default) Maven should emit a warning if the plugin comes with extensions.

---

**Issue Links:**
- [MNG-5697](https://issues.apache.org/jira/browse/MNG-5697) remove LifecycleMapping and ArtifactHandler from maven-core: move to target packaging plugin

- [MPLUGIN-402](https://issues.apache.org/jira/browse/MPLUGIN-402) report: allow to generate usage section in plugin-info.html with \true\

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.