<?xml version="1.0" encoding="Windows-1252"?>
<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>
		<groupId>org.seleniumhq.selenium</groupId>
		<artifactId>selenium-parent</artifactId>
		<version>2.0a5</version>
	</parent>

	<groupId>org.seleniumhq.selenium</groupId>
	<artifactId>selenium-firefox-driver</artifactId>
	<name>selenium-firefox-driver</name>
	<packaging>jar</packaging>
	<version>2.0a5-atlassian-2</version>

	<dependencies>
		<dependency>
			<groupId>org.seleniumhq.selenium</groupId>
			<artifactId>selenium-common</artifactId>
			<!-- we want the parent version here not our forked one -->
			<version>2.0a5</version>
		</dependency>
        <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-remote-client</artifactId>
            <version>2.0a5</version>
        </dependency>
		<dependency>
			<groupId>org.json</groupId>
			<artifactId>json</artifactId>
			<version>20080701</version>
		</dependency>
		<!-- Test dependencies ... -->
		<dependency>
			<groupId>org.seleniumhq.selenium</groupId>
			<artifactId>selenium-common</artifactId>
			<version>2.0a5</version>
			<classifier>tests</classifier>
			<scope>test</scope>
		</dependency>
	</dependencies>

	<build>
		<sourceDirectory>src/java</sourceDirectory>
		<resources>
			<resource>
				<directory>prebuilt/linux/release</directory>
				<includes>
					<include>x_ignore_nofocus.so</include>
				</includes>
				<targetPath>x86</targetPath>
			</resource>
			<resource>
				<directory>prebuilt/linux64/release</directory>
				<includes>
					<include>x_ignore_nofocus.so</include>
				</includes>
				<targetPath>amd64</targetPath>
			</resource>
		</resources>
		<testSourceDirectory>test/java</testSourceDirectory>
		<plugins>
		  <!-- See http://maven.apache.org/plugins/maven-antrun-plugin -->
		  <plugin>
		    <artifactId>maven-antrun-plugin</artifactId>
		    <executions>
		      <execution>
			<id>create webdriver-extension.zip</id>
			<phase>generate-resources</phase>
			<configuration>
			  <tasks>
			    <copy todir="target/webdriver-extension">
			      <fileset dir="src/extension" excludes="**/.svn/**" />
			    </copy>
			    <copy todir="target/webdriver-extension/content">
			      <fileset dir="../common/src/js/extension" includes="*.js" />
			    </copy>
			    <copy todir="target/webdriver-extension/components">
			      <fileset dir="prebuilt" includes="*.xpt" />
			    </copy>
			    <copy todir="target/webdriver-extension/components">
			      <fileset dir="prebuilt" includes="*.xpt" />
			    </copy>
			    <copy file="prebuilt/Win32/Release/webdriver-firefox.dll" todir="target/webdriver-extension/platform/WINNT_x86-msvc/components" />-<copy file="prebuilt/linux/Release/libwebdriver-firefox.so" todir="target/webdriver-extension/platform/Linux_x86-gcc3/components" />
			    <copy file="prebuilt/linux64/Release/libwebdriver-firefox.so" todir="target/webdriver-extension/platform/Linux_x86_64-gcc3/components" />
			    <mkdir dir="target/classes" />
			    <zip destfile="target/classes/webdriver-extension.zip" basedir="target/webdriver-extension" />
			  </tasks>
			</configuration>
			<goals>
			  <goal>run</goal>
			</goals>
		      </execution>
		    </executions>
		    </plugin>
			<!-- See http://maven.apache.org/plugins/maven-surefire-plugin -->
			<plugin>
			  <groupId>org.apache.maven.plugins</groupId>
			  <artifactId>maven-surefire-plugin</artifactId>
			  <configuration>
			    <!-- skip da tests for our forked project - rmedellin -->
			    <skipTests>true</skipTests>
			    <includes>
			      <include>**/*TestSuite.java</include>
			    </includes>
			  </configuration>
			</plugin>
			<plugin>
			  <groupId>org.apache.maven.plugins</groupId>
			  <artifactId>maven-compiler-plugin</artifactId>
			  <version>2.3.2</version>
			  <configuration>
			    <source>1.5</source>
			    <target>1.5</target>
			  </configuration>
			</plugin>
                        <plugin>
                          <groupId>org.apache.maven.plugins</groupId>
                          <artifactId>maven-release-plugin</artifactId>
			  <version>2.1</version>
                          <configuration>
			    <tagBase>https://svn.atlassian.com/svn/public/atlassian/vendor/selenium-firefox-driver-ipv6-patch/tags</tagBase>
			    <remoteTagging>false</remoteTagging>
                          </configuration>
                        </plugin>
		</plugins>
	</build>

	<!-- Pushing forked project to internal Maven repo -->
	<distributionManagement>
	  <repository>
	    <id>atlassian-3rdparty</id>
	    <name>Atlassian 3rdparty Repository</name>
	    <url>dav:https://maven.atlassian.com/3rdparty</url>
	  </repository>
	  <snapshotRepository>
	    <id>atlassian-3rdparty-snapshot</id>
	    <name>Atlassian 3rdparty Snapshot Repository</name>
	    <url>dav:https://maven.atlassian.com/3rdparty-snapshot</url>
	  </snapshotRepository>
	</distributionManagement>
	<!-- Forked project SCM location -->
	<scm>
	  <connection>scm:svn:https://svn.atlassian.com/svn/public/atlassian/vendor/selenium-firefox-driver-ipv6-patch/tags/selenium-firefox-driver-2.0a5-atlassian-2</connection>
	  <developerConnection>scm:svn:https://svn.atlassian.com/svn/public/atlassian/vendor/selenium-firefox-driver-ipv6-patch/tags/selenium-firefox-driver-2.0a5-atlassian-2</developerConnection>
	  <url>https://svn.atlassian.com/svn/public/atlassian/vendor/selenium-firefox-driver-ipv6-patch/tags/selenium-firefox-driver-2.0a5-atlassian-2</url>
	</scm>

</project>
