Skip to content

[MNG-5957] Configuration within lifecycle phase #7733

@jira-importer

Description

@jira-importer

Mario Krizmanic opened MNG-5957 and commented

The lifecycle phase can be configured as a comma-separated list of plugins specified with the following data: ```
<groupId>:<artifactId>:<version>:<goal>


My plugin has to reconfigure the default lifecycle using other plugins with dedicated configuration different from their defaults'.

So, I'd propose 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>
...


Affects: 3.3.9

Remote Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions