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

<!-- ====================================================================== -->
<!--                                                                        -->
<!--  JBoss, the OpenSource J2EE webOS                                      -->
<!--                                                                        -->
<!--  Distributable under LGPL license.                                     -->
<!--  See terms of license at http://www.gnu.org.                           -->
<!--                                                                        -->
<!-- ====================================================================== -->

<!-- $Id: pom.xml 2284 2008-09-19 09:39:19Z thomas.diesler@jboss.com $ -->
<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>
  <name>JBoss jBPM3 - Integration</name>
  <groupId>org.jbpm.jbpm3</groupId>
  <artifactId>jbpm-integration</artifactId>
  <packaging>jar</packaging>

  <!-- Parent -->
  <parent>
    <groupId>org.jbpm.jbpm3</groupId>
    <artifactId>jbpm</artifactId>
    <version>3.3.0.CR1</version>
    <relativePath>../../pom.xml</relativePath>
  </parent>

  <!-- Dependencies -->
  <dependencies>
    <!-- Compile Dependencies -->
    <dependency>
      <groupId>org.jbpm.spec</groupId>
      <artifactId>jbpm-spec-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.jbpm.jbpm3</groupId>
      <artifactId>jbpm-core</artifactId>
      <version>${version}</version>
    </dependency>

    <!-- Provided Dependencies -->
    <dependency>
      <groupId>org.jbpm.spec</groupId>
      <artifactId>jbpm-spec-cts</artifactId>
      <scope>provided</scope>
      <type>zip</type>
    </dependency>
        
    <!-- Test Dependencies -->
    <dependency>
      <groupId>org.jbpm.jbpm3</groupId>
      <artifactId>jbpm-core</artifactId>
      <classifier>config</classifier>
      <version>${version}</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-clean-plugin</artifactId>
        <configuration>
          <filesets>
            <fileset>
              <directory>src/test</directory>
            </fileset>
          </filesets>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
            <phase>generate-sources</phase>
            <goals>
              <goal>unpack</goal>
            </goals>
            <configuration>
              <artifactItems>
                <artifactItem>
                  <groupId>org.jbpm.spec</groupId>
                  <artifactId>jbpm-spec-cts</artifactId>
                  <type>zip</type>
                </artifactItem>
              </artifactItems>
              <outputDirectory>src/test</outputDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <excludes>
            <exclude>org/jboss/bpm/**/*DescriptorTest.java</exclude>
            <exclude>org/jboss/bpm/**/*MarshallerTest.java</exclude>
            <exclude>org/jboss/bpm/**/*STPTest.java</exclude>
            <exclude>org/jboss/bpm/cts/activity/**</exclude>
            <exclude>org/jboss/bpm/cts/endevent/**</exclude>
            <exclude>org/jboss/bpm/cts/engine/**</exclude>
            <exclude>org/jboss/bpm/cts/executioncontext/**</exclude>
            <exclude>org/jboss/bpm/cts/gateway/**</exclude>
            <exclude>org/jboss/bpm/cts/process/**</exclude>
            <exclude>org/jboss/bpm/cts/processmanager/**</exclude>
            <exclude>org/jboss/bpm/cts/signalmanager/**</exclude>
            <exclude>org/jboss/bpm/cts/startevent/**</exclude>
            <exclude>org/jboss/bpm/cts/task/**</exclude>
            <exclude>org/jboss/bpm/pattern/control/exclusivechoice/**</exclude>
            <exclude>org/jboss/bpm/pattern/control/multichoice/**</exclude>
            <exclude>org/jboss/bpm/pattern/control/parallelsplit/**</exclude>
            <exclude>org/jboss/bpm/pattern/control/simplemerge/**</exclude>
            <exclude>org/jboss/bpm/pattern/control/synchronization/**</exclude>
            <exclude>org/jboss/bpm/pattern/data/**</exclude>
          </excludes>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>