GitHub user mkrizmanic opened a pull request:
https://github.com/apache/maven/pull/76
[MNG-5957] Configuration within lifecycle phase
The lifecycle phase can be configured as a comma-separated list of plugins
specified with the following data:
```
<groupId>:<artifactId>:<version>:<goal>
```
that are not enough for my plugin.
My plugin has to reconfigure the default lifecycle using other plugins with
dedicated configuration different from their defaults'.
So, I'd suppose to enhance the lifecycle phase parsing to support
additional configuration as:
```
<groupId>:<artifactId>:<version>:<goal>[<configuration>]
```
Finally, the components.xml would support configurations like:
```xml
<component-set>
<components>
<component>
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
...
<configuration>
<lifecycles>
<lifecycle>
<id>default</id>
<phases>
<process-resources>
org.apache.maven.plugins:maven-resources-plugin:resources
</process-resources>
...
<install>
<![CDATA[
org.apache.maven.plugins:maven-install-plugin:install,
org.apache.felix:maven-bundle-plugin:install[
<supportedProjectTypes>
<supportedProjectType>buzz</supportedProjectType>
</supportedProjectTypes>]]]>
</install>
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mkrizmanic/maven mng-5957
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/maven/pull/76.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #76
----
commit 7af5f23a8d0266eed15261bfad5c7618fcd50285
Author: Mario Krizmanic <[email protected]>
Date: 2016-01-04T18:38:27Z
[MNG-5957] Configuration within lifecycle phase
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]