I am working to migrate from Maven 2 to Maven 3. I have purposely removed the host and port from the messages and settings.

Maven 2 currently works fine with the Artifactory central repository we have setup behind a firewall. When I switch to using Maven 3 it fails to download the plugins with the error message:

> 
> [ERROR] Plugin org.apache.maven.plugins:maven-install-plugin:2.3.1 or
>  one of its dependencies could not be resolved: Failed to read
>  artifact descriptor for org.
>  apache.maven.plugins:maven-install-plugin:jar:2.3.1: Could not
>  transfer artifact 
>  org.apache.maven.plugins:maven-install-plugin:pom:2.3.1 from/to
>  central (http:/ /:/artifactory/plugins-release): Access
>  denied to:
>  http://:/artifactory/plugins-release/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugin-2.3.1.pom
>  , ReasonPhrase:Forbidden.
> 
> 
> 

Here are my settings:

```
    <?xml version="1.0" encoding="UTF-8"?>
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<proxies>
    <proxy>
      <id>andy</id>
      <active>true</active>
      <protocol>http</protocol>
      <host>proxyip</host>
      <port>80</port>
      <username>user</username>
      <password>password</password>
      <nonProxyHosts>host</nonProxyHosts>
    </proxy> 
  </proxies>
      <servers>
        <server>
          <username>user</username>
          <password>password</password>
          <id>central</id>
        </server>
        <server>
      <username>user</username>
      <password>password</password>
      <id>snapshots</id>
    </server>
  </servers>
  <profiles>
    <profile>
      <repositories>
        <repository>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
          <id>central</id>
          <name>libs-release</name>
          <url>http://<host>:<port>/artifactory/libs-release</url>
        </repository>
        <repository>
          <snapshots />
          <id>snapshots</id>
          <name>libs-snapshot</name>
          <url>http://<host>:<port>/artifactory/libs-snapshot</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
          <id>central</id>
          <name>plugins-release</name>
          <url>http://<host>:<port>/artifactory/plugins-release</url>
        </pluginRepository>
        <pluginRepository>
          <snapshots />
          <id>snapshots</id>
          <name>plugins-snapshot</name>
          <url>http://<host>:<port>/artifactory/plugins-snapshot</url>
        </pluginRepository>
      </pluginRepositories>
      <id>artifactory</id>
    </profile>
  </profiles>
  <activeProfiles>
    <activeProfile>artifactory</activeProfile>
  </activeProfiles>
</settings>

```

I have checked that the correct plugin and version exists in artifactory, this does seem to be an access issue. Has something changed between Maven 2 and Maven 3 where the configuration needs updating?