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

  Copyright 2004-2013 The Kuali Foundation

  Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php

  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>
  <parent>
    <groupId>org.kuali.pom</groupId>
    <artifactId>kuali-common</artifactId>
    <version>2.1.39</version>
  </parent>
  <groupId>org.kuali.common</groupId>
  <artifactId>kuali-deploy</artifactId>
  <version>2.0.21</version>
  <name>Kuali Deploy</name>
  <description>Project containing configuration and scripting for deploying Kuali applications to EC2</description>
  <url>http://${kuali.site.hostname}/common/${project.artifactId}/${project.version}</url>
  <scm>
    <connection>scm:svn:https://svn.kuali.org/repos/foundation/tags/kuali-deploy-2.0.21</connection>
    <developerConnection>scm:svn:https://svn.kuali.org/repos/foundation/tags/kuali-deploy-2.0.21</developerConnection>
    <url>https://svn.kuali.org/repos/foundation/tags/kuali-deploy-2.0.21</url>
  </scm>
  <properties>
    <parent.groupId>${project.parent.groupId}</parent.groupId>
    <parent.artifactId>${project.parent.artifactId}</parent.artifactId>
    <parent.version>${project.parent.version}</parent.version>
    <ant.phase>process-resources</ant.phase>
    <junit.version>4.10</junit.version>
    <slf4j.version>1.6.4</slf4j.version>
  </properties>
  <profiles>
    <profile>
      <id>default</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.kuali.maven.plugins</groupId>
            <artifactId>ant-maven-plugin</artifactId>
            <executions>
              <!--
                This execution invokes Ant in order to perform some custom filtering.
                All the poms in this project have filtering applied to the following 6 GAV related properties:

                parent.groupId
                parent.artifactId
                parent.version
                project.groupId
                project.artifactId
                project.version

                The custom filtering ensures that all of the poms inherit from the same parent pom as this project. It also
                ensures that any references those poms make to the kuali-deploy.jar file are automatically kept up to date.
              -->
              <execution>
                <id>run</id>
                <phase>${ant.phase}</phase>
                <goals>
                  <goal>run</goal>
                </goals>
                <configuration>
                  <file>src/main/resources/org/kuali/common/deploy/ant/build.xml</file>
                  <target>filter-poms</target>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
        <testResources>
          <testResource>
            <directory>src/test/resources</directory>
            <filtering>true</filtering>
            <includes>
              <include>**/maven.properties</include>
            </includes>
          </testResource>
          <testResource>
            <directory>src/test/resources</directory>
            <filtering>false</filtering>
            <excludes>
              <exclude>**/maven.properties</exclude>
            </excludes>
          </testResource>
        </testResources>
      </build>
    </profile>
  </profiles>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>${junit.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-log4j12</artifactId>
      <version>${slf4j.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.kuali.common</groupId>
      <artifactId>kuali-jdbc</artifactId>
    </dependency>
    <dependency>
      <groupId>org.kuali.common</groupId>
      <artifactId>kuali-sql</artifactId>
    </dependency>
    <dependency>
      <groupId>org.kuali.common</groupId>
      <artifactId>kuali-util</artifactId>
    </dependency>
  </dependencies>
</project>
              
