Pom of org.jboss.narayana:narayana-all:5.5.7.Final

Back to org.jboss.narayana:narayana-all:5.5.7.Final

<?xml version="1.0"?>
<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">
  <!-- JBoss, Home of Professional Open Source Copyright 2009, Red Hat Middleware 
                LLC, and individual contributors as indicated by the @author tags. See the 
                copyright.txt in the distribution for a full listing of individual contributors. 
                This copyrighted material is made available to anyone wishing to use, modify, 
                copy, or redistribute it subject to the terms and conditions of the GNU Lesser 
                General Public License, v. 2.1. This program is distributed in the hope that 
                it will be useful, but WITHOUT A WARRANTY; without even the implied warranty 
                of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser 
                General Public License for more details. You should have received a copy 
                of the GNU Lesser General Public License, v.2.1 along with this distribution; 
                if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 
                Fifth Floor, Boston, MA 02110-1301, USA. (C) 2009, @author JBoss Inc. (jonathan.halliday@redhat.com) -->

  <parent>
    <groupId>org.jboss</groupId>
    <artifactId>jboss-parent</artifactId>
    <version>20</version>
  </parent>

  <modelVersion>4.0.0</modelVersion>
  <groupId>org.jboss.narayana</groupId>
  <artifactId>narayana-all</artifactId>
  <version>5.5.7.Final</version>
  <packaging>pom</packaging>
  <url>http://www.jboss.org/jbosstm/</url>
  <name>Narayana: all</name>
  <description>${project.artifactId}</description>
  <issueManagement>
    <system>JIRA</system>
    <url>https://jira.jboss.org/jira/browse/JBTM/</url>
  </issueManagement>
  <ciManagement>
    <system>hudson</system>
    <url>http://hudson.qa.jboss.com/hudson/view/JBossTS/</url>
  </ciManagement>
  <developers>
    <developer>
      <id>nmcl</id>
      <name>Mark Little</name>
      <email>mlittle@redhat.com</email>
      <organization>JBoss</organization>
      <organizationUrl>http://www.jboss.org/</organizationUrl>
      <roles>
        <role>JBoss CTO</role>
      </roles>
      <timezone>0</timezone>
    </developer>
    <developer>
      <id>tomjenkinson</id>
      <name>Tom Jenkinson</name>
      <email>tom.jenkinson@redhat.com</email>
      <organization>JBoss</organization>
      <organizationUrl>http://www.jboss.org/</organizationUrl>
      <roles>
        <role>project lead</role>
      </roles>
      <timezone>0</timezone>
    </developer>
    <developer>
      <id>paulrobinson</id>
      <name>Paul Robinson</name>
      <email>paul.robinson@redhat.com</email>
      <organization>JBoss</organization>
      <organizationUrl>http://www.jboss.org/</organizationUrl>
      <roles>
        <role>xts lead</role>
      </roles>
      <timezone>0</timezone>
    </developer>
    <developer>
      <id>mmusgrov</id>
      <name>Michael Musgrove</name>
      <email>mmusgrov@redhat.com</email>
      <organization>JBoss</organization>
      <organizationUrl>http://www.jboss.org/</organizationUrl>
      <roles>
        <role>Core Developer</role>
      </roles>
      <timezone>0</timezone>
    </developer>
    <developer>
      <id>zhfeng</id>
      <name>Amos Feng</name>
      <email>zfeng@redhat.com</email>
      <organization>JBoss</organization>
      <organizationUrl>http://www.jboss.org/</organizationUrl>
      <roles>
        <role>Core Developer</role>
      </roles>
      <timezone>0</timezone>
    </developer>
    <developer>
      <id>istudens</id>
      <name>Ivo Studensky</name>
      <email>istudens@redhat.com</email>
      <organization>JBoss</organization>
      <organizationUrl>http://www.jboss.org/</organizationUrl>
      <roles>
        <role>QA lead</role>
      </roles>
      <timezone>0</timezone>
    </developer>
    <developer>
      <id>jhalliday</id>
      <name>Jonathan Halliday</name>
      <email>jonathan.halliday@redhat.com</email>
      <organization>JBoss</organization>
      <organizationUrl>http://www.jboss.org/</organizationUrl>
      <timezone>0</timezone>
    </developer>
    <developer>
      <id>adinn</id>
      <name>Andrew Dinn</name>
      <email>adinn@redhat.com</email>
      <organization>JBoss</organization>
      <organizationUrl>http://www.jboss.org/</organizationUrl>
      <timezone>0</timezone>
    </developer>
  </developers>
  <licenses>
    <license>
      <name>LGPL 2.1</name>
      <url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
    </license>
  </licenses>
  <scm>
    <connection>scm:git:git@github.com:jbosstm/narayana.git</connection>
    <developerConnection>scm:git:git@github.com:jbosstm/narayana.git</developerConnection>
    <url>https://github.com/jbosstm/narayana</url>
  </scm>
  <pluginRepositories>
    <pluginRepository>
      <id>jboss-public-repository-group</id>
      <name>JBoss Public Repository Group</name>
      <url>http://repository.jboss.org/nexus/content/groups/public/</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </pluginRepository>
  </pluginRepositories>
  <repositories>
    <repository>
      <id>jbossThirdParty</id>
      <url>https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/</url>
    </repository>
    <repository>
      <id>jboss-public-repository-group</id>
      <name>JBoss Public Maven Repository Group</name>
      <url>https://repository.jboss.org/nexus/content/groups/public/</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
    <!-- Needed for rts -->
    <repository>
      <id>download-java-net</id>
      <name>download-java-net</name>
      <url>http://download.java.net/maven/2/</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
  </repositories>
  <distributionManagement>
    <repository>
      <id>jboss-releases-repository</id>
      <name>JBoss Release Repository</name>
      <url>https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/</url>
    </repository>
    <snapshotRepository>
      <id>jboss-snapshots-repository</id>
      <name>JBoss Snapshot Repository</name>
      <url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url>
    </snapshotRepository>
  </distributionManagement>

  <build>
    <pluginManagement>
      <plugins>
        <plugin>
            <groupId>org.jboss.byteman</groupId>
            <artifactId>byteman-rulecheck-maven-plugin</artifactId>
            <version>${version.org.jboss.byteman}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-shade-plugin</artifactId>
          <configuration>
            <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>jboss-maven-plugin</artifactId>
          <version>${version.org.codehaus.mojo.jboss-maven-plugin}</version>
        </plugin>
        <plugin>
          <groupId>org.jboss.as.plugins</groupId>
          <artifactId>jboss-as-maven-plugin</artifactId>
          <version>${version.org.jboss.as.plugins.jboss-as-maven-plugin}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-jar-plugin</artifactId>
          <configuration>
            <archive>
              <manifestEntries>
                  <Implementation-Title>${project.name}</Implementation-Title>
                  <Implementation-URL>http://www.jboss.org/</Implementation-URL>
                  <Implementation-Vendor>JBoss by Red Hat, Inc.</Implementation-Vendor>
                  <Implementation-Vendor-Id>http://www.jboss.org/</Implementation-Vendor-Id>
              </manifestEntries>
            </archive>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-deploy-plugin</artifactId>
          <configuration>
            <skip>true</skip>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.sonatype.plugins</groupId>
          <artifactId>nexus-staging-maven-plugin</artifactId>
          <version>${version.org.sonatype.plugins.nexus-staging-maven-plugin}</version>
          <extensions>true</extensions>
          <configuration>
            <serverId>jboss-releases-repository</serverId>
            <nexusUrl>https://repository.jboss.org/nexus/</nexusUrl>
            <autoReleaseAfterClose>true</autoReleaseAfterClose>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <configuration>
            <argLine>${surefireArgLine}</argLine>
            <forkMode>pertest</forkMode>
            <workingDirectory>target/test-classes</workingDirectory>
            <runOrder>alphabetical</runOrder>
            <redirectTestOutputToFile>${testLogToFile}</redirectTestOutputToFile>
            <inherited>true</inherited>
            <includes>
              <include>**/*.java</include>
            </includes>
          </configuration>
        </plugin>
        <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
        <plugin>
                <groupId>org.eclipse.m2e</groupId>
                <artifactId>lifecycle-mapping</artifactId>
                <version>1.0.0</version>
                <configuration>
                        <lifecycleMappingMetadata>
                                <pluginExecutions>
                                        <pluginExecution>
                                                <pluginExecutionFilter>
                                                        <groupId>
                                                                org.apache.maven.plugins
                                                        </groupId>
                                                        <artifactId>
                                                                maven-dependency-plugin
                                                        </artifactId>
                                                        <versionRange>[2.8,)</versionRange>
                                                        <goals>
                                                                <goal>copy-dependencies</goal>
                                                        </goals>
                                                </pluginExecutionFilter>
                                                <action>
                                                        <ignore></ignore>
                                                </action>
                                        </pluginExecution>
                                        <pluginExecution>
                                                <pluginExecutionFilter>
                                                        <groupId>org.jboss.byteman</groupId>
                                                        <artifactId>
                                                                byteman-rulecheck-maven-plugin
                                                        </artifactId>
                                                        <versionRange>[2.1.3,)</versionRange>
                                                        <goals>
                                                                <goal>rulecheck</goal>
                                                        </goals>
                                                </pluginExecutionFilter>
                                                <action>
                                                        <ignore></ignore>
                                                </action>
                                        </pluginExecution>
                                        <pluginExecution>
                                                <pluginExecutionFilter>
                                                        <groupId>
                                                                org.apache.maven.plugins
                                                        </groupId>
                                                        <artifactId>
                                                                maven-antrun-plugin
                                                        </artifactId>
                                                        <versionRange>[1.7,)</versionRange>
                                                        <goals>
                                                                <goal>run</goal>
                                                        </goals>
                                                </pluginExecutionFilter>
                                                <action>
                                                        <ignore></ignore>
                                                </action>
                                        </pluginExecution>
                                        <pluginExecution>
                                                <pluginExecutionFilter>
                                                        <groupId>org.codehaus.mojo</groupId>
                                                        <artifactId>
                                                                build-helper-maven-plugin
                                                        </artifactId>
                                                        <versionRange>[1.7,)</versionRange>
                                                        <goals>
                                                                <goal>add-source</goal>
                                                        </goals>
                                                </pluginExecutionFilter>
                                                <action>
                                                        <ignore></ignore>
                                                </action>
                                        </pluginExecution>
                                        <pluginExecution>
                                                <pluginExecutionFilter>
                                                        <groupId>org.codehaus.mojo</groupId>
                                                        <artifactId>
                                                                idlj-maven-plugin
                                                        </artifactId>
                                                        <versionRange>[1.2.1,)</versionRange>
                                                        <goals>
                                                                <goal>generate</goal>
                                                                <goal>generate-test</goal>
                                                        </goals>
                                                </pluginExecutionFilter>
                                                <action>
                                                        <ignore></ignore>
                                                </action>
                                        </pluginExecution>
                                </pluginExecutions>
                        </lifecycleMappingMetadata>
                </configuration>
        </plugin>
      </plugins>
    </pluginManagement>

    <plugins>
      <plugin>
        <inherited>false</inherited>
        <groupId>org.sonatype.plugins</groupId>
        <artifactId>nexus-staging-maven-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

  <properties>
    <!-- IP stack configs. -->
    <testLogToFile>true</testLogToFile>
    <jvm.args.ip>-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false</jvm.args.ip>
    <maven.build.timestamp.format>yyyy/MMM/dd HH:mm</maven.build.timestamp.format>
    <buildproperty.date>${maven.build.timestamp}</buildproperty.date>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <jvm.args.byteman>-Dorg.jboss.byteman.verbose
                        -Djboss.modules.system.pkgs=org.jboss.byteman
                        -Dorg.jboss.byteman.transform.all
                        -javaagent:${project.build.directory}/lib/byteman.jar=listener:true
    </jvm.args.byteman>
    <jvm.args.jacoco>-javaagent:${project.build.directory}/lib/jacocoagent.jar=destfile=${project.build.directory}/coverage-reports/jacoco-ut.exec,includes=*,append=true,output=file</jvm.args.jacoco>
    <jvm.args.memory>-Xms1024m -Xmx1024m -XX:MaxPermSize=512m -XX:ParallelGCThreads=2</jvm.args.memory>
    <jvm.args.debug></jvm.args.debug>
    <jvm.args.other>-server</jvm.args.other>
    
    <!-- External dependencies versions -->
    <version.org.codehaus.mojo.findbugs-maven-plugin>3.0.1</version.org.codehaus.mojo.findbugs-maven-plugin>
    <version.org.wildfly.arquillian>1.0.2.Final</version.org.wildfly.arquillian>
    <version.org.jboss.spec.javax.jms.jboss-jms-api_1.1_spec>1.0.1.Final</version.org.jboss.spec.javax.jms.jboss-jms-api_1.1_spec>
    <version.org.jboss.spec.javax.jms.jboss-jms-api_2.0_spec>1.0.0.Final</version.org.jboss.spec.javax.jms.jboss-jms-api_2.0_spec>
    <version.org.jboss.jandex>1.1.0.Final</version.org.jboss.jandex>
    <version.rhino.js>1.7R2</version.rhino.js>
    <version.org.jboss.logmanager>1.5.1.Final</version.org.jboss.logmanager>
    <version.org.jboss.logging.jboss-logging>3.2.1.Final</version.org.jboss.logging.jboss-logging>
    <version.org.jboss.logging.jboss-logging-processor>2.0.0.Final</version.org.jboss.logging.jboss-logging-processor>
    <version.org.jboss.integration>6.0.0.CR1</version.org.jboss.integration>
    <version.org.jboss.ironjacamar>1.1.1.Final</version.org.jboss.ironjacamar>
    <version.org.jboss.ws>1.0.2.Final</version.org.jboss.ws>
    <version.org.jboss.resteasy>3.1.0.Beta1</version.org.jboss.resteasy>
    <version.org.jboss.weld>2.3.5.Final</version.org.jboss.weld>
    <version.org.apache.activemq>1.1.0.wildfly-010</version.org.apache.activemq>
    <version.org.hibernate.javax.persistence>1.0.1.Final</version.org.hibernate.javax.persistence>
    <version.org.jboss.spec.javax.interceptor>1.0.0.Final</version.org.jboss.spec.javax.interceptor>
    <version.org.jboss.spec.javax.transaction>1.0.0.Final</version.org.jboss.spec.javax.transaction>
    <version.org.jboss.spec.javax.ejb>1.0.2.Final</version.org.jboss.spec.javax.ejb>
    <version.org.jboss.spec.javax.servlet>1.0.2.Final</version.org.jboss.spec.javax.servlet>
    <version.org.jboss.spec.jboss-javaee-6.0>3.0.2.Final</version.org.jboss.spec.jboss-javaee-6.0>
    <version.org.jacorb.jacorb>2.3.2-jbossorg-5</version.org.jacorb.jacorb>
    <version.org.jacorb.jacorb-idl-compiler>2.3.1</version.org.jacorb.jacorb-idl-compiler>
    <version.jacorb>2.3.1jboss.patch01-brew</version.jacorb>
    <version.org.jboss.openjdk-orb>8.0.4.Final</version.org.jboss.openjdk-orb>
    <version.javax.annotation>1.2</version.javax.annotation>
    <version.javax.enterprise>1.1</version.javax.enterprise>
    <version.javax.inject>1</version.javax.inject>
    <version.javax.servlet>3.0.1</version.javax.servlet>
    <version.commons-httpclient>3.1-jbossorg-1</version.commons-httpclient>
    <version.commons-logging>1.1.0.jboss</version.commons-logging>
    <version.log4j>1.2.17</version.log4j>
    <version.org.slf4j>1.7.2.jbossorg-1</version.org.slf4j>
    <version.dom4j>1.6.1</version.dom4j>
    <version.jfree>1.0.9</version.jfree>
    <version.com.h2database>1.4.182</version.com.h2database>
    <version.org.apache.tomcat>7.0.70</version.org.apache.tomcat>
    <version.org.apache.ant>1.8.2</version.org.apache.ant>
    <version.org.apache.httpcomponents>4.2.1</version.org.apache.httpcomponents>
    <version.com.sybase.jConnect>6.0</version.com.sybase.jConnect>
    <version.com.oracle>10.2.0.4</version.com.oracle>
    <version.com.ibm>9.7</version.com.ibm>
    <version.postgresql>9.0-801.jdbc4</version.postgresql>
    <version.mysql>5.1.28</version.mysql>
    <version.mariadb>1.2.2</version.mariadb>
    <version.com.microsoft.sqlserver>mssql2005_sqljdbc_2.0</version.com.microsoft.sqlserver>
    <version.sun.jdk>jdk</version.sun.jdk>
    <version.asm>3.3.1</version.asm>
    <version.com.sun.jersey>1.9.1</version.com.sun.jersey>
    <version.com.sun.grizzly>1.9.59</version.com.sun.grizzly>
    <version.org.codehaus.jettison>1.3.4</version.org.codehaus.jettison>
    <version.junit>4.11</version.junit>
    <version.org.jboss.byteman>2.1.3</version.org.jboss.byteman>
    <version.org.jboss.arquillian.core>1.1.7.Final</version.org.jboss.arquillian.core>
    <version.org.jboss.arquillian.container.weld>1.0.0.CR8</version.org.jboss.arquillian.container.weld>
    <version.org.jboss.arquillian.container.tomcat>1.0.0.CR7</version.org.jboss.arquillian.container.tomcat>
    <version.org.jboss.shrinkwrap.resolver>2.2.2</version.org.jboss.shrinkwrap.resolver>
    <version.org.jboss.jboss-transaction-spi>7.6.0.Final</version.org.jboss.jboss-transaction-spi>
    <version.javax.javaee-api>7.0</version.javax.javaee-api>
    <version.javax.ws.rs-api>2.0.1</version.javax.ws.rs-api>
    <version.org.mockito>1.10.19</version.org.mockito>

    <!-- Maven plugin versions -->
    <version.org.codehaus.mojo.jboss-maven-plugin>1.5.0</version.org.codehaus.mojo.jboss-maven-plugin>
    <version.org.jboss.as.plugins.jboss-as-maven-plugin>7.4.Final</version.org.jboss.as.plugins.jboss-as-maven-plugin>
    <version.org.apache.maven.plugins.maven-antrun-plugin>1.7</version.org.apache.maven.plugins.maven-antrun-plugin>
    <version.org.jacoco>0.7.4.201502262128</version.org.jacoco>
<!--
    <version.org.jacoco>0.7.2.201409121644</version.org.jacoco>
    <version.org.jacoco>0.7.3-SNAPSHOT</version.org.jacoco>
    <version.org.jacoco>0.7.2.201409121644</version.org.jacoco>
    <version.org.jacoco>0.6.3.201306030806</version.org.jacoco>
-->
    <version.org.sonatype.plugins.nexus-staging-maven-plugin>1.6.6</version.org.sonatype.plugins.nexus-staging-maven-plugin>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
  </properties>
  <modules>
    <module>tools</module>
    <module>ext</module>
    <module>common</module>
    <module>ArjunaCore</module>
    <module>ArjunaJTA</module>
    <module>ArjunaJTS</module>
    <module>XTS</module>
    <module>rts</module>
    <module>txbridge</module>
    <module>STM</module>
    <module>txframework</module>
    <module>compensations</module>
    <module>osgi</module>
    <module>narayana-full</module>
    <module>code-coverage</module>
    <module>tomcat</module>
    <module>vertx</module>
  </modules>
  <profiles>
    <profile>
      <id>byteman-rulecheck</id>
      <activation>
        <property><name>!skipTests</name></property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.jboss.byteman</groupId>
            <artifactId>byteman-rulecheck-maven-plugin</artifactId>
            <version>${version.org.jboss.byteman}</version>
            <executions>
              <execution>
                 <id>rulecheck</id>
                 <phase>test</phase>
                 <goals>
                   <goal>rulecheck</goal>
                 </goals>
                 <configuration>
                     <includes>
                         <include>**/*.btm</include>
                     </includes>
                 </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>

      
    <profile>
      <id>release</id>
      <build>
          <pluginManagement>
              <plugins>
                  <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-install-plugin</artifactId>
                    <executions>
                      <execution>
                        <id>default-install</id>
                        <phase>none</phase>
                      </execution>
                    </executions>
                  </plugin>
              </plugins>
          </pluginManagement>
          <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-install-plugin</artifactId>
            <executions>
              <execution>
                <id>default-install</id>
                <phase>install</phase>
              </execution>
            </executions>
            <inherited>false</inherited>
          </plugin>
          </plugins>
      </build>
    </profile>
      <profile>
          <id>codeCoverage</id>
          <build>
          <plugins>
          <plugin>
              <groupId>org.jacoco</groupId>
              <artifactId>jacoco-maven-plugin</artifactId>
              <version>${version.org.jacoco}</version>
              <executions>
                  <!--
                     Prepares the property pointing to the JaCoCo runtime agent which
                     is passed as VM argument when Maven the Surefire plugin is executed.
                 -->
                  <execution>
                      <id>pre-unit-test</id>
                      <goals>
                          <goal>prepare-agent</goal>
                      </goals>
                      <configuration>
                          <!-- Sets the path to the file which contains the execution data. -->
                          <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
                          <!--
                             Sets the name of the property containing the settings
                             for JaCoCo runtime agent.
                         -->
                          <propertyName>surefireArgLine</propertyName>
                      </configuration>
                  </execution>
                  <!--
                     Ensures that the code coverage report for unit tests is created after
                     unit tests have been run.
                 -->
                  <execution>
                      <id>post-unit-test</id>
                      <phase>test</phase>
                      <goals>
                          <goal>report</goal>
                      </goals>
                      <configuration>
                          <!-- Sets the path to the file which contains the execution data. -->
                          <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
                          <!-- Sets the output directory for the code coverage report. -->
                          <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
                      </configuration>
                  </execution>
                  <execution>
                      <id>check</id>
                      <phase>test</phase>
                      <goals>
                          <goal>check</goal>
                      </goals>
                      <configuration>
                          <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
                          <rules>
                              <rule>
                                <element>BUNDLE</element>
                                <excludes>
                                  <exclude>*Test</exclude>
                                </excludes>
                                <limits>
                                  <limit>
                                    <counter>INSTRUCTION</counter>
                                    <value>COVEREDRATIO</value>
                                    <minimum>0.0</minimum>
                                  </limit>
                                                                  <!--
                                  <limit>
                                    <counter>CLASS</counter>
                                    <value>MISSEDCOUNT</value>
                                    <maximum>0</maximum>
                                  </limit>
                                                                  -->
                                </limits>
                              </rule>
                                                          <!--
                              <rule>
                                <element>CLASS</element>
                                <excludes>
                                  <exclude>*Test</exclude>
                                </excludes>
                                <limits>
                                  <limit>
                                    <counter>LINE</counter>
                                    <value>COVEREDRATIO</value>
                                    <minimum>0.20</minimum>
                                  </limit>
                                </limits>
                              </rule>
                                                          -->
                          </rules>
                      </configuration>
                  </execution>
              </executions>
          </plugin>
          <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                  <!-- Sets the VM argument line used when unit tests are run. -->
                  <argLine>${surefireArgLine} -Xss2048k</argLine>
                  <systemProperties>
                      <property>
                          <name>com.arjuna.ats.arjuna.common.propertiesFile</name>
                          <value>jbossts-properties.xml</value>
                      </property>
                  </systemProperties>
              </configuration>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-dependency-plugin</artifactId>
            <executions>
              <execution>
                <id>unpack-jacoco-agent</id>
                <phase>test-compile</phase>
                <goals>
                  <goal>unpack-dependencies</goal>
                </goals>
                <configuration>
                  <stripVersion>true</stripVersion>
                  <includeGroupIds>org.jacoco</includeGroupIds>
                  <outputDirectory>${project.build.directory}/lib</outputDirectory>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
      <dependencies>
        <dependency>
          <groupId>org.jacoco</groupId>
          <artifactId>org.jacoco.agent</artifactId>
          <version>${version.org.jacoco}</version>
          <scope>test</scope>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>debug</id>
      <properties>
        <jvm.args.debug>-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y</jvm.args.debug>
      </properties>
    </profile>
    <profile>
      <id>community</id>
      <properties>
        <version.orson>0.5.0</version.orson>
        <version.tanukisoft>3.2.3</version.tanukisoft>
      </properties>
    </profile>
    <profile>
            <id>findbugs</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>findbugs-maven-plugin</artifactId>
                        <version>${version.org.codehaus.mojo.findbugs-maven-plugin}</version>
                        <executions>
                            <execution>
                                <id>findbugs</id>
                                <phase>compile</phase>
                                <goals>
                                    <goal>check</goal>
                                </goals>
                                <configuration>
                                  <failOnError>false</failOnError>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-site-plugin</artifactId>
                        <configuration>
                            <reportPlugins>
                                <plugin>
                                    <groupId>org.codehaus.mojo</groupId>
                                    <artifactId>findbugs-maven-plugin</artifactId>
                                    <version>${version.org.codehaus.mojo.findbugs-maven-plugin}</version>
                                </plugin>
                            </reportPlugins>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
  </profiles>
</project>