<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--

   Copyright 2010 OpenEngSB Division, Vienna University of Technology

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

-->

<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">

  <modelVersion>4.0.0</modelVersion>

  <properties>
    <!-- Version Informtations -->
    <openengsb.version.number>${project.version}</openengsb.version.number>
    <openengsb.version.name.adjective>Icy</openengsb.version.name.adjective>
    <openengsb.version.name.noun>Ikarus</openengsb.version.name.noun>
    <!-- General Settings -->
    <root.basedir>${project.basedir}</root.basedir>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <!-- Environment Versions -->
    <jdk.version>1.6</jdk.version>
    <mvn.version>2.1</mvn.version>
    <!-- Plugin Version -->
    <maven.plugin.eclipse.version>2.8</maven.plugin.eclipse.version>
    <maven.plugin.surefire.version>2.6</maven.plugin.surefire.version>
    <maven.plugin.surefire.report.version>2.6</maven.plugin.surefire.report.version>
    <maven.plugin.release.version>3.0-beta-2</maven.plugin.release.version>
    <maven.plugin.compiler.version>2.3.2</maven.plugin.compiler.version>
    <maven.plugin.clean.version>2.4.1</maven.plugin.clean.version>
    <maven.plugin.jar.version>2.3.1</maven.plugin.jar.version>
    <maven.plugin.deploy.version>2.5</maven.plugin.deploy.version>
    <maven.plugin.release.version>2.0</maven.plugin.release.version>
    <maven.plugin.site.version>3.0-beta-3</maven.plugin.site.version>
    <maven.plugin.source.version>2.1.2</maven.plugin.source.version>
    <maven.plugin.mvn.license>1.8.0</maven.plugin.mvn.license>
    <maven.plugin.javadoc.version>2.7</maven.plugin.javadoc.version>
    <maven.plugin.helper.version>1.5</maven.plugin.helper.version>
    <maven.plugin.resources.version>2.4.3</maven.plugin.resources.version>
    <maven.plugin.install.version>2.3.1</maven.plugin.install.version>
    <maven.plugin.wagon.webdav.version>1.0-beta-2</maven.plugin.wagon.webdav.version>
    <maven.plugin.wagon.ssh.version>1.0-beta-6</maven.plugin.wagon.ssh.version>
    <javax.xml.soap>1.3.0</javax.xml.soap>
    <!-- Dependency Versions -->
    <junit.version>4.8.2</junit.version>
    <twdata.cli.version>1.0.5</twdata.cli.version>
    <clover.version>3.0.2</clover.version>
    <plugin.pax.version>1.4</plugin.pax.version>
    <plugin.paxrunner.version>1.5.0</plugin.paxrunner.version>
  </properties>

  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>5</version>
  </parent>

  <groupId>org.openengsb</groupId>
  <artifactId>openengsb-parent</artifactId>
  <packaging>pom</packaging>
  <version>1.1.0.M2</version>
  <name>OpenEngSB :: Parent</name>

  <description>
    Parent project of all OpenEngSB subprojects. The OpenEngSB could be seen as an extension to an
    Enterprise Service Bus and is based on JBI (Service Mix). With this project it is tried to provide as many as
    possible SE domains and to allow to combine the tools as easily as possible.
  </description>

  <url>http://openengsb.org</url>

  <licenses>
    <license>
      <name>Apache 2</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <modules>
    <module>tooling</module>
    <module>docs</module>
    <module>poms</module>
    <module>provision</module>
    <module>wrapped</module>
    <module>config</module>
    <module>core</module>
    <module>domain</module>
    <module>connector</module>
    <module>ui</module>
    <module>assembly</module>
    <module>integrationtest</module>
  </modules>

  <inceptionYear>2009</inceptionYear>

  <scm>
    <connection>scm:git:git://github.com/openengsb/openengsb.git</connection>
    <developerConnection>scm:git:git@github.com:openengsb/openengsb.git</developerConnection>
    <url>http://github.com/openengsb/openengsb</url>
  </scm>

  <issueManagement>
    <system>JIRA</system>
    <url>http://issues.openengsb.org/jira/browse/OPENENGSB</url>
  </issueManagement>

  <ciManagement>
    <system>OpenCIT</system>
    <url>http://build.openengsb.org/opencit/</url>
  </ciManagement>

  <developers>
    <developer>
      <id>api</id>
      <name>Andreas Pieber</name>
      <email>andreas.pieber [at] ifs.tuwien.ac.at</email>
      <timezone>+1</timezone>
      <roles>
        <role>Project Lead</role>
        <role>Developer</role>
        <role>Release Manager</role>
        <role>Administrator</role>
      </roles>
    </developer>
    <developer>
      <id>mha</id>
      <name>Michael Handler</name>
      <email>michael.handler [at] fullstop.at</email>
      <timezone>+1</timezone>
      <roles>
        <role>Developer</role>
        <role>Release Manager</role>
      </roles>
    </developer>
    <developer>
      <id>cgr</id>
      <name>Christoph Gritschenberger</name>
      <email>e0525747 [at] student.tuwien.ac.at</email>
      <timezone>+1</timezone>
      <roles>
        <role>Developer</role>
        <role>Release Manager</role>
        <role>Administrator</role>
      </roles>
    </developer>
    <developer>
      <id>mzo</id>
      <name>Michael Zoech</name>
      <email>zoech [at] qse.ifs.tuwien.ac.at</email>
      <timezone>+1</timezone>
      <roles>
        <role>Developer</role>
      </roles>
    </developer>
    <developer>
      <id>pho</id>
      <name>Philipp Hoenisch</name>
      <email>philipp.hoenisch [at] gmail.com</email>
      <timezone>+1</timezone>
      <roles>
        <role>Developer</role>
      </roles>
    </developer>
    <developer>
      <id>tho</id>
      <name>Tobias Hochwallner</name>
      <email>tobster [at] gmx.at</email>
      <timezone>+1</timezone>
      <roles>
        <role>Developer</role>
      </roles>
    </developer>
    <developer>
      <id>fmo</id>
      <name>Florian Motlik</name>
      <email>flomotlik [at] gmail.com</email>
      <timezone>+1</timezone>
      <roles>
        <role>Developer</role>
        <role>Release Manager</role>
      </roles>
    </developer>
    <developer>
      <id>mhe</id>
      <name>Michael Heil</name>
      <email>michael.heil [at] chello.at</email>
      <timezone>+1</timezone>
      <roles>
        <role>Developer</role>
      </roles>
    </developer>
  </developers>

  <contributors>
    <contributor>
      <name>Patrick Peer</name>
      <email>e0326352 [at] gmail.com</email>
      <timezone>+1</timezone>
    </contributor>
    <contributor>
      <name>Christoph Zehetner</name>
      <email>christoph.zehetner [at] gmx.at</email>
      <timezone>+1</timezone>
    </contributor>
    <contributor>
      <name>Alexander Pucher</name>
      <email>engsb [at] alexander-pucher.com</email>
      <timezone>+1</timezone>
    </contributor>
    <contributor>
      <name>David Waldhans</name>
      <email>david [at] waldhans.at</email>
      <timezone>+1</timezone>
    </contributor>
    <contributor>
      <name>Lukas Puschmann</name>
      <email>lukas.puschmann [at] gmx.at</email>
      <timezone>+1</timezone>
    </contributor>
    <contributor>
      <name>Johannes Binder</name>
      <email>j.binder.x [at] gmail.com</email>
      <timezone>+1</timezone>
    </contributor>
    <contributor>
      <name>Gernot Rumpold</name>
      <email>gernot.rumpold [at] gmail.com</email>
      <timezone>+1</timezone>
    </contributor>
    <contributor>
      <name>Florian Waltersdorfer</name>
      <email>ignatiomobius [at] gmail.com</email>
      <timezone>+1</timezone>
    </contributor>
    <contributor>
      <name>Christoph Leiter</name>
      <email>openengsb [at] christophleiter.com</email>
      <timezone>+1</timezone>
    </contributor>
    <contributor>
      <name>Kristof Meixner</name>
      <email>kristof.meixner [at] fatlenny.net</email>
      <timezone>+1</timezone>
    </contributor>
    <contributor>
      <name>Lukas Stampf</name>
      <email>lukas.stampf [at] gmx.at</email>
      <timezone>+1</timezone>
    </contributor>
    <contributor>
      <name>Gregor Ryba</name>
      <email>gregor.ryba [at] infor.com</email>
      <timezone>+1</timezone>
    </contributor>
    <contributor>
      <name>Daniel Driza</name>
      <email>daniel.driza [at] gmail.com</email>
      <timezone>+1</timezone>
    </contributor>
    <contributor>
      <name>Ioanna Lytra</name>
      <email>jlytra [at] gmail.com</email>
      <timezone>+1</timezone>
    </contributor>
    <contributor>
      <name>Petr Horinek</name>
      <email>horinek.petr [at] gmail.com</email>
      <timezone>+1</timezone>
    </contributor>
    <contributor>
      <name>Eduard Szente</name>
      <email>eduard.szente [at] gmail.com</email>
      <timezone>+1</timezone>
    </contributor>
    <contributor>
      <name>Christoph Karner</name>
      <email>ch.karner [at] gmail.com</email>
      <timezone>+1</timezone>
    </contributor>
  </contributors>

  <build>
    <resources>
      <resource>
        <directory>src/main/resources</directory>
        <includes>
          <include>**/*</include>
        </includes>
      </resource>
    </resources>
    <extensions>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-webdav</artifactId>
        <version>${maven.plugin.wagon.webdav.version}</version>
      </extension>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-ssh</artifactId>
        <version>${maven.plugin.wagon.ssh.version}</version>
      </extension>
    </extensions>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>${maven.plugin.compiler.version}</version>
        <configuration>
          <source>${jdk.version}</source>
          <target>${jdk.version}</target>
          <fork>true</fork>
          <meminitial>128m</meminitial>
          <maxmem>512m</maxmem>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>${maven.plugin.jar.version}</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-clean-plugin</artifactId>
        <version>${maven.plugin.clean.version}</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
        <version>${maven.plugin.eclipse.version}</version>
        <configuration>
          <downloadSources>true</downloadSources>
          <downloadJavadocs>true</downloadJavadocs>
          <workspace>eclipse-workspace</workspace>
          <workspaceCodeStylesURL>file:etc/eclipse/formatter.xml</workspaceCodeStylesURL>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-deploy-plugin</artifactId>
        <version>${maven.plugin.deploy.version}</version>
        <configuration>
          <remoteOBR>true</remoteOBR>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.twdata.maven</groupId>
        <artifactId>maven-cli-plugin</artifactId>
        <version>${twdata.cli.version}</version>
      </plugin>
      <plugin>
        <groupId>com.atlassian.maven.plugins</groupId>
        <artifactId>maven-clover2-plugin</artifactId>
        <version>${clover.version}</version>
        <configuration>
          <generateHtml>false</generateHtml>
          <generatePdf>false</generatePdf>
          <generateXml>true</generateXml>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <version>${maven.plugin.site.version}</version>
        <extensions>true</extensions>
      </plugin>
      <plugin>
        <inherited>false</inherited>
        <groupId>com.mycila.maven-license-plugin</groupId>
        <artifactId>maven-license-plugin</artifactId>
        <version>${maven.plugin.mvn.license}</version>
        <configuration>
          <header>${basedir}/etc/license/header.txt</header>
          <failIfMissing>true</failIfMissing>
          <aggregate>true</aggregate>
          <strictCheck>true</strictCheck>
          <excludes>
            <exclude>etc/eclipse/checkstyle.xml</exclude>
            <exclude>license.txt</exclude>
            <exclude>**/*.vm</exclude>
            <exclude>**/license.txt</exclude>
            <exclude>runner/**</exclude>
            <exclude>assembly/runner/**</exclude>
            <exclude>features/**</exclude>
            <exclude>NOTICE</exclude>
            <exclude>**/*.3pm</exclude>
            <exclude>**/*.dll</exclude>
            <exclude>**/*.pdb</exclude>
            <exclude>**/*.pdf</exclude>
            <exclude>**/LICENSE</exclude>
            <exclude>**/*checkstyle.xml</exclude>
            <exclude>**/*.log.*</exclude>
            <exclude>**/*.log</exclude>
            <exclude>**/*.packlist</exclude>
            <exclude>**/*.pod</exclude>
            <exclude>**/imports</exclude>
            <exclude>**/globals</exclude>
            <exclude>**/.keep</exclude>
            <exclude>**/EngSB.sln</exclude>
            <exclude>**/.checkstyle</exclude>
            <exclude>**/nb-configuration.xml</exclude>
          </excludes>
          <mapping>
            <bnd>SCRIPT_STYLE</bnd>
            <drl>SCRIPT_STYLE</drl>
            <index>SCRIPT_STYLE</index>
            <gitignore>SCRIPT_STYLE</gitignore>
            <cfg>SCRIPT_STYLE</cfg>
            <wsdl>XML_STYLE</wsdl>
            <csproj>XML_STYLE</csproj>
            <rf>XML_STYLE</rf>
            <composite>SCRIPT_STYLE</composite>
            <config>XML_STYLE</config>
            <script>DOUBLESLASH_STYLE</script>
            <rule>SCRIPT_STYLE</rule>
          </mapping>
        </configuration>
      </plugin>
    </plugins>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-source-plugin</artifactId>
          <version>${maven.plugin.source.version}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-javadoc-plugin</artifactId>
          <version>${maven.plugin.javadoc.version}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-resources-plugin</artifactId>
          <version>${maven.plugin.resources.version}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-install-plugin</artifactId>
          <version>${maven.plugin.install.version}</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>build-helper-maven-plugin</artifactId>
          <version>${maven.plugin.helper.version}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>${maven.plugin.surefire.version}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-report-plugin</artifactId>
          <version>${maven.plugin.surefire.report.version}</version>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>

  <profiles>
    <profile>
      <id>run</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.ops4j</groupId>
            <artifactId>maven-pax-plugin</artifactId>
            <version>${plugin.pax.version}</version>
            <configuration>
              <runner>${plugin.paxrunner.version}</runner>
              <framework>felix</framework>
              <noDependencies>true</noDependencies>
              <provision>
                <param>--platform=felix</param>
                <param>--console=false</param>
                <param>--vmOptions=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005</param>
                <param>scan-composite:file:assembly/target/classes/karaf.composite</param>
                <param>scan-composite:file:assembly/target/classes/settings.debug.composite</param>
                <param>--ee=J2SE-1.6</param>
                <param>--definitionURL=file:assembly/target/classes/felix.xml</param>
              </provision>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>nightly</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals>
                  <goal>jar-no-fork</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-javadocs</id>
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>milestone</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-release-plugin</artifactId>
            <version>${maven.plugin.release.version}</version>
            <configuration>
              <autoVersionSubmodules>true</autoVersionSubmodules>
              <mavenExecutorId>forked-path</mavenExecutorId>
              <useReleaseProfile>false</useReleaseProfile>
              <pushChanges>false</pushChanges>
              <arguments>-Psonatype-oss-release,release,milestone -Dmaven.test.skip=true -DpushChanges=false</arguments>
              <preparationGoals>clean install</preparationGoals>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>final</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-release-plugin</artifactId>
            <version>${maven.plugin.release.version}</version>
            <configuration>
              <autoVersionSubmodules>true</autoVersionSubmodules>
              <mavenExecutorId>forked-path</mavenExecutorId>
              <useReleaseProfile>false</useReleaseProfile>
              <pushChanges>false</pushChanges>
              <arguments>-Psonatype-oss-release,release,final -Dmaven.test.skip=true -DpushChanges=false</arguments>
              <preparationGoals>clean install</preparationGoals>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>support</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-release-plugin</artifactId>
            <version>${maven.plugin.release.version}</version>
            <configuration>
              <autoVersionSubmodules>true</autoVersionSubmodules>
              <mavenExecutorId>forked-path</mavenExecutorId>
              <useReleaseProfile>false</useReleaseProfile>
              <pushChanges>false</pushChanges>
              <arguments>-Psonatype-oss-release,release,support -Dmaven.test.skip=true -DpushChanges=false</arguments>
              <preparationGoals>clean install</preparationGoals>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>rc</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-release-plugin</artifactId>
            <version>${maven.plugin.release.version}</version>
            <configuration>
              <autoVersionSubmodules>true</autoVersionSubmodules>
              <mavenExecutorId>forked-path</mavenExecutorId>
              <useReleaseProfile>false</useReleaseProfile>
              <pushChanges>false</pushChanges>
              <arguments>-Psonatype-oss-release,release,rc -Dmaven.test.skip=true -DpushChanges=false</arguments>
              <preparationGoals>clean install</preparationGoals>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>license-check</id>
      <build>
        <plugins>
          <plugin>
            <inherited>false</inherited>
            <groupId>com.mycila.maven-license-plugin</groupId>
            <artifactId>maven-license-plugin</artifactId>
            <version>1.8.0</version>
            <configuration>
              <header>${basedir}/etc/license/header.txt</header>
              <failIfMissing>true</failIfMissing>
              <aggregate>true</aggregate>
              <strictCheck>true</strictCheck>
              <excludes>
                <exclude>etc/eclipse/checkstyle.xml</exclude>
                <exclude>license.txt</exclude>
                <exclude>**/*.vm</exclude>
                <exclude>**/license.txt</exclude>
                <exclude>runner/**</exclude>
                <exclude>assembly/runner/**</exclude>
                <exclude>features/**</exclude>
                <exclude>NOTICE</exclude>
                <exclude>**/*.3pm</exclude>
                <exclude>**/*.dll</exclude>
                <exclude>**/*.pdb</exclude>
                <exclude>**/*.pdf</exclude>
                <exclude>**/LICENSE</exclude>
                <exclude>**/*checkstyle.xml</exclude>
                <exclude>**/*.log.*</exclude>
                <exclude>**/*.log</exclude>
                <exclude>**/*.packlist</exclude>
                <exclude>**/*.pod</exclude>
                <exclude>**/imports</exclude>
                <exclude>**/globals</exclude>
                <exclude>**/.keep</exclude>
                <exclude>**/EngSB.sln</exclude>
                <exclude>**/nb-configuration.xml</exclude>
                <exclude>**/*.checkstyle</exclude>
                <!-- the exclusion for .rf-files should be removed, when the xmlstyle is fixed OPENENGSB-379 -->
                <exclude>**/*.rf</exclude>
              </excludes>
              <mapping>
                <bnd>SCRIPT_STYLE</bnd>
                <drl>SCRIPT_STYLE</drl>
                <index>SCRIPT_STYLE</index>
                <gitignore>SCRIPT_STYLE</gitignore>
                <cfg>SCRIPT_STYLE</cfg>
                <wsdl>XML_STYLE</wsdl>
                <csproj>XML_STYLE</csproj>
                <rf>XML_STYLE</rf>
                <composite>SCRIPT_STYLE</composite>
                <config>XML_STYLE</config>
                <script>DOUBLESLASH_STYLE</script>
                <rule>SCRIPT_STYLE</rule>
              </mapping>
            </configuration>
            <executions>
              <execution>
                <id>check-headers</id>
                <phase>validate</phase>
                <goals>
                  <goal>check</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>license-format</id>
      <build>
        <plugins>
          <plugin>
            <inherited>false</inherited>
            <groupId>com.mycila.maven-license-plugin</groupId>
            <artifactId>maven-license-plugin</artifactId>
            <executions>
              <execution>
                <id>check-headers</id>
                <phase>validate</phase>
                <goals>
                  <goal>format</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>integration-test</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
              <excludes>
                <exclude>*</exclude>
              </excludes>
              <includes>
                <include>**/*Test.java</include>
                <include>**/*IT.java</include>
              </includes>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

  <pluginRepositories>
    <pluginRepository>
      <id>central</id>
      <name>Maven Central</name>
      <url>http://repo1.maven.org/maven2/</url>
    </pluginRepository>
    <pluginRepository>
      <id>sonatype-snapshots</id>
      <name>Sonaype Snapsht Repository</name>
      <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
      <releases>
        <enabled>false</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </pluginRepository>
    <pluginRepository> <!-- maven jaxb-xjc-plugin -->
      <id>maven-repository.dev.java.net</id>
      <name>Java.net Maven 2 Repository</name>
      <url>http://download.java.net/maven/2</url>
    </pluginRepository>
    <pluginRepository> <!-- for mvn-cli-plugin -->
      <id>twdata-m2-repository</id>
      <name>twdata.org Maven 2 Repository</name>
      <url>http://twdata-m2-repository.googlecode.com/svn/</url>
    </pluginRepository>
    <pluginRepository>
      <id>jai.repository</id>
      <name>JAI Repository (indirectly used by Docbook plugin)</name>
      <url>https://m2proxy.atlassian.com/repository/public</url>
    </pluginRepository>

  </pluginRepositories>

  <repositories>
    <repository>
      <id>central</id>
      <name>Maven Central</name>
      <url>http://repo1.maven.org/maven2/</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
    <repository> <!-- for jboss-drools and its dependencies -->
      <id>jboss</id>
      <url>https://repository.jboss.org/nexus/content/groups/public/</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
    <repository> <!-- various prewrapped -->
      <id>com.springsource.repository.bundles.external</id>
      <name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
      <url>http://repository.springsource.com/maven/bundles/external</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
    <repository> <!-- org.springframework.osgi:jetty.start.osgi -->
      <id>i21-s3-osgi-repo</id>
      <name>i21 osgi artifacts repo</name>
      <url>http://maven.springframework.org/osgi</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
    <repository> <!-- spring-osgi-m1 -->
      <id>spring-maven-milestone</id>
      <name>Springframework Maven Repository</name>
      <url>http://maven.springframework.org/milestone</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
    <repository> <!-- manually wrapped jaxb and latest version of neodatis -->
      <id>thirdparty</id>
      <name>OpenEngSB 3rd Party Repository</name>
      <url>http://maven.openengsb.org/nexus/content/repositories/thirdparty/</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
    <repository>
      <!-- required for maven-default-skin/1.0/maven-default-skin-1.0.jar
        cd docs; mvn -Pdocs clean install site:run
        does not work without
      -->
      <id>apache</id>
      <name>Apache Public Repository</name>
      <url>https://repository.apache.org/content/groups/public/</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
    <repository> <!-- Additional Repositories for Karaf -->
      <id>servicemix</id>
      <name>Apache ServiceMix Repository</name>
      <url>http://svn.apache.org/repos/asf/servicemix/m2-repo</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
    <repository> <!-- Additional Repositories for Karaf -->
      <id>fusesource.snapshots</id>
      <name>FuseSource snapshot repository</name>
      <url>http://repo.fusesource.com/nexus/content/repositories/releases</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
    <repository> <!-- JGIT  -->
      <id>jgit</id>
      <url>http://download.eclipse.org/jgit/maven</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
    <repository> <!-- Latest PAX artifacts as long as not in central -->
      <id>sonatype.pax</id>
      <url>https://oss.sonatype.org/content/groups/ops4j-with-staging/</url>
    </repository>
  </repositories>

</project>

