Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{scrollbar}

Anchor
top
top

4. Examples

The ServiceMix distribution comes with several examples categories. The following sections of this document will help you understanding the differences between these examples and explain alternative methods to start them

...

#top

Maven configuration

Due to Apache Incubator policies, the ServiceMix release is not available on in public maven Maven repositories, so you need to either:

  • build Build ServiceMix from sourcesthe source, or
  • Modify your local Maven modify your 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 informationsinformation:

Code Block
langxml
<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>

JBI packaging using Maven

...