You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Will Hartung <wi...@gmail.com> on 2020/12/16 16:30:03 UTC

Does NetBeans install a Maven settings.xml?

I was debugging a repository issue with a maven project, and noticed that
the pom based repository was being mirrored by Maven Central.

I found this section in my ~/.m2/settings.xml file:
  <mirrors>
    <mirror>
      <id>maven-central</id>
      <url>https://repo1.maven.org/maven2/</url>

<mirrorOf>*,!eclipselink.repository,!jvnet-nexus-promoted,!netbeans.repository</mirrorOf>
    </mirror>
  </mirrors>

Looking over the settings.xml file, it appears that this is entirely a
NetBeans construct. (I have no memory of tweaking settings.xml myself).

Does NB install/update a local settings.xml? When does it do this?