
<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/xsd/maven-4.0.0.xsd">
	
	<modelVersion>4.0.0</modelVersion>
	
	<parent>
		<artifactId>remote-slee-connection</artifactId>
		<groupId>org.mobicents.servers.jainslee.tools</groupId>
		<version>2.7.0.FINAL</version>
	</parent>
	
	<artifactId>remote-slee-connection-release</artifactId>
		
	<packaging>pom</packaging>
	
	<profiles>
		<profile>
			<id>release</id>
			<build>
				<!-- make this name pushed into slee-ds.xml via resource filtration -->
				<finalName>mobicents-slee-remote-connection.rar</finalName>
				<plugins>
					<plugin>
						<artifactId>maven-antrun-plugin</artifactId>
						<inherited>false</inherited>
						<executions>
							<execution>
								<phase>install</phase>
								<goals>
									<goal>run</goal>
								</goals>
								<configuration>
									<tasks>
										<copy todir="${basedir}/../../../release/${release.name}/tools/remote-slee-connection">
											<fileset dir="${basedir}/../rar/target/mobicents-slee-remote-connection.rar-beans">
												<include name="mobicents-slee-remote-connection.rar/**" />
											</fileset>
										</copy>
									</tasks>
								</configuration>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>		
	</profiles>
	
</project>
