<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>
	
	<packaging>pom</packaging>
	
	<parent>
		<artifactId>mobicents-slee-ra-sip11</artifactId>
		<groupId>org.mobicents.resources</groupId>
		<version>2.4.0.FINAL</version>
	</parent>
	
	<artifactId>sip11-ra-release</artifactId>
	
	<profiles>
		<profile>
			<id>release</id>
			<build>
				<plugins>
					<plugin>
						<artifactId>maven-antrun-plugin</artifactId>
						<inherited>false</inherited>
						<executions>
							<execution>
								<phase>install</phase>
								<goals>
									<goal>run</goal>
								</goals>
								<configuration>
									<tasks>
										<copy overwrite="true" todir="${basedir}/../../../release/${release.name}/resources/sip11">
											<fileset dir="${basedir}/../du/target">
												<include name="**.jar" />
												<include name="*.xml" />
												<!-- currently not handled correctly by du plugin
												 <include name="*.properties" />
												 -->
											</fileset>
										</copy>
										<copy overwrite="true" file="${basedir}/../du/target/build.xml" tofile="${basedir}/../../../release/${release.name}/resources/sip11/du-management.xml" />
										<copy overwrite="true" file="${basedir}/build.xml" todir="${basedir}/../../../release/${release.name}/resources/sip11">
											<filterset>
												<filter token="JBOSS.PATH" value="${jboss.path}" />
												<filter token="JBOSS.CONFIG" value="${node}" />
											</filterset>
										</copy>
									</tasks>
								</configuration>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
	
</project>