<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>
	<parent>
		<artifactId>petals-tools-commons-parent</artifactId>
		<groupId>org.ow2.petals</groupId>
		<version>1</version>
	</parent>

	<groupId>org.ow2.petals</groupId>
	<artifactId>petals-rmi-server</artifactId>
	<name>Petals ESB RMI server</name>
	<version>1.1.1</version>
	<description>The JBI API component part redefined for RMI usage</description>
	<packaging>jar</packaging>

	<scm>
		<connection>scm:svn:svn://svn.forge.objectweb.org/svnroot/petals/tags/petals-rmi-server-1.1.1</connection>
		<developerConnection>scm:svn:svn+ssh://rnaudin@svn.forge.objectweb.org/svnroot/petals/tags/petals-rmi-server-1.1.1</developerConnection>
		<url>http://websvn.ow2.org/listing.php?repname=petals&amp;path=%2Ftrunk%2Ftools-commons%2Fpetals-rmi-server%2F/tags/petals-rmi-server-1.1.1?repname=petals&amp;path=%2Ftrunk%2Ftools-commons%2Fpetals-rmi-server%2F</url>
	</scm>

	<dependencies>
		<dependency>
			<groupId>org.ow2.petals</groupId>
			<artifactId>petals-rmi-common</artifactId>
			<version>1.1.1</version>
		</dependency>
		<dependency>
			<groupId>org.ow2.easywsdl</groupId>
			<artifactId>easywsdl-wsdl</artifactId>
			<version>2.1</version>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<artifactId>maven-antrun-plugin</artifactId>
				<executions>
					<execution>
						<phase>process-classes</phase>
						<configuration>
							<tasks>
								<echo message="Generation of Specific RMI Stubs: " />
								<rmic base="${project.build.outputDirectory}" classpathref="maven.compile.classpath" classname="org.objectweb.petals.tools.rmi.server.remote.implementations.RemoteComponentContextImpl" />
								<rmic base="${project.build.outputDirectory}" classpathref="maven.compile.classpath" classname="org.objectweb.petals.tools.rmi.server.remote.implementations.RemoteDeliveryChannelImpl" />
								<rmic base="${project.build.outputDirectory}" classpathref="maven.compile.classpath" classname="org.objectweb.petals.tools.rmi.server.remote.implementations.RemoteMessageExchangeFactoryImpl" />
							</tasks>
						</configuration>
						<goals>
							<goal>run</goal>
						</goals>
					</execution>
				</executions>
				<dependencies>
					<dependency>
						<groupId>sun</groupId>
						<artifactId>tools</artifactId>
						<version>1.0</version>
						<scope>system</scope>
						<systemPath>
							${java.home}/../lib/tools.jar
						</systemPath>
					</dependency>
				</dependencies>
			</plugin>
		</plugins>
	</build>

</project>