Kaynağa Gözat

Maven now downloading Selenium deps

Andy Marks 9 yıl önce
ebeveyn
işleme
f6d41aa766
1 değiştirilmiş dosya ile 27 ekleme ve 1 silme
  1. 27
    1
      pom.xml

+ 27
- 1
pom.xml Dosyayı Görüntüle

@@ -88,6 +88,26 @@
88 88
         </configuration>
89 89
       </plugin>
90 90
 
91
+        <!-- Downloader for Selenium server -->
92
+        <plugin>
93
+            <groupId>com.lazerycode.selenium</groupId>
94
+            <artifactId>driver-binary-downloader-maven-plugin</artifactId>
95
+            <version>1.0.14</version>
96
+            <configuration>
97
+                <!-- root directory that downloaded driver binaries will be stored in -->
98
+                <rootStandaloneServerDirectory>/tmp</rootStandaloneServerDirectory>
99
+                <!-- Where you want to store downloaded zip files -->
100
+                <downloadedZipFileDirectory>/tmp</downloadedZipFileDirectory>
101
+            </configuration>
102
+            <executions>
103
+                <execution>
104
+                    <goals>
105
+                        <goal>selenium</goal>
106
+                    </goals>
107
+                </execution>
108
+            </executions>
109
+        </plugin>
110
+
91 111
       <!-- Jetty plugin -->
92 112
       <plugin>
93 113
         <groupId>org.mortbay.jetty</groupId>
@@ -146,7 +166,13 @@
146 166
       <version>3.4.0</version>
147 167
       <scope>test</scope>
148 168
     </dependency>
149
-    <dependency>
169
+      <dependency>
170
+          <groupId>org.seleniumhq.selenium</groupId>
171
+          <artifactId>selenium-java</artifactId>
172
+          <version>2.28.0</version>
173
+          <scope>test</scope>
174
+      </dependency>
175
+      <dependency>
150 176
       <groupId>org.springframework</groupId>
151 177
       <artifactId>spring-webmvc</artifactId>
152 178
       <version>${spring.version}</version>