pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  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.0.1-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>kafka-ui-e2e-checks</artifactId>
  12. <properties>
  13. <kafka-ui-contract>${project.version}</kafka-ui-contract>
  14. <aspectj.version>1.9.9.1</aspectj.version>
  15. <allure.version>2.18.1</allure.version>
  16. <json-smart.version>2.4.8</json-smart.version>
  17. <selenide.version>6.6.3</selenide.version>
  18. <assertj.version>3.23.1</assertj.version>
  19. <google.auto-service.version>1.0.1</google.auto-service.version>
  20. <hamcrest.version>2.2</hamcrest.version>
  21. <slf4j.version>1.7.36</slf4j.version>
  22. <allure.java-commons.version>2.20.1</allure.java-commons.version>
  23. <dotenv.version>2.3.1</dotenv.version>
  24. <allure.maven-plugin.version>2.6</allure.maven-plugin.version>
  25. <ashot.version>1.5.4</ashot.version>
  26. <allure.screendiff-plugin.version>2.18.1</allure.screendiff-plugin.version>
  27. <maven.surefire-plugin.version>2.22.2</maven.surefire-plugin.version>
  28. <allure-maven.version>2.10.0</allure-maven.version>
  29. <kafka.version>3.3.1</kafka.version>
  30. <qase.io.version>2.1.3</qase.io.version>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>net.minidev</groupId>
  35. <artifactId>json-smart</artifactId>
  36. <version>${json-smart.version}</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.kafka</groupId>
  40. <artifactId>kafka_2.13</artifactId>
  41. <version>${kafka.version}</version>
  42. <exclusions> <!-- could be removed when kafka version will contain zookeeper with netty 4.1.69 -->
  43. <exclusion>
  44. <groupId>io.netty</groupId>
  45. <artifactId>netty-buffer</artifactId>
  46. </exclusion>
  47. <exclusion>
  48. <groupId>io.netty</groupId>
  49. <artifactId>netty-common</artifactId>
  50. </exclusion>
  51. <exclusion>
  52. <groupId>io.netty</groupId>
  53. <artifactId>netty-codec</artifactId>
  54. </exclusion>
  55. <exclusion>
  56. <groupId>io.netty</groupId>
  57. <artifactId>netty-handler</artifactId>
  58. </exclusion>
  59. <exclusion>
  60. <groupId>io.netty</groupId>
  61. <artifactId>netty-resolver</artifactId>
  62. </exclusion>
  63. <exclusion>
  64. <groupId>io.netty</groupId>
  65. <artifactId>netty-transport</artifactId>
  66. </exclusion>
  67. <exclusion>
  68. <groupId>io.netty</groupId>
  69. <artifactId>netty-transport-native-epoll</artifactId>
  70. </exclusion>
  71. <exclusion>
  72. <groupId>io.netty</groupId>
  73. <artifactId>netty-transport-native-unix-common</artifactId>
  74. </exclusion>
  75. </exclusions>
  76. </dependency>
  77. <!--
  78. whole netty dependency block could be removed
  79. when kafka version will contain zookeeper with netty 4.1.69
  80. -->
  81. <dependency>
  82. <groupId>io.netty</groupId>
  83. <artifactId>netty-buffer</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>io.netty</groupId>
  87. <artifactId>netty-common</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>io.netty</groupId>
  91. <artifactId>netty-codec</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>io.netty</groupId>
  95. <artifactId>netty-handler</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>io.netty</groupId>
  99. <artifactId>netty-resolver</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>io.netty</groupId>
  103. <artifactId>netty-transport</artifactId>
  104. </dependency>
  105. <dependency>
  106. <groupId>io.netty</groupId>
  107. <artifactId>netty-transport-native-epoll</artifactId>
  108. </dependency>
  109. <dependency>
  110. <groupId>io.netty</groupId>
  111. <artifactId>netty-transport-native-unix-common</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>io.netty</groupId>
  115. <artifactId>netty-resolver-dns-native-macos</artifactId>
  116. <classifier>osx-aarch_64</classifier>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.testcontainers</groupId>
  120. <artifactId>testcontainers</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>io.qameta.allure</groupId>
  124. <artifactId>allure-junit5</artifactId>
  125. <version>${allure.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.codeborne</groupId>
  129. <artifactId>selenide</artifactId>
  130. <version>${selenide.version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>io.qameta.allure</groupId>
  134. <artifactId>allure-selenide</artifactId>
  135. <version>${allure.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.hamcrest</groupId>
  139. <artifactId>hamcrest</artifactId>
  140. <version>${hamcrest.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.assertj</groupId>
  144. <artifactId>assertj-core</artifactId>
  145. <version>${assertj.version}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>com.google.auto.service</groupId>
  149. <artifactId>auto-service</artifactId>
  150. <version>${google.auto-service.version}</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.junit.jupiter</groupId>
  154. <artifactId>junit-jupiter-api</artifactId>
  155. <version>${junit.version}</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.junit.jupiter</groupId>
  159. <artifactId>junit-jupiter-engine</artifactId>
  160. <version>${junit.version}</version>
  161. <scope>test</scope>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.slf4j</groupId>
  165. <artifactId>slf4j-simple</artifactId>
  166. <version>${slf4j.version}</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.projectlombok</groupId>
  170. <artifactId>lombok</artifactId>
  171. <version>${org.projectlombok.version}</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.aspectj</groupId>
  175. <artifactId>aspectjrt</artifactId>
  176. <version>${aspectj.version}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>org.testcontainers</groupId>
  180. <artifactId>junit-jupiter</artifactId>
  181. </dependency>
  182. <dependency>
  183. <groupId>io.qameta.allure</groupId>
  184. <artifactId>allure-java-commons</artifactId>
  185. <version>${allure.java-commons.version}</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>io.github.cdimascio</groupId>
  189. <artifactId>dotenv-java</artifactId>
  190. <version>${dotenv.version}</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.junit.platform</groupId>
  194. <artifactId>junit-platform-launcher</artifactId>
  195. </dependency>
  196. <dependency>
  197. <groupId>ru.yandex.qatools.allure</groupId>
  198. <artifactId>allure-maven-plugin</artifactId>
  199. <version>${allure.maven-plugin.version}</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>ru.yandex.qatools.ashot</groupId>
  203. <artifactId>ashot</artifactId>
  204. <version>${ashot.version}</version>
  205. <exclusions>
  206. <exclusion>
  207. <groupId>org.seleniumhq.selenium</groupId>
  208. <artifactId>selenium-remote-driver</artifactId>
  209. </exclusion>
  210. </exclusions>
  211. </dependency>
  212. <dependency>
  213. <groupId>io.qameta.allure.plugins</groupId>
  214. <artifactId>screen-diff-plugin</artifactId>
  215. <version>${allure.screendiff-plugin.version}</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>com.provectus</groupId>
  219. <artifactId>kafka-ui-contract</artifactId>
  220. <version>${kafka-ui-contract}</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>org.testcontainers</groupId>
  224. <artifactId>selenium</artifactId>
  225. <scope>test</scope>
  226. </dependency>
  227. <dependency>
  228. <groupId>io.qase</groupId>
  229. <artifactId>qase-api</artifactId>
  230. <version>${qase.io.version}</version>
  231. </dependency>
  232. </dependencies>
  233. <profiles>
  234. <profile>
  235. <id>local</id>
  236. <!-- Disabling e2e tests by default (for local dev envs) since complex setup is needed for UI tests -->
  237. <activation>
  238. <activeByDefault>true</activeByDefault>
  239. </activation>
  240. <build>
  241. <plugins>
  242. <plugin>
  243. <groupId>org.apache.maven.plugins</groupId>
  244. <artifactId>maven-surefire-plugin</artifactId>
  245. <configuration>
  246. <skipTests>true</skipTests>
  247. </configuration>
  248. </plugin>
  249. <plugin>
  250. <groupId>org.apache.maven.plugins</groupId>
  251. <artifactId>maven-compiler-plugin</artifactId>
  252. </plugin>
  253. </plugins>
  254. </build>
  255. </profile>
  256. <profile>
  257. <id>prod</id>
  258. <build>
  259. <plugins>
  260. <plugin>
  261. <groupId>org.apache.maven.plugins</groupId>
  262. <artifactId>maven-surefire-plugin</artifactId>
  263. <version>${maven.surefire-plugin.version}</version>
  264. <configuration>
  265. <testFailureIgnore>false</testFailureIgnore>
  266. <systemProperties>
  267. <property>
  268. <name>junit.jupiter.extensions.autodetection.enabled</name>
  269. <value>true</value>
  270. </property>
  271. </systemProperties>
  272. <argLine>
  273. -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
  274. </argLine>
  275. </configuration>
  276. <dependencies>
  277. <dependency>
  278. <groupId>org.aspectj</groupId>
  279. <artifactId>aspectjweaver</artifactId>
  280. <version>${aspectj.version}</version>
  281. </dependency>
  282. </dependencies>
  283. </plugin>
  284. <plugin>
  285. <groupId>io.qameta.allure</groupId>
  286. <artifactId>allure-maven</artifactId>
  287. <version>${allure-maven.version}</version>
  288. </plugin>
  289. <plugin>
  290. <groupId>org.apache.maven.plugins</groupId>
  291. <artifactId>maven-compiler-plugin</artifactId>
  292. </plugin>
  293. </plugins>
  294. </build>
  295. </profile>
  296. </profiles>
  297. </project>