Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently one can not configure extensions as only mojos are configurable.
It would be great to have a basic configuration support for both in extension.xml as well as in pom>extension elements.
The Idea would be for extensions.xml to only have very limited support:
- Only the extension itself can be configured, no inheritance or similar complex stuff
- Only basic interpolation: e.g. user-properties and env-variable
for pom>extension elements one might want to allow everything that is allowed for build>plugins
To aquire such configuration I would like it to be injectable into a component like this:
@Inject @Named("extension:my.group.id:my.extension.id") private PlexusConfiguration config;
for the second case this should be call-sensitive in respect to the current active session project.