title: Intellij IDEA not respecting maven settings
body: <p>When I want to run my junit tests, IntelliJ IDEA tries to resolve junit-platform-launcher-1.5.1 and it fails. My network is restricted and I do not have access to the internet and it should fetch it from our Artifactory server. </p>
  
  <p>However, although I have set the correct settings in the project settings and also in the pom (When I run, e.g., mvn clean verify it works fine), IntelliJ tries to fetch them from repo1.maven.org (according to its log file) and it fails. Maybe IntelliJ has a hidden internal maven which does not respect the settings I have provided for the project. An strange thing about it is that it sometimes runs and sometimes tries to resolve the dependency and fails. How can I solve the problem?</p>
  
  <p>The maven that my project, MAVEN_HOME, and default mvn command of the system use has a settings.xml like this:</p>
  
  <pre><code>...
  &lt;proxies&gt;
  &lt;/proxies&gt;
  
  &lt;servers&gt;
  &lt;/servers&gt;
  
  &lt;mirrors&gt;
      &lt;mirror&gt;
          &lt;id&gt;mvn&lt;/id&gt;
          &lt;name&gt;...&lt;/name&gt;
          &lt;url&gt;...&lt;/url&gt;
          &lt;mirrorOf&gt;central&lt;/mirrorOf&gt;
      &lt;/mirror&gt;
  &lt;/mirrors&gt;
  
  &lt;profiles&gt;
      &lt;profile&gt;
          &lt;id&gt;dev&lt;/id&gt;
          &lt;repositories&gt;
              &lt;repository&gt;
                  &lt;localRepository&gt;...&lt;/localRepository&gt;
                  &lt;id&gt;mvn&lt;/id&gt;
                  &lt;name&gt;...&lt;/name&gt;
                  &lt;url&gt;...&lt;/url&gt;
              &lt;/repository&gt;
          &lt;/repositories&gt;
      &lt;/profile&gt;
  &lt;/profiles&gt;
  
  &lt;activeProfiles&gt;
      &lt;actirveProfile&gt;dev&lt;/activeProfile&gt;
  &lt;/activeProfiles&gt;
  ...
  </code></pre>