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

Guillaume Nodet updated MNG-7984:
---------------------------------
    Fix Version/s: 4.0.x-candidate
                       (was: 4.0.0)

> Provide a way to switch some defaults based on the model version used
> ---------------------------------------------------------------------
>
>                 Key: MNG-7984
>                 URL: https://issues.apache.org/jira/browse/MNG-7984
>             Project: Maven
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Priority: Major
>             Fix For: 4.0.x-candidate
>
>
> For backward compatibility, it's a bit hard to change some defaults for the 
> resolution or other bits of configuration.
>  * a user property would be defined to control the set of defaults to use
>  * if not explicitly specified, the project's model version (and the 
> namespace if not specified) could be checked: if 4.0.0, use maven 3 defaults, 
> if >= 4.1.0, use maven 4 defaults
> Note that we also now have different superpom for each namespace, so some 
> defaults could be changed there too.  Though the resolver configuration has 
> to be set quite early as this impacts the project building.
> For properties based configuration / interpolation (see MNG-7914), an 
> additional {{session.modelVersion}} could be defined.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to