On Mon, 10 Oct 2016 16:22:20 +0200, Christian Schulte <c...@schulte.it> wrote:

Am 10.10.2016 um 16:16 schrieb Christian Schulte:
Am 10.10.2016 um 15:35 schrieb Igor Fedorenko:
It is common to use repository with id=central in settings.xml to
override central location. This functionality should continue to work,
regardless how it is implemented in Maven internally.


<https://git-wip-us.apache.org/repos/asf?p=maven.git;a=blob;f=apache-maven/src/conf/settings.xml;h=c24acfd1175b002438635d2a212032cd23a4381a;hb=HEAD#l248>



Everyone. Would it be better to not enable that profile by default? So
that a repository needs to be defined manually or Maven will not be able
to download anything? That way users currently overriding 'central'
somehow will not be affected and will just no longer override anything
anymore. The super pom central will just disappear and the settings hold
a template profile users need to enable themselves. Just needs to be
documented in the introductory guides on the site as one of the first
steps to do after installing Maven.

Regards,

So we want the URL of central to be configurable, or at least not hard-coded? Why not define it in a properties file in the ${maven.conf} directory? No profile hack required and a clean settings.xml.

my 2 cents,
Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to