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.
-- Regards, Igor On Mon, Oct 10, 2016, at 09:10 AM, Christian Schulte wrote: > Am 10/10/16 um 14:45 schrieb Mirko Friedenhagen: > > Hello, > > > > I just tried to run "mvn help:effective-pom -Doutput=MVNVERSION.xml" > > on one of our inhouse projects once with 3.3.9 and once with > > 3.4.0-SNAPSHOT (4ad0fb217c93d36cf3365b83baec48470196f5fa; > > 2016-10-09T21:16:52+02:00) > > > > 3.4.0 seems not to incorporate settings correctly (or I misconfigured > > something). We override the 'central' repository in > > $HOME/.m2/settings.xml and point to our internal Artifactory instance. > > However in the effective-pom I see re > > > > This is a part of the diff: > > > > <id>central</id> > > - <name>Everything via internal-central</name> > > - <url>http://inhouse.server/artifactory/internal-central/</url> > > + <name>Central Repository</name> > > + <url>https://repo.maven.apache.org/maven2</url> > > </repository> > > > > Now I see not only effective-pom is afffected, I am unable to download > > stuff from our internal Artifactory, so builds fail completely. > > Did you take a look at the 3.4.0-SNAPSHOT settings.xml? You may need to > disable the profile bringing in the 'central' repository. This is a > relict of moving the central repository out of the super pom. Super POM > 4.0.0 has the repository, current master super POM 4.1.0 does not have > it and needs the profile. This is work in progress. Super POM 4.1.0 will > get deleted in the next days. Maybe the central repository will be > removed from super POM 4.0.0 instead. No release notes yet. > > Regards, > -- > Christian > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org