pom.xml 13 KB

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