<?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 Assembly</name>
	<groupId>org.sakaiproject.profile2</groupId>
	<artifactId>profile2-assembly</artifactId>
	
	<packaging>pom</packaging>
	
	<parent>
		<groupId>org.sakaiproject.profile2</groupId>
		<artifactId>profile2</artifactId>
	    <version>1.5.1</version>
	</parent>

	<dependencies>
		<!-- all internal modules -->
		<dependency>
   			<groupId>org.sakaiproject.profile2</groupId>
   			<artifactId>profile2-api</artifactId>
   			<version>${project.version}</version>
   			<scope>compile</scope>
   		</dependency>
   		<dependency>
   			<groupId>org.sakaiproject.profile2</groupId>
   			<artifactId>profile2-impl</artifactId>
   			<version>${project.version}</version>
   			<scope>compile</scope>
   		</dependency>
   		<dependency>
   			<groupId>org.sakaiproject.profile2</groupId>
   			<artifactId>profile2-pack</artifactId>
   			<version>${project.version}</version>
   			<scope>compile</scope>
			<type>war</type>
   		</dependency>
   		<dependency>
   			<groupId>org.sakaiproject.profile2</groupId>
   			<artifactId>profile2-tool</artifactId>
   			<version>${project.version}</version>
   			<scope>compile</scope>
   			<type>war</type>
   		</dependency>
   		<dependency>
   			<groupId>org.sakaiproject.profile2</groupId>
   			<artifactId>profile2-util</artifactId>
   			<version>${project.version}</version>
   			<scope>compile</scope>
   		</dependency>
   		
   		<dependency>
   			<groupId>org.sakaiproject.profile2</groupId>
			<artifactId>profile2-help</artifactId>
   			<version>${project.version}</version>
   			<scope>compile</scope>
   		</dependency>
   		
	</dependencies>
	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-assembly-plugin</artifactId>
					<version>2.2.1</version>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-install-plugin</artifactId>
					<version>2.3.1</version>
				</plugin>
			</plugins>
		</pluginManagement>
		<plugins>
			<plugin>
				<artifactId>maven-assembly-plugin</artifactId>
				<configuration>
					<descriptors>
						<descriptor>src/main/assembly/deploy.xml</descriptor>
					</descriptors>
				</configuration>
				<executions>
					<execution>
						<id>make-assembly</id> <!-- this is used for inheritance merges -->
						<phase>package</phase> <!-- append to the packaging phase. -->
						<goals>
							<goal>attached</goal> <!-- goals == mojos -->
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>
