You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2023/12/20 10:12:00 UTC
[jira] [Created] (MNG-7984) Provide a way to switch some defaults based on the model version used
Guillaume Nodet created MNG-7984:
------------------------------------
Summary: 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
Fix For: 4.0.0
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)