<?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">
	<modelVersion>4.0.0</modelVersion>
	<name>Profile2 IMPL</name>
	<groupId>org.sakaiproject.profile2</groupId>
	<artifactId>profile2-impl</artifactId>

	<packaging>jar</packaging>
	
	<parent>
		<groupId>org.sakaiproject.profile2</groupId>
		<artifactId>profile2</artifactId>
	    <version>1.5.0-b04</version>
	</parent>
  	
  	<dependencies>

    	<!-- INTERNAL DEPENDENCIES -->
		<dependency>
			<groupId>org.sakaiproject.profile2</groupId>
			<artifactId>profile2-api</artifactId>
		</dependency>
		<dependency>
			<groupId>org.sakaiproject.profile2</groupId>
			<artifactId>profile2-util</artifactId>
		</dependency>
		
    	<!-- SHARED EXTERNAL DEPENDENCIES -->
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring</artifactId>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate</artifactId>
        </dependency>
        <dependency>
			<groupId>org.opensymphony.quartz</groupId>
			<artifactId>quartz</artifactId>
		</dependency>
    	
    	<!-- EXTERNAL DEPENDENCIES -->
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
		</dependency>
		<dependency>
			<groupId>org.twitter4j</groupId>
			<artifactId>twitter4j-core</artifactId>
		</dependency>
		<dependency>
      		<groupId>commons-lang</groupId>
      		<artifactId>commons-lang</artifactId>
      		<scope>provided</scope>
   		</dependency> 
		<dependency>
			<groupId>org.sakaiproject</groupId>
			<artifactId>generic-dao</artifactId>
		</dependency>
		<dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
        </dependency>
        <dependency>
			<groupId>org.projectlombok</groupId>
			<artifactId>lombok</artifactId>
		</dependency>
		<dependency>
			<groupId>net.sf.opencsv</groupId>
			<artifactId>opencsv</artifactId>
		</dependency>
   		<!-- 
		<dependency>
      		<groupId>org.sakaiproject.tinyurl</groupId>
      		<artifactId>tinyurl-api</artifactId>
      		<scope>provided</scope>
   		</dependency>
   		-->
   		
   		   				
		<!--  GENERIC SAKAI DEPENDENCIES -->
    	<dependency>
			<groupId>org.sakaiproject.common</groupId>
			<artifactId>sakai-common-edu-person-api</artifactId>
			<scope>provided</scope>
    	</dependency>
    	<dependency>
      		<groupId>org.sakaiproject.common</groupId>
      		<artifactId>sakai-common-manager-api</artifactId>
      		<scope>provided</scope>
    	</dependency>
	    <dependency>
	      	<groupId>org.sakaiproject.common</groupId>
	      	<artifactId>sakai-common-type-api</artifactId>
	      	<scope>provided</scope>
	    </dependency>
	    <dependency>
      		<groupId>org.sakaiproject.entitybroker</groupId>
      		<artifactId>entitybroker-api</artifactId>
      		<scope>provided</scope>
   		</dependency>
   		<dependency>
    		<groupId>org.sakaiproject.emailtemplateservice</groupId>
    		<artifactId>emailtemplateservice-api</artifactId>
    		<scope>provided</scope>
    	</dependency>
		<dependency>
			<groupId>org.sakaiproject.search</groupId>
            <artifactId>search-api</artifactId>
      		<scope>provided</scope>
        </dependency>
	    
	    <!-- TESTING DEPENDENCIES -->
	    <!-- 
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-mock</artifactId>
            <version>2.0.6</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>hsqldb</groupId>
            <artifactId>hsqldb</artifactId>
            <version>1.8.0.5</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>dom4j</groupId>
            <artifactId>dom4j</artifactId>
            <version>1.6.1</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>jta</groupId>
            <artifactId>jta</artifactId>
            <version>h2.1.8</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>cglib</groupId>
            <artifactId>cglib-nodep</artifactId>
            <version>2.1_3</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>commons-codec</groupId>
            <artifactId>commons-codec</artifactId>
            <version>1.3</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>commons-collections</groupId>
            <artifactId>commons-collections</artifactId>
            <version>3.2</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>net.sf.ehcache</groupId>
            <artifactId>ehcache</artifactId>
            <version>1.3.0</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>easymock</groupId>
            <artifactId>easymock</artifactId>
            <version>1.2_Java1.3</version>
            <scope>test</scope>
        </dependency>
        -->
        
        <!-- Sakai 2.5.x specific dependencies -->
        <!--
		<dependency>
			<groupId>org.sakaiproject</groupId>
			<artifactId>sakai-tool-api</artifactId>
			<scope>provided</scope>
    	</dependency>
    	<dependency>
			<groupId>org.sakaiproject</groupId>
			<artifactId>sakai-user-api</artifactId>
			<scope>provided</scope>
    	</dependency>
    	<dependency>
			<groupId>org.sakaiproject</groupId>
			<artifactId>sakai-authz-api</artifactId>
			<scope>provided</scope>
    	</dependency>
    	<dependency>
			<groupId>org.sakaiproject</groupId>
			<artifactId>sakai-util-api</artifactId>
			<scope>provided</scope>
    	</dependency>
    	<dependency>
			<groupId>org.sakaiproject</groupId>
			<artifactId>sakai-util</artifactId>
			<version>${sakai.version}</version>
    	</dependency>
    	<dependency>
			<groupId>org.sakaiproject</groupId>
			<artifactId>sakai-site-api</artifactId>
			<scope>provided</scope>
    	</dependency>
    	<dependency>
			<groupId>org.sakaiproject</groupId>
			<artifactId>sakai-entity-api</artifactId>
			<scope>provided</scope>
    	</dependency>
    	<dependency>
			<groupId>org.sakaiproject</groupId>
			<artifactId>sakai-component-api</artifactId>
			<scope>provided</scope>
    	</dependency>
		<dependency>
			<groupId>org.sakaiproject</groupId>
			<artifactId>sakai-content-api</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.sakaiproject</groupId>
			<artifactId>sakai-event-api</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.sakaiproject</groupId>
 			<artifactId>sakai-email-api</artifactId>
			<scope>provided</scope>
		</dependency>
		-->
		
		 <!-- Sakai 2.6+ specific dependencies -->
        <dependency>
            <groupId>org.sakaiproject.kernel</groupId>
            <artifactId>sakai-kernel-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.sakaiproject.kernel</groupId>
            <artifactId>sakai-component-manager</artifactId>
        </dependency>
        <dependency>
			<groupId>org.sakaiproject.kernel</groupId>
  			<artifactId>sakai-kernel-util</artifactId>
		</dependency>
		
		<!-- legacy dependencies -->
		<dependency>
			<groupId>org.sakaiproject.profile</groupId>
  			<artifactId>profile-api</artifactId>
		</dependency>
		<dependency>
      		<groupId>commons-logging</groupId>
      		<artifactId>commons-logging</artifactId>
    	</dependency>

  	</dependencies>
  	
	<build>
		<resources>
            <resource>
                <directory>${basedir}/src/java</directory>
                <includes>
                    <include>**/*.properties</include>
                </includes>
                <filtering>false</filtering>
            </resource>
        </resources>
	
	
		<!-- unit testing -->
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <!-- 
                    By default, the surefire plugin will automatically include all test classes with the following wildcard patterns:
                    "**/Test*.java" - includes all of its subdirectory and all java filenames that start with "Test".
                    "**/*Test.java" - includes all of its subdirectory and all java filenames that end with "Test".
                    "**/*TestCase.java" - includes all of its subdirectory and all java filenames that end with "TestCase".
                -->
            </plugin>
        </plugins>
        <testResources>
            <testResource>
                <directory>${basedir}/../pack/src/webapp/WEB-INF</directory>
                <includes>
                    <include>components.xml</include>
                </includes>
            </testResource>
            <testResource>
                <directory>${basedir}/src/test</directory>
                <includes>
                    <include>hibernate-test.xml</include>
                    <include>hibernate.properties</include>
                </includes>
            </testResource>
        </testResources>
	</build>
	
</project>

