title: Why is Maven connecting to archiva.openqa.org
body: <p>I'm building the code that I got from the book ActiveMQ in ACtion. When I run the code using these commands mvn clean install, I get these messages below. I cannot understand why it is downloading from release.openqa.org for the spring framework because I do not see anywhere in my POM.xml that this is configured to do so.</p>
  
  <p>..........
  Downloading from release.openqa.org: <a href="http://archiva.openqa.org/repository/releases/org/springframework/spring-core/maven-metadata.xml" rel="nofollow noreferrer">http://archiva.openqa.org/repository/releases/org/springframework/spring-core/maven-metadata.xml</a>
  [WARNING] Could not transfer metadata org.springframework:spring-core/maven-metadata.xml from/to release.openqa.org (<a href="http://archiva.openqa.org/repository/releases" rel="nofollow noreferrer">http://archiva.openqa.org/repository/releases</a>): Connect to archiva.openqa.org:80 [archiva.openqa.org/199.102.165.92] failed: Connection timed out: connect
  .......</p>
  
  <p>Content of POM.xml:</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;!--
      &lt;parent&gt; &lt;groupId&gt;org.apache.activemq.book&lt;/groupId&gt;
      &lt;artifactId&gt;activemq-in-action&lt;/artifactId&gt;
      &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt; &lt;/parent&gt;
    --&gt;
    &lt;groupId&gt;org.apache.activemq.book&lt;/groupId&gt;
    &lt;artifactId&gt;activemq-in-action-examples&lt;/artifactId&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
    &lt;name&gt;ActiveMQ in Action Examples&lt;/name&gt;
    &lt;description&gt;ActiveMQ in Action Example Code&lt;/description&gt;
  
    &lt;!-- This build uses Maven 2.x --&gt;
  
    &lt;properties&gt;
      &lt;activemq-version&gt;5.3.2&lt;/activemq-version&gt;
      &lt;camel-version&gt;2.0.0&lt;/camel-version&gt;
      &lt;commons-logging-version&gt;1.1&lt;/commons-logging-version&gt;
      &lt;commons-pool-version&gt;1.4&lt;/commons-pool-version&gt;
      &lt;geronimo-spec-version&gt;1.1&lt;/geronimo-spec-version&gt;
      &lt;junit-version&gt;4.4&lt;/junit-version&gt;
      &lt;log4j-version&gt;1.2.14&lt;/log4j-version&gt;
      &lt;springframework-version&gt;2.5.6&lt;/springframework-version&gt;
      &lt;stax-version&gt;1.0.1&lt;/stax-version&gt;
      &lt;woodstox-version&gt;3.2.7&lt;/woodstox-version&gt;
      &lt;xbean-version&gt;3.4.3&lt;/xbean-version&gt;
    &lt;/properties&gt;
  
    &lt;dependencies&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;junit&lt;/groupId&gt;
        &lt;artifactId&gt;junit&lt;/artifactId&gt;
        &lt;version&gt;${junit-version}&lt;/version&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;
        &lt;artifactId&gt;activemq-core&lt;/artifactId&gt;
        &lt;version&gt;${activemq-version}&lt;/version&gt;
        &lt;exclusions&gt;
          &lt;exclusion&gt;
            &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;
            &lt;artifactId&gt;activeio-core&lt;/artifactId&gt;
          &lt;/exclusion&gt;
          &lt;exclusion&gt;
            &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
            &lt;artifactId&gt;camel-core&lt;/artifactId&gt;
          &lt;/exclusion&gt;
        &lt;/exclusions&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.geronimo.specs&lt;/groupId&gt;
        &lt;artifactId&gt;geronimo-jms_1.1_spec&lt;/artifactId&gt;
        &lt;version&gt;${geronimo-spec-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.geronimo.specs&lt;/groupId&gt;
        &lt;artifactId&gt;geronimo-j2ee-management_1.0_spec&lt;/artifactId&gt;
        &lt;version&gt;${geronimo-spec-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;
        &lt;artifactId&gt;activemq-optional&lt;/artifactId&gt;
        &lt;version&gt;${activemq-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;
        &lt;artifactId&gt;activemq-pool&lt;/artifactId&gt;
        &lt;version&gt;${activemq-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.springframework&lt;/groupId&gt;
        &lt;artifactId&gt;spring&lt;/artifactId&gt;
        &lt;version&gt;${springframework-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.xbean&lt;/groupId&gt;
        &lt;artifactId&gt;xbean-spring&lt;/artifactId&gt;
        &lt;version&gt;${xbean-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;stax&lt;/groupId&gt;
        &lt;artifactId&gt;stax-api&lt;/artifactId&gt;
        &lt;version&gt;${stax-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;woodstox&lt;/groupId&gt;
        &lt;artifactId&gt;wstx-asl&lt;/artifactId&gt;
        &lt;version&gt;${woodstox-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;
        &lt;artifactId&gt;activemq-camel&lt;/artifactId&gt;
        &lt;version&gt;${activemq-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
        &lt;artifactId&gt;camel-jms&lt;/artifactId&gt;
        &lt;version&gt;${camel-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
        &lt;artifactId&gt;camel-web&lt;/artifactId&gt;
        &lt;classifier&gt;classes&lt;/classifier&gt;
        &lt;version&gt;${camel-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
        &lt;artifactId&gt;camel-core&lt;/artifactId&gt;
        &lt;version&gt;${camel-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
        &lt;artifactId&gt;camel-spring&lt;/artifactId&gt;
        &lt;version&gt;${camel-version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;commons-logging&lt;/groupId&gt;
        &lt;artifactId&gt;commons-logging&lt;/artifactId&gt;
        &lt;version&gt;${commons-logging-version}&lt;/version&gt;
        &lt;exclusions&gt;
          &lt;exclusion&gt;
            &lt;groupId&gt;avalon-framework&lt;/groupId&gt;
            &lt;artifactId&gt;avalon-framework&lt;/artifactId&gt;
          &lt;/exclusion&gt;
          &lt;exclusion&gt;
            &lt;groupId&gt;logkit&lt;/groupId&gt;
            &lt;artifactId&gt;logkit&lt;/artifactId&gt;
          &lt;/exclusion&gt;
          &lt;exclusion&gt;
            &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
            &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
          &lt;/exclusion&gt;
        &lt;/exclusions&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;log4j&lt;/groupId&gt;
        &lt;artifactId&gt;log4j&lt;/artifactId&gt;
        &lt;version&gt;${log4j-version}&lt;/version&gt;
      &lt;/dependency&gt;
    &lt;/dependencies&gt;
  
    &lt;build&gt;
      &lt;finalName&gt;activemq-in-action-examples&lt;/finalName&gt;
      &lt;plugins&gt;
        &lt;plugin&gt;
          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
          &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
          &lt;configuration&gt;
            &lt;target&gt;1.5&lt;/target&gt;
            &lt;source&gt;1.5&lt;/source&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
        &lt;plugin&gt;
          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
          &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
          &lt;configuration&gt;
            &lt;failIfNoTests&gt;false&lt;/failIfNoTests&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
        &lt;plugin&gt;
          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
          &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;id&gt;example-src&lt;/id&gt;
              &lt;phase&gt;package&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;single&lt;/goal&gt;
              &lt;/goals&gt;
              &lt;configuration&gt;
                &lt;descriptors&gt;
                  &lt;descriptor&gt;${project.basedir}/src/main/assembly/activemq-in-action-src.xml&lt;/descriptor&gt;
                &lt;/descriptors&gt;
              &lt;/configuration&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
        &lt;/plugin&gt;
      &lt;/plugins&gt;
    &lt;/build&gt;
  
    &lt;repositories&gt;
      &lt;repository&gt;
        &lt;id&gt;java.net&lt;/id&gt;
        &lt;name&gt;java.net&lt;/name&gt;
        &lt;url&gt;http://download.java.net/maven/2&lt;/url&gt;
        &lt;layout&gt;default&lt;/layout&gt;
      &lt;/repository&gt;
    &lt;/repositories&gt;
  
  &lt;/project&gt;
  </code></pre>
  
  <p>After running mvn help:effective-pom, I get the following. I still do not see why maven is connecting to release.openqa.org:</p>
  
  <pre><code>PS C:\munlai\websitepractice\ActiveMQ\source\amq-in-action-example-src&gt; mvn help:effective-pom
  [INFO] Scanning for projects...
  [WARNING]
  [WARNING] Some problems were encountered while building the effective model for org.apache.activemq.book:activemq-in-action-examples:jar:1.0-SNAPSHOT
  [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 155, column 15
  [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 163, column 15
  [WARNING]
  [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  [WARNING]
  [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  [WARNING]
  [INFO]
  [INFO] --------&lt; org.apache.activemq.book:activemq-in-action-examples &gt;--------
  [INFO] Building ActiveMQ in Action Examples 1.0-SNAPSHOT
  [INFO] --------------------------------[ jar ]---------------------------------
  [INFO]
  [INFO] --- maven-help-plugin:3.2.0:effective-pom (default-cli) @ activemq-in-action-examples ---
  [INFO]
  Effective POMs, after inheritance, interpolation, and profiles are applied:
  
  &lt;?xml version="1.0" encoding="Cp1252"?&gt;
  &lt;!-- ====================================================================== --&gt;
  &lt;!--                                                                        --&gt;
  &lt;!-- Generated by Maven Help Plugin on 2019-06-17T23:59:41+08:00            --&gt;
  &lt;!-- See: http://maven.apache.org/plugins/maven-help-plugin/                --&gt;
  &lt;!--                                                                        --&gt;
  &lt;!-- ====================================================================== --&gt;
  &lt;!-- ====================================================================== --&gt;
  &lt;!--                                                                        --&gt;
  &lt;!-- Effective POM for project                                              --&gt;
  &lt;!-- 'org.apache.activemq.book:activemq-in-action-examples:jar:1.0-SNAPSHOT' --&gt;
  &lt;!--                                                                        --&gt;
  &lt;!-- ====================================================================== --&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;org.apache.activemq.book&lt;/groupId&gt;
    &lt;artifactId&gt;activemq-in-action-examples&lt;/artifactId&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
    &lt;name&gt;ActiveMQ in Action Examples&lt;/name&gt;
    &lt;description&gt;ActiveMQ in Action Example Code&lt;/description&gt;
    &lt;properties&gt;
      &lt;activemq-version&gt;5.3.2&lt;/activemq-version&gt;
      &lt;camel-version&gt;2.0.0&lt;/camel-version&gt;
      &lt;commons-logging-version&gt;1.1&lt;/commons-logging-version&gt;
      &lt;commons-pool-version&gt;1.4&lt;/commons-pool-version&gt;
      &lt;geronimo-spec-version&gt;1.1&lt;/geronimo-spec-version&gt;
      &lt;junit-version&gt;4.4&lt;/junit-version&gt;
      &lt;log4j-version&gt;1.2.14&lt;/log4j-version&gt;
      &lt;springframework-version&gt;2.5.6&lt;/springframework-version&gt;
      &lt;stax-version&gt;1.0.1&lt;/stax-version&gt;
      &lt;woodstox-version&gt;4.4.1&lt;/woodstox-version&gt;
      &lt;xbean-version&gt;3.4.3&lt;/xbean-version&gt;
    &lt;/properties&gt;
    &lt;dependencies&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;junit&lt;/groupId&gt;
        &lt;artifactId&gt;junit&lt;/artifactId&gt;
        &lt;version&gt;4.4&lt;/version&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;
        &lt;artifactId&gt;activemq-core&lt;/artifactId&gt;
        &lt;version&gt;5.3.2&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
        &lt;exclusions&gt;
          &lt;exclusion&gt;
            &lt;artifactId&gt;activeio-core&lt;/artifactId&gt;
            &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;
          &lt;/exclusion&gt;
          &lt;exclusion&gt;
            &lt;artifactId&gt;camel-core&lt;/artifactId&gt;
            &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
          &lt;/exclusion&gt;
        &lt;/exclusions&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.geronimo.specs&lt;/groupId&gt;
        &lt;artifactId&gt;geronimo-jms_1.1_spec&lt;/artifactId&gt;
        &lt;version&gt;1.1&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.geronimo.specs&lt;/groupId&gt;
        &lt;artifactId&gt;geronimo-j2ee-management_1.0_spec&lt;/artifactId&gt;
        &lt;version&gt;1.1&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;
        &lt;artifactId&gt;activemq-optional&lt;/artifactId&gt;
        &lt;version&gt;5.3.2&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;
        &lt;artifactId&gt;activemq-pool&lt;/artifactId&gt;
        &lt;version&gt;5.3.2&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.springframework&lt;/groupId&gt;
        &lt;artifactId&gt;spring&lt;/artifactId&gt;
        &lt;version&gt;2.5.6&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.xbean&lt;/groupId&gt;
        &lt;artifactId&gt;xbean-spring&lt;/artifactId&gt;
        &lt;version&gt;3.4.3&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;stax&lt;/groupId&gt;
        &lt;artifactId&gt;stax-api&lt;/artifactId&gt;
        &lt;version&gt;1.0.1&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.codehaus.woodstox&lt;/groupId&gt;
        &lt;artifactId&gt;woodstox-core-asl&lt;/artifactId&gt;
        &lt;version&gt;4.4.1&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;
        &lt;artifactId&gt;activemq-camel&lt;/artifactId&gt;
        &lt;version&gt;5.3.2&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
        &lt;artifactId&gt;camel-jms&lt;/artifactId&gt;
        &lt;version&gt;2.0.0&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
        &lt;artifactId&gt;camel-web&lt;/artifactId&gt;
        &lt;version&gt;2.0.0&lt;/version&gt;
        &lt;classifier&gt;classes&lt;/classifier&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
        &lt;artifactId&gt;camel-core&lt;/artifactId&gt;
        &lt;version&gt;2.0.0&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
        &lt;artifactId&gt;camel-spring&lt;/artifactId&gt;
        &lt;version&gt;2.0.0&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;commons-logging&lt;/groupId&gt;
        &lt;artifactId&gt;commons-logging&lt;/artifactId&gt;
        &lt;version&gt;1.1&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
        &lt;exclusions&gt;
          &lt;exclusion&gt;
            &lt;artifactId&gt;avalon-framework&lt;/artifactId&gt;
            &lt;groupId&gt;avalon-framework&lt;/groupId&gt;
          &lt;/exclusion&gt;
          &lt;exclusion&gt;
            &lt;artifactId&gt;logkit&lt;/artifactId&gt;
            &lt;groupId&gt;logkit&lt;/groupId&gt;
          &lt;/exclusion&gt;
          &lt;exclusion&gt;
            &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
            &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
          &lt;/exclusion&gt;
        &lt;/exclusions&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;log4j&lt;/groupId&gt;
        &lt;artifactId&gt;log4j&lt;/artifactId&gt;
        &lt;version&gt;1.2.14&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
    &lt;/dependencies&gt;
    &lt;repositories&gt;
      &lt;repository&gt;
        &lt;id&gt;java.net&lt;/id&gt;
        &lt;name&gt;java.net&lt;/name&gt;
        &lt;url&gt;http://download.java.net/maven/2&lt;/url&gt;
      &lt;/repository&gt;
      &lt;repository&gt;
        &lt;snapshots&gt;
          &lt;enabled&gt;false&lt;/enabled&gt;
        &lt;/snapshots&gt;
        &lt;id&gt;central&lt;/id&gt;
        &lt;name&gt;Central Repository&lt;/name&gt;
        &lt;url&gt;https://repo.maven.apache.org/maven2&lt;/url&gt;
      &lt;/repository&gt;
    &lt;/repositories&gt;
    &lt;pluginRepositories&gt;
      &lt;pluginRepository&gt;
        &lt;releases&gt;
          &lt;updatePolicy&gt;never&lt;/updatePolicy&gt;
        &lt;/releases&gt;
        &lt;snapshots&gt;
          &lt;enabled&gt;false&lt;/enabled&gt;
        &lt;/snapshots&gt;
        &lt;id&gt;central&lt;/id&gt;
        &lt;name&gt;Central Repository&lt;/name&gt;
        &lt;url&gt;https://repo.maven.apache.org/maven2&lt;/url&gt;
      &lt;/pluginRepository&gt;
    &lt;/pluginRepositories&gt;
    &lt;build&gt;
      &lt;sourceDirectory&gt;C:\munlai\websitepractice\ActiveMQ\source\amq-in-action-example-src\src\main\java&lt;/sourceDirectory&gt;
      &lt;scriptSourceDirectory&gt;C:\munlai\websitepractice\ActiveMQ\source\amq-in-action-example-src\src\main\scripts&lt;/scriptSourceDirectory&gt;
      &lt;testSourceDirectory&gt;C:\munlai\websitepractice\ActiveMQ\source\amq-in-action-example-src\src\test\java&lt;/testSourceDirectory&gt;
      &lt;outputDirectory&gt;C:\munlai\websitepractice\ActiveMQ\source\amq-in-action-example-src\target\classes&lt;/outputDirectory&gt;
      &lt;testOutputDirectory&gt;C:\munlai\websitepractice\ActiveMQ\source\amq-in-action-example-src\target\test-classes&lt;/testOutputDirectory&gt;
      &lt;resources&gt;
        &lt;resource&gt;
          &lt;directory&gt;C:\munlai\websitepractice\ActiveMQ\source\amq-in-action-example-src\src\main\resources&lt;/directory&gt;
        &lt;/resource&gt;
      &lt;/resources&gt;
      &lt;testResources&gt;
        &lt;testResource&gt;
          &lt;directory&gt;C:\munlai\websitepractice\ActiveMQ\source\amq-in-action-example-src\src\test\resources&lt;/directory&gt;
        &lt;/testResource&gt;
      &lt;/testResources&gt;
      &lt;directory&gt;C:\munlai\websitepractice\ActiveMQ\source\amq-in-action-example-src\target&lt;/directory&gt;
      &lt;finalName&gt;activemq-in-action-examples&lt;/finalName&gt;
      &lt;pluginManagement&gt;
        &lt;plugins&gt;
          &lt;plugin&gt;
            &lt;artifactId&gt;maven-antrun-plugin&lt;/artifactId&gt;
            &lt;version&gt;1.3&lt;/version&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
            &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
            &lt;version&gt;2.2-beta-5&lt;/version&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
            &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt;
            &lt;version&gt;2.8&lt;/version&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
            &lt;artifactId&gt;maven-release-plugin&lt;/artifactId&gt;
            &lt;version&gt;2.5.3&lt;/version&gt;
          &lt;/plugin&gt;
        &lt;/plugins&gt;
      &lt;/pluginManagement&gt;
      &lt;plugins&gt;
        &lt;plugin&gt;
          &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
          &lt;version&gt;3.1&lt;/version&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;id&gt;default-compile&lt;/id&gt;
              &lt;phase&gt;compile&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;compile&lt;/goal&gt;
              &lt;/goals&gt;
              &lt;configuration&gt;
                &lt;target&gt;1.5&lt;/target&gt;
                &lt;source&gt;1.5&lt;/source&gt;
              &lt;/configuration&gt;
            &lt;/execution&gt;
            &lt;execution&gt;
              &lt;id&gt;default-testCompile&lt;/id&gt;
              &lt;phase&gt;test-compile&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;testCompile&lt;/goal&gt;
              &lt;/goals&gt;
              &lt;configuration&gt;
                &lt;target&gt;1.5&lt;/target&gt;
                &lt;source&gt;1.5&lt;/source&gt;
              &lt;/configuration&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
          &lt;configuration&gt;
            &lt;target&gt;1.5&lt;/target&gt;
            &lt;source&gt;1.5&lt;/source&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
        &lt;plugin&gt;
          &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
          &lt;version&gt;2.12.4&lt;/version&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;id&gt;default-test&lt;/id&gt;
              &lt;phase&gt;test&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;test&lt;/goal&gt;
              &lt;/goals&gt;
              &lt;configuration&gt;
                &lt;failIfNoTests&gt;false&lt;/failIfNoTests&gt;
              &lt;/configuration&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
          &lt;configuration&gt;
            &lt;failIfNoTests&gt;false&lt;/failIfNoTests&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
        &lt;plugin&gt;
          &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
          &lt;version&gt;2.2-beta-5&lt;/version&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;id&gt;example-src&lt;/id&gt;
              &lt;phase&gt;package&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;single&lt;/goal&gt;
              &lt;/goals&gt;
              &lt;configuration&gt;
                &lt;descriptors&gt;
                  &lt;descriptor&gt;C:\munlai\websitepractice\ActiveMQ\source\amq-in-action-example-src/src/main/assembly/activemq-in-action-src.xml&lt;/descriptor&gt;
                &lt;/descriptors&gt;
              &lt;/configuration&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
        &lt;/plugin&gt;
        &lt;plugin&gt;
          &lt;artifactId&gt;maven-clean-plugin&lt;/artifactId&gt;
          &lt;version&gt;2.5&lt;/version&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;id&gt;default-clean&lt;/id&gt;
              &lt;phase&gt;clean&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;clean&lt;/goal&gt;
              &lt;/goals&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
        &lt;/plugin&gt;
        &lt;plugin&gt;
          &lt;artifactId&gt;maven-resources-plugin&lt;/artifactId&gt;
          &lt;version&gt;2.6&lt;/version&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;id&gt;default-testResources&lt;/id&gt;
              &lt;phase&gt;process-test-resources&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;testResources&lt;/goal&gt;
              &lt;/goals&gt;
            &lt;/execution&gt;
            &lt;execution&gt;
              &lt;id&gt;default-resources&lt;/id&gt;
              &lt;phase&gt;process-resources&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;resources&lt;/goal&gt;
              &lt;/goals&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
        &lt;/plugin&gt;
        &lt;plugin&gt;
          &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
          &lt;version&gt;2.4&lt;/version&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;id&gt;default-jar&lt;/id&gt;
              &lt;phase&gt;package&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;jar&lt;/goal&gt;
              &lt;/goals&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
        &lt;/plugin&gt;
        &lt;plugin&gt;
          &lt;artifactId&gt;maven-install-plugin&lt;/artifactId&gt;
          &lt;version&gt;2.4&lt;/version&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;id&gt;default-install&lt;/id&gt;
              &lt;phase&gt;install&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;install&lt;/goal&gt;
              &lt;/goals&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
        &lt;/plugin&gt;
        &lt;plugin&gt;
          &lt;artifactId&gt;maven-deploy-plugin&lt;/artifactId&gt;
          &lt;version&gt;2.7&lt;/version&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;id&gt;default-deploy&lt;/id&gt;
              &lt;phase&gt;deploy&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;deploy&lt;/goal&gt;
              &lt;/goals&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
        &lt;/plugin&gt;
        &lt;plugin&gt;
          &lt;artifactId&gt;maven-site-plugin&lt;/artifactId&gt;
          &lt;version&gt;3.3&lt;/version&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;id&gt;default-site&lt;/id&gt;
              &lt;phase&gt;site&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;site&lt;/goal&gt;
              &lt;/goals&gt;
              &lt;configuration&gt;
                &lt;outputDirectory&gt;C:\munlai\websitepractice\ActiveMQ\source\amq-in-action-example-src\target\site&lt;/outputDirectory&gt;
                &lt;reportPlugins&gt;
                  &lt;reportPlugin&gt;
                    &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                    &lt;artifactId&gt;maven-project-info-reports-plugin&lt;/artifactId&gt;
                  &lt;/reportPlugin&gt;
                &lt;/reportPlugins&gt;
              &lt;/configuration&gt;
            &lt;/execution&gt;
            &lt;execution&gt;
              &lt;id&gt;default-deploy&lt;/id&gt;
              &lt;phase&gt;site-deploy&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;deploy&lt;/goal&gt;
              &lt;/goals&gt;
              &lt;configuration&gt;
                &lt;outputDirectory&gt;C:\munlai\websitepractice\ActiveMQ\source\amq-in-action-example-src\target\site&lt;/outputDirectory&gt;
                &lt;reportPlugins&gt;
                  &lt;reportPlugin&gt;
                    &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                    &lt;artifactId&gt;maven-project-info-reports-plugin&lt;/artifactId&gt;
                  &lt;/reportPlugin&gt;
                &lt;/reportPlugins&gt;
              &lt;/configuration&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
          &lt;configuration&gt;
            &lt;outputDirectory&gt;C:\munlai\websitepractice\ActiveMQ\source\amq-in-action-example-src\target\site&lt;/outputDirectory&gt;
            &lt;reportPlugins&gt;
              &lt;reportPlugin&gt;
                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                &lt;artifactId&gt;maven-project-info-reports-plugin&lt;/artifactId&gt;
              &lt;/reportPlugin&gt;
            &lt;/reportPlugins&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
      &lt;/plugins&gt;
    &lt;/build&gt;
    &lt;reporting&gt;
      &lt;outputDirectory&gt;C:\munlai\websitepractice\ActiveMQ\source\amq-in-action-example-src\target\site&lt;/outputDirectory&gt;
    &lt;/reporting&gt;
  &lt;/project&gt;
  
  
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD SUCCESS
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time:  11.162 s
  [INFO] Finished at: 2019-06-17T23:59:51+08:00
  [INFO] ------------------------------------------------------------------------
  PS C:\munlai\websitepractice\ActiveMQ\source\amq-in-action-example-src&gt;
  </code></pre>
  
  <p>Under the local repository C:\Users\wmunlai.m2\, I do see a few files called "resolver-status.properties". Could this be the cause? May I know the purpose of this file "resolver-status.properties". The content of one of this file is shown below:</p>
  
  <pre><code>#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
  #Mon Jun 17 23:58:04 SGT 2019
  maven-metadata-apache.snapshots.xml.error=
  maven-metadata-release.openqa.org.xml.error=Could not transfer metadata org.springframework\:spring/maven-metadata.xml from/to release.openqa.org (http\://archiva.openqa.org/repository/releases)\: Connect to archiva.openqa.org\:80 [archiva.openqa.org/199.102.165.92] failed\: Connection timed out\: connect
  maven-metadata-java.net.xml.lastUpdated=1560787064788
  maven-metadata-codehausSnapshots.xml/@default-codehausSnapshots-http\://snapshots.maven.codehaus.org/maven2/.lastUpdated=1560681286264
  maven-metadata-java.net.m2.xml.lastUpdated=1560787065347
  maven-metadata-release.openqa.org.xml/@default-release.openqa.org-http\://archiva.openqa.org/repository/releases/.lastUpdated=1560787084477
  maven-metadata-java.net.xml.error=
  maven-metadata-java.net.m2.xml.error=
  maven-metadata-codehausSnapshots.xml.lastUpdated=1560686487495
  maven-metadata-central.xml.lastUpdated=1560787063879
  maven-metadata-apache.snapshots.xml.lastUpdated=1560787064417
  </code></pre>
  
  <p>It seems that this file camel-web-2.0.0.pom contains the following code that caused this problem:
  C:\Users\wmunlai.m2\repository\org\apache\camel\camel-web\2.0.0\camel-web-2.0.0.pom</p>
  
  <pre><code>&lt;repositories&gt;
      &lt;repository&gt;
        &lt;id&gt;java.net.m2&lt;/id&gt;
        &lt;name&gt;java.net Maven 2 Repo&lt;/name&gt;
        &lt;url&gt;http://download.java.net/maven/2&lt;/url&gt;
      &lt;/repository&gt;
      &lt;repository&gt;
        &lt;id&gt;release.openqa.org&lt;/id&gt;
        &lt;name&gt;OpenQA Releases&lt;/name&gt;
        &lt;url&gt;http://archiva.openqa.org/repository/releases&lt;/url&gt;
        &lt;releases&gt;
          &lt;enabled&gt;true&lt;/enabled&gt;
        &lt;/releases&gt;
        &lt;snapshots&gt;
          &lt;enabled&gt;false&lt;/enabled&gt;
        &lt;/snapshots&gt;
      &lt;/repository&gt;
    &lt;/repositories&gt;
  </code></pre>