You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2019/12/20 14:39:00 UTC

[jira] [Resolved] (MNG-6129) Configurable lifecycles and lifecycle-mappings

     [ https://issues.apache.org/jira/browse/MNG-6129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Elliotte Rusty Harold resolved MNG-6129.
----------------------------------------
    Resolution: Won't Do

doesn't seem like anyone is going to work on this

> Configurable lifecycles and lifecycle-mappings
> ----------------------------------------------
>
>                 Key: MNG-6129
>                 URL: https://issues.apache.org/jira/browse/MNG-6129
>             Project: Maven
>          Issue Type: New Feature
>          Components: Plugins and Lifecycle
>            Reporter: Victor Nazarov
>            Priority: Major
>
> I think I miss configurable lifecycles... You can configure Maven plugin, but you can't configure maven lifecycle...
> I think we should have some kind of packaging level configuration:
> <project>
>     <artifactId>...</artifactId>
>     <version>...</version>
>     <packaging>
>         <id>jar</id>
>         <configuration>
>             <java.version>9</java.version>
>             <pitest>true</pitest>
>             <findbugs>false<findbugs/>
>         </configuration>
>     </packaging>
>     <dependencies>...</dependencies>
> </project>
> Plugins' executions should be configured (disabled/enabled) based on provided configuration.
> You can already define custom lifecycles and lifecycle-mappings, but two or three custom lifecycles are not enough and you really need a family of similar, but slightly different lifecycles. Missing piece of puzzle is an ability to make them configurable. You can come close to this with properties and parent POMs, but it's not enough. Sometime properties should interact with each other and be something more than simple strings.
> I know about profiles and I've used and abused them. But profiles don't solve the problem I'm talking about. What I want is to have single shared by organization, but slightly configurable lifecycle. You can customize almost everything in maven by explicit build configuration, but customizations are individual to each project and you can't by any means consolidate them...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)