Skip this when using version 3.1.2

If you are using version 3.1.2 or above of Apache ServiceMix, you do not need the additional Maven 2 repository configuration described below!

Due to Apache Incubator policies, the ServiceMix 3.1.1-incubating release and earlier are not available in public Maven repositories, so you need to
either:

  • Build ServiceMix from the source, or
  • Modify your local Maven configuration to include an additional repository

The last point can be done by modifying your ~/.m2/settings.xml configuration file to include the following information:

<settings>

  <profiles>
    <profile>
      <id>incubating</id>
      <repositories>
        <repository>
          <id>apache-incubating</id>
          <url>http://people.apache.org/repo/m2-incubating-repository</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>apache-incubating</id>
          <url>http://people.apache.org/repo/m2-incubating-repository</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>

  <activeProfiles>
    <activeProfile>incubating</activeProfile>
  </activeProfiles>

</settings>