Advertisement
Guest User

Untitled

a guest
May 20th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.12 KB | None | 0 0
  1. <groupId>bnp.cardiffpinnacle.automation.development</groupId>
  2. <artifactId>cardiffpinnacle-automation</artifactId>
  3. <version>1.0-SNAPSHOT</version>
  4. <properties>
  5. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  6. <maven.compiler.target>1.8</maven.compiler.target>
  7. <maven.compiler.source>1.8</maven.compiler.source>
  8. </properties>
  9. <build>
  10. <!-- Source directory configuration -->
  11. <sourceDirectory>src\test\java</sourceDirectory>
  12. <plugins>
  13. <!-- Compiler plugin configures the java version to be used for compiling the code -->
  14. <plugin>
  15. <groupId>org.apache.maven.plugins</groupId>
  16. <artifactId>maven-compiler-plugin</artifactId>
  17. <goals>
  18. <goal>generate</goal>
  19. </goals>
  20. <version>3.7.0</version>
  21. <configuration>
  22. <source>1.8</source>
  23. <target>1.8</target>
  24. <suiteXmlFiles>
  25. <testFailureIgnore>true</testFailureIgnore>
  26. <suiteXmlFile>testng.xml</suiteXmlFile>
  27. <suiteXmlFile>testng.xml</suiteXmlFile>
  28. </suiteXmlFiles>
  29. </configuration>
  30.  
  31. <executions>
  32. <execution>
  33. <id>verify</id>
  34. <configuration>
  35. <projectName>Pet Insurance Login and Register</projectName>
  36. <outputDirectory>${project.build.directory}/cucumber-JVM-reports</outputDirectory>
  37. <cucumberOutput>${project.build.directory}/cucumber.json</cucumberOutput>
  38. <skippedFails>true</skippedFails>
  39. <enableFlashCharts>true</enableFlashCharts>
  40. <buildNumber>1</buildNumber>
  41. </configuration>
  42. </execution>
  43. </executions>
  44. </plugin>
  45. <plugin>
  46. <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-site-plugin -->
  47. <groupId>org.apache.maven.plugins</groupId>
  48. <artifactId>maven-site-plugin</artifactId>
  49. <version>3.7.1</version>
  50. </plugin>
  51. <plugin>
  52. <groupId>org.apache.maven.plugins</groupId>
  53. <artifactId>maven-deploy-plugin</artifactId>
  54. <version>3.0.0-M1</version>
  55. </plugin>
  56. </plugins>
  57. </build>
  58.  
  59. <!--=============================================================================================================================-->
  60. <!-- Selenium Dependencies-->
  61. <!--=============================================================================================================================-->
  62. <dependencies>
  63.  
  64. <!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
  65. <dependency>
  66. <groupId>org.seleniumhq.selenium</groupId>
  67. <artifactId>selenium-java</artifactId>
  68. <version>3.141.59</version>
  69. </dependency>
  70.  
  71. <!--=============================================================================================================================-->
  72. <!-- Cucumber Dependencies-->
  73. <!--=============================================================================================================================-->
  74. <!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-picocontainer -->
  75. <dependency>
  76. <groupId>io.cucumber</groupId>
  77. <artifactId>cucumber-picocontainer</artifactId>
  78. <version>3.0.2</version>
  79. <scope>test</scope>
  80. </dependency>
  81.  
  82. <!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-jvm -->
  83. <dependency>
  84. <groupId>io.cucumber</groupId>
  85. <artifactId>cucumber-jvm</artifactId>
  86. <version>4.3.0</version>
  87. <type>pom</type>
  88. </dependency>
  89.  
  90. <dependency>
  91. <groupId>io.cucumber</groupId>
  92. <artifactId>cucumber-testng</artifactId>
  93. <version>4.3.0</version>
  94. <scope>compile</scope>
  95. </dependency>
  96.  
  97. <dependency>
  98. <groupId>io.cucumber</groupId>
  99. <artifactId>cucumber-java</artifactId>
  100. <version>4.3.0</version>
  101. <scope>compile</scope>
  102. </dependency>
  103.  
  104.  
  105. <!--=============================================================================================================================-->
  106. <!-- Log4j Dependencies-->
  107. <!--=============================================================================================================================-->
  108.  
  109. <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
  110. <dependency>
  111. <groupId>org.apache.logging.log4j</groupId>
  112. <artifactId>log4j-core</artifactId>
  113. <version>2.11.1</version>
  114. </dependency>
  115.  
  116. <!--=============================================================================================================================-->
  117. <!-- Extent Report Dependencies-->
  118. <!--=============================================================================================================================-->
  119. <!-- https://mvnrepository.com/artifact/com.aventstack/extentreports -->
  120. <dependency>
  121. <groupId>com.aventstack</groupId>
  122. <artifactId>extentreports</artifactId>
  123. <version>4.0.9</version>
  124. </dependency>
  125.  
  126. <!--=============================================================================================================================-->
  127. <!-- TestNg Dependencies-->
  128. <!--=============================================================================================================================-->
  129.  
  130. <dependency>
  131. <groupId>org.testng</groupId>
  132. <artifactId>testng</artifactId>
  133. <version>6.9.13.6</version>
  134. <scope>compile</scope>
  135. </dependency>
  136.  
  137. <dependency>
  138. <groupId>net.masterthought</groupId>
  139. <artifactId>cucumber-reporting</artifactId>
  140. <version>4.5.1</version>
  141. </dependency>
  142.  
  143. </dependencies>
  144. BEFORE MODIFICATION
  145. bnp.cardiffpinnacle.automation.development cardiffpinnacle-automation 1.0-SNAPSHOT <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.source>1.8</maven.compiler.source> src\test\java org.apache.maven.plugins maven-surefire-plugin 3.0.0-M3 true
  146.  
  147. <!-- Suite testng xml file to consider for test execution -->
  148. <suiteXmlFiles>
  149. <suiteXmlFile>testng.xml</suiteXmlFile>
  150. <suiteXmlFile>testng.xml</suiteXmlFile>
  151. </suiteXmlFiles>
  152. </configuration>
  153. </plugin>
  154. <!-- Compiler plugin configures the java version to be used for compiling
  155. the code -->
  156. <plugin>
  157. <groupId>org.apache.maven.plugins</groupId>
  158. <artifactId>maven-compiler-plugin</artifactId>
  159. <configuration>
  160. <source>1.8</source>
  161. <target>1.8</target>
  162. </configuration>
  163. </plugin>
  164. <plugin>
  165. <groupId>net.masterthought</groupId>
  166. <artifactId>cucumber-reporting</artifactId>
  167. <version>4.5.1</version>
  168. <executions>
  169. <execution>
  170. <id>verify</id>
  171. <goals>
  172. <goal>generate</goal>
  173. </goals>
  174. <configuration>
  175. <projectName>Pet Insurance Login and Register</projectName>
  176. <outputDirectory>${project.build.directory}/cucumber-JVM-reports</outputDirectory>
  177. <cucumberOutput>${project.build.directory}/cucumber.json</cucumberOutput>
  178. <skippedFails>true</skippedFails>
  179. <enableFlashCharts>true</enableFlashCharts>
  180. <buildNumber>1</buildNumber>
  181. </configuration>
  182.  
  183. </execution>
  184. </executions>
  185. </plugin>
  186. <plugin>
  187. <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-site-plugin -->
  188. <groupId>org.apache.maven.plugins</groupId>
  189. <artifactId>maven-site-plugin</artifactId>
  190. <version>3.7.1</version>
  191. </plugin>
  192. <plugin>
  193. <groupId>org.apache.maven.plugins</groupId>
  194. <artifactId>maven-deploy-plugin</artifactId>
  195. <version>3.0.0-M1</version>
  196. </plugin>
  197. </plugins>
  198. <!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
  199. <dependency>
  200. <groupId>org.seleniumhq.selenium</groupId>
  201. <artifactId>selenium-java</artifactId>
  202. <version>3.141.59</version>
  203. </dependency> <!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-picocontainer -->
  204. <dependency>
  205. <groupId>io.cucumber</groupId>
  206. <artifactId>cucumber-picocontainer</artifactId>
  207. <version>3.0.2</version>
  208. <scope>test</scope>
  209. </dependency>
  210.  
  211. <!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-jvm -->
  212. <dependency>
  213. <groupId>io.cucumber</groupId>
  214. <artifactId>cucumber-jvm</artifactId>
  215. <version>4.3.0</version>
  216. <type>pom</type>
  217. </dependency>
  218.  
  219. <dependency>
  220. <groupId>io.cucumber</groupId>
  221. <artifactId>cucumber-testng</artifactId>
  222. <version>4.3.0</version>
  223. <scope>compile</scope>
  224. </dependency>
  225.  
  226. <dependency>
  227. <groupId>io.cucumber</groupId>
  228. <artifactId>cucumber-java</artifactId>
  229. <version>4.3.0</version>
  230. <scope>compile</scope>
  231. </dependency><!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
  232. <dependency>
  233. <groupId>org.apache.logging.log4j</groupId>
  234. <artifactId>log4j-core</artifactId>
  235. <version>2.11.1</version>
  236. </dependency> <!-- https://mvnrepository.com/artifact/com.aventstack/extentreports -->
  237. <dependency>
  238. <groupId>com.aventstack</groupId>
  239. <artifactId>extentreports</artifactId>
  240. <version>4.0.9</version>
  241. </dependency>
  242.  
  243. <dependency>
  244. <groupId>org.testng</groupId>
  245. <artifactId>testng</artifactId>
  246. <version>6.9.13.6</version>
  247. <scope>compile</scope>
  248. </dependency>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement