[MNG-7572] Plugin descriptor should indicate if plugin should be loaded as Maven build extension
- Dominant language
- Java
- Stars
- 5.3k
- Forks
- 3.1k
- Avg merge
- 20h 42m
- Merged PRs (30d)
- 297
Description
**[Konrad Windszus](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=kwin)** opened **[MNG-7572](https://issues.apache.org/jira/browse/MNG-7572?redirect=false)** and commented
Currently each consumer needs to decide if a Maven plugin should be loaded with extensions or without by setting the extensions value accordingly (https://maven.apache.org/pom.html#Plugins).
Instead the plugin descriptor should have a flag which indicates whether the plugin has extensions to load which should be automatically evaluated.
That flag should determine the default behaviour for loading extensions (which can still be overridden for edge cases in the pom referencing the plugin with extensions element).
---
**Issue Links:**
- [MNG-5697](https://issues.apache.org/jira/browse/MNG-5697) remove LifecycleMapping and ArtifactHandler from maven-core: move to target packaging plugin
- [MNG-7574](https://issues.apache.org/jira/browse/MNG-7574) Never expose Mojo classes via Core Classloader
**Remote Links:**
- [GitHub Pull Request #833
](https://github.com/apache/maven/pull/833)
1 votes, 5 watchers
Contributor guide
Assessment
This issue has not been assessed yet.