pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one or more
  4. ~ contributor license agreements. See the NOTICE file distributed with
  5. ~ this work for additional information regarding copyright ownership.
  6. ~ The ASF licenses this file to You under the Apache License, Version 2.0
  7. ~ (the "License"); you may not use this file except in compliance with
  8. ~ the License. You may obtain a copy of the License at
  9. ~
  10. ~ http://www.apache.org/licenses/LICENSE-2.0
  11. ~
  12. ~ Unless required by applicable law or agreed to in writing, software
  13. ~ distributed under the License is distributed on an "AS IS" BASIS,
  14. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ~ See the License for the specific language governing permissions and
  16. ~ limitations under the License.
  17. -->
  18. <project xmlns="http://maven.apache.org/POM/4.0.0"
  19. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  20. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  21. <modelVersion>4.0.0</modelVersion>
  22. <groupId>org.apache.dolphinscheduler-e2e</groupId>
  23. <artifactId>dolphinscheduler-e2e</artifactId>
  24. <version>1.0.0</version>
  25. <properties>
  26. <testng.version>6.14.3</testng.version>
  27. <selenium.version>3.141.59</selenium.version>
  28. <guava.version>22.0</guava.version>
  29. <commons-io.version>2.6</commons-io.version>
  30. <reportng.version>1.1.4</reportng.version>
  31. <commons-pool2.version>2.8.0</commons-pool2.version>
  32. <inject.version>4.2.1</inject.version>
  33. <xml.file>testng.xml</xml.file>
  34. </properties>
  35. <dependencies>
  36. <!-- selenium -->
  37. <dependency>
  38. <groupId>org.seleniumhq.selenium</groupId>
  39. <artifactId>selenium-java</artifactId>
  40. <version>${selenium.version}</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.google.guava</groupId>
  44. <artifactId>guava</artifactId>
  45. <version>${guava.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.google.inject</groupId>
  49. <artifactId>guice</artifactId>
  50. <version>${inject.version}</version>
  51. </dependency>
  52. <!-- testng -->
  53. <dependency>
  54. <groupId>org.testng</groupId>
  55. <artifactId>testng</artifactId>
  56. <version>${testng.version}</version>
  57. </dependency>
  58. <!-- Depends on reportNg, associated with testNg-->
  59. <dependency>
  60. <groupId>org.uncommons</groupId>
  61. <artifactId>reportng</artifactId>
  62. <version>${reportng.version}</version>
  63. <scope>test</scope>
  64. <exclusions>
  65. <exclusion>
  66. <groupId>org.testng</groupId>
  67. <artifactId>testng</artifactId>
  68. </exclusion>
  69. </exclusions>
  70. </dependency>
  71. <dependency>
  72. <groupId>commons-io</groupId>
  73. <artifactId>commons-io</artifactId>
  74. <version>${commons-io.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.servicemix.bundles</groupId>
  78. <artifactId>org.apache.servicemix.bundles.jedis</artifactId>
  79. <version>2.6.2_1</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.commons</groupId>
  83. <artifactId>commons-pool2</artifactId>
  84. <version>${commons-pool2.version}</version>
  85. </dependency>
  86. </dependencies>
  87. <build>
  88. <plugins>
  89. <plugin>
  90. <groupId>org.apache.maven.plugins</groupId>
  91. <artifactId>maven-compiler-plugin</artifactId>
  92. <version>3.8.0</version>
  93. <configuration>
  94. <source>1.8</source>
  95. <target>1.8</target>
  96. <encoding>UTF-8</encoding>
  97. </configuration>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-surefire-plugin</artifactId>
  102. <version>2.20.1</version>
  103. <configuration>
  104. <suiteXmlFiles>
  105. <suiteXmlFile>${xml.file}</suiteXmlFile>
  106. </suiteXmlFiles>
  107. <argLine>-Dfile.encoding=UTF-8</argLine>
  108. <properties>
  109. <property>
  110. <name>usedefaultlisteners</name>
  111. <!--Set listen false, Do not use the default report testng, use reportng-->
  112. <value>false</value>
  113. </property>
  114. <property>
  115. <name>listener</name>
  116. <value>org.uncommons.reportng.HTMLReporter,org.uncommons.reportng.JUnitXMLReporter</value>
  117. </property>
  118. </properties>
  119. <!--<workingDirectory>target/</workingDirectory>-->
  120. <!--<forkMode>always</forkMode>-->
  121. </configuration>
  122. </plugin>
  123. <!--<plugin>-->
  124. <!--<groupId>org.apache.maven.plugins</groupId>-->
  125. <!--<artifactId>maven-surefire-plugin</artifactId>-->
  126. <!--<version>2.5</version>-->
  127. <!--<configuration>-->
  128. <!--<properties>-->
  129. <!--<property>-->
  130. <!--<name>usedefaultlisteners</name>-->
  131. <!--&lt;!&ndash;Set listen false, Do not use the default report testng, use reportng&ndash;&gt;-->
  132. <!--<value>false</value>-->
  133. <!--</property>-->
  134. <!--<property>-->
  135. <!--<name>listener</name>-->
  136. <!--<value>org.uncommons.reportng.HTMLReporter,org.uncommons.reportng.JUnitXMLReporter</value>-->
  137. <!--</property>-->
  138. <!--</properties>-->
  139. <!--<workingDirectory>target/</workingDirectory>-->
  140. <!--<forkMode>always</forkMode>-->
  141. <!--</configuration>-->
  142. <!--</plugin>-->
  143. </plugins>
  144. </build>
  145. </project>