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

<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>
  <parent>
    <groupId>org.milyn</groupId>
    <artifactId>testres</artifactId>
    <version>1.7.1</version>
    <relativePath>../../testres/pom.xml</relativePath>
  </parent>

  <name>Milyn :: Smooks Cartridge :: Persistence</name>
  <artifactId>milyn-smooks-persistence</artifactId>
  <packaging>bundle</packaging>

  <dependencies>
    <!-- Scribe Libs -->
    <dependency>
      <groupId>org.milyn</groupId>
      <artifactId>milyn-scribe-core</artifactId>
    </dependency>

    <!-- Smooks Libs -->

    <dependency>
      <groupId>org.milyn</groupId>
      <artifactId>milyn-smooks-javabean</artifactId>
    </dependency>

    <dependency>
      <groupId>org.milyn</groupId>
      <artifactId>milyn-smooks-templating</artifactId>
    </dependency>

    <!-- ORM Libs -->

    <dependency>
      <groupId>javax.persistence</groupId>
      <artifactId>persistence-api</artifactId>
    </dependency>

    <dependency>
      <groupId>org.hibernate</groupId>
      <artifactId>hibernate-core</artifactId>
    </dependency>

    <dependency>
      <groupId>org.apache.ibatis</groupId>
      <artifactId>ibatis-sqlmap</artifactId>
    </dependency>
  </dependencies>

  <profiles>
    <profile>
      <id>test-unit</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <properties>
        <testGroups>unit</testGroups>
      </properties>
    </profile>
    <profile>
      <id>test-integration</id>
      <properties>
        <testGroups>unit,integration</testGroups>
      </properties>
    </profile>
  </profiles>
</project>
