Skip to content

[MNG-4645] Move Central repo definition out of Maven's jars so it can be more easily changed #6431

@jira-importer

Description

@jira-importer

Paul Gier opened MNG-4645 and commented

The Maven Central Repository definition is currently a hidden default repository available to Maven. The configuration of the Central Repo can be changed only if you know the (somewhat obscure) repository id "central": who knows that it is defined in Maven Super POM, defined in Maven Model Builder?

It would be better if the configuration of the central repository was moved from the Maven internals to the default settings.xml.

This way the repository would still be available to a default Maven install, but would also be clear to users how the central repo is configured in case it needs to be changed for mirror settings or some other reason. It would also make the repository ordering in the settings more clear.


Affects: 3.3.3

Issue Links:

  • MNG-6112 Align artifacts and plugins policies using the default value
    ("contains")

  • MNG-4347 import-scoped dependencies of direct dependencies are not resolved using profile modifications from settings.xml

  • MNG-8730 Fix versions of new items in settings.xml

  • MNG-5689 Checksum policy for mirrors

  • MNG-5672 Switch access to Maven Central to HTTPS

  • MNG-7059 Add profile-free repository support in Maven Settings model
    ("depends upon")

Remote Links:

Backported to: 4.0.0-alpha-7

3 votes, 12 watchers

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions