pom.xml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>kafka-ui</artifactId>
  7. <groupId>com.provectus</groupId>
  8. <version>0.1.1-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>kafka-ui-e2e-checks</artifactId>
  12. <properties>
  13. <kafka-ui-contract>0.1.1-SNAPSHOT</kafka-ui-contract>
  14. <junit.version>5.7.0</junit.version>
  15. <aspectj.version>1.9.6</aspectj.version>
  16. <allure.version>2.13.7</allure.version>
  17. <json-smart.version>1.1.1</json-smart.version>
  18. <testcontainers.version>1.15.2</testcontainers.version>
  19. <selenide.version>5.16.2</selenide.version>
  20. <assertj.version>3.17.1</assertj.version>
  21. <google.auto-service.version>1.0-rc7</google.auto-service.version>
  22. <hamcrest.version>2.2</hamcrest.version>
  23. <slf4j.version>1.7.29</slf4j.version>
  24. <testcontainers.junit-jupiter.version>1.15.1</testcontainers.junit-jupiter.version>
  25. <allure.java-commons.version>2.13.6</allure.java-commons.version>
  26. <dotenv.version>2.2.0</dotenv.version>
  27. <junit.platform-launcher.version>1.6.2</junit.platform-launcher.version>
  28. <allure.maven-plugin.version>2.6</allure.maven-plugin.version>
  29. <ashot.version>1.5.4</ashot.version>
  30. <allure.screendiff-plugin.version>2.13.9</allure.screendiff-plugin.version>
  31. <maven.surefire-plugin.version>2.22.2</maven.surefire-plugin.version>
  32. <allure-maven.version>2.10.0</allure-maven.version>
  33. </properties>
  34. <dependencies>
  35. <dependency>
  36. <groupId>net.minidev</groupId>
  37. <artifactId>json-smart</artifactId>
  38. <version>${json-smart.version}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.apache.kafka</groupId>
  42. <artifactId>kafka_2.13</artifactId>
  43. <version>${kafka.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.testcontainers</groupId>
  47. <artifactId>testcontainers</artifactId>
  48. <version>${testcontainers.version}</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>io.qameta.allure</groupId>
  52. <artifactId>allure-junit5</artifactId>
  53. <version>${allure.version}</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.codeborne</groupId>
  57. <artifactId>selenide</artifactId>
  58. <version>${selenide.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>io.qameta.allure</groupId>
  62. <artifactId>allure-selenide</artifactId>
  63. <version>${allure.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.hamcrest</groupId>
  67. <artifactId>hamcrest</artifactId>
  68. <version>${hamcrest.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.assertj</groupId>
  72. <artifactId>assertj-core</artifactId>
  73. <version>${assertj.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.google.auto.service</groupId>
  77. <artifactId>auto-service</artifactId>
  78. <version>${google.auto-service.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.junit.jupiter</groupId>
  82. <artifactId>junit-jupiter-api</artifactId>
  83. <version>${junit.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.junit.jupiter</groupId>
  87. <artifactId>junit-jupiter-engine</artifactId>
  88. <version>${junit.version}</version>
  89. <scope>test</scope>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.slf4j</groupId>
  93. <artifactId>slf4j-simple</artifactId>
  94. <version>${slf4j.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.projectlombok</groupId>
  98. <artifactId>lombok</artifactId>
  99. <version>${org.projectlombok.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.aspectj</groupId>
  103. <artifactId>aspectjrt</artifactId>
  104. <version>${aspectj.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.testcontainers</groupId>
  108. <artifactId>junit-jupiter</artifactId>
  109. <version>${testcontainers.junit-jupiter.version}</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>io.qameta.allure</groupId>
  113. <artifactId>allure-java-commons</artifactId>
  114. <version>${allure.java-commons.version}</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>io.github.cdimascio</groupId>
  118. <artifactId>dotenv-java</artifactId>
  119. <version>${dotenv.version}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.junit.platform</groupId>
  123. <artifactId>junit-platform-launcher</artifactId>
  124. <version>${junit.platform-launcher.version}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>ru.yandex.qatools.allure</groupId>
  128. <artifactId>allure-maven-plugin</artifactId>
  129. <version>${allure.maven-plugin.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>ru.yandex.qatools.ashot</groupId>
  133. <artifactId>ashot</artifactId>
  134. <version>${ashot.version}</version>
  135. <exclusions>
  136. <exclusion>
  137. <groupId>org.seleniumhq.selenium</groupId>
  138. <artifactId>selenium-remote-driver</artifactId>
  139. </exclusion>
  140. </exclusions>
  141. </dependency>
  142. <dependency>
  143. <groupId>io.qameta.allure.plugins</groupId>
  144. <artifactId>screen-diff-plugin</artifactId>
  145. <version>${allure.screendiff-plugin.version}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>com.provectus</groupId>
  149. <artifactId>kafka-ui-contract</artifactId>
  150. <version>${kafka-ui-contract}</version>
  151. <scope>test</scope>
  152. </dependency>
  153. </dependencies>
  154. <profiles>
  155. <profile>
  156. <id>local</id>
  157. <!-- Disabling e2e tests by default (for local dev envs) since complex setup is needed for UI tests -->
  158. <activation>
  159. <activeByDefault>true</activeByDefault>
  160. </activation>
  161. <build>
  162. <plugins>
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-surefire-plugin</artifactId>
  166. <version>${maven.surefire-plugin.version}</version>
  167. <configuration>
  168. <skipTests>true</skipTests>
  169. </configuration>
  170. </plugin>
  171. <plugin>
  172. <groupId>org.apache.maven.plugins</groupId>
  173. <artifactId>maven-compiler-plugin</artifactId>
  174. <configuration>
  175. <source>${maven.compiler.source}</source>
  176. <target>${maven.compiler.target}</target>
  177. </configuration>
  178. </plugin>
  179. </plugins>
  180. </build>
  181. </profile>
  182. <profile>
  183. <id>prod</id>
  184. <build>
  185. <plugins>
  186. <plugin>
  187. <groupId>org.apache.maven.plugins</groupId>
  188. <artifactId>maven-surefire-plugin</artifactId>
  189. <version>${maven.surefire-plugin.version}</version>
  190. <configuration>
  191. <argLine>
  192. -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
  193. </argLine>
  194. </configuration>
  195. <dependencies>
  196. <dependency>
  197. <groupId>org.aspectj</groupId>
  198. <artifactId>aspectjweaver</artifactId>
  199. <version>${aspectj.version}</version>
  200. </dependency>
  201. </dependencies>
  202. </plugin>
  203. <plugin>
  204. <groupId>io.qameta.allure</groupId>
  205. <artifactId>allure-maven</artifactId>
  206. <version>${allure-maven.version}</version>
  207. </plugin>
  208. <plugin>
  209. <groupId>org.apache.maven.plugins</groupId>
  210. <artifactId>maven-compiler-plugin</artifactId>
  211. <configuration>
  212. <source>${maven.compiler.source}</source>
  213. <target>${maven.compiler.target}</target>
  214. </configuration>
  215. </plugin>
  216. </plugins>
  217. </build>
  218. </profile>
  219. </profiles>
  220. </project>