forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
72 lines (67 loc) · 3.01 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?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.0-SNAPSHOT</version>
</parent>
<artifactId>selenium-safari-driver</artifactId>
<name>selenium-safari-driver</name>
<dependencies>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-remote-driver</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.webbitserver</groupId>
<artifactId>webbit</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<!-- See http://maven.apache.org/plugins/maven-antrun-plugin -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>copy_java_files</id>
<phase>generate-sources</phase>
<configuration>
<tasks>
<delete dir="src/main/java" />
<copy todir="src/main/java" includeEmptyDirs="false">
<fileset dir="../../java/client/src">
<include name="org/openqa/selenium/safari/**/*.java" />
</fileset>
</copy>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>copy_resource_files</id>
<phase>generate-resources</phase>
<configuration>
<tasks>
<!-- Extract everything but the *.class files and MANIFEST.MF from safari.jar to target/classes ... -->
<unjar src="../../build/java/client/src/org/openqa/selenium/safari/safari.jar" dest="target/classes">
<patternset>
<exclude name="**/*.class" />
<exclude name="META-INF/MANIFEST.MF" />
</patternset>
</unjar>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>