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

	<dependencies>
		<!-- all internal modules -->
		<dependency>
   			<groupId>org.sakaiproject.webservices</groupId>
  			<artifactId>sakai-util-axis</artifactId>
   			<version>${project.version}</version>
   			<scope>compile</scope>
   		</dependency>
   		<dependency>
   			<groupId>org.sakaiproject.webservices</groupId>
  			<artifactId>sakai-axis</artifactId>
   			<version>${project.version}</version>
   			<scope>compile</scope>
   			<type>war</type>
   		</dependency>
   		<!--
   		<dependency>
   			<groupId>org.sakaiproject.webservices</groupId>
  			<artifactId>sakai-axis2</artifactId>
   			<version>${project.version}</version>
   			<scope>compile</scope>
   			<type>war</type>
   		</dependency>
   		-->
   		
   		
	</dependencies>
	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-assembly-plugin</artifactId>
					<version>2.2-beta-2</version>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-install-plugin</artifactId>
					<version>2.2</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>
