pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  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. <maven.surefire-plugin.version>3.0.0-M8</maven.surefire-plugin.version>
  14. <kafka-ui-contract>${project.version}</kafka-ui-contract>
  15. <testcontainers.version>1.17.6</testcontainers.version>
  16. <httpcomponents.version>5.2.1</httpcomponents.version>
  17. <selenium.version>4.8.1</selenium.version>
  18. <selenide.version>6.11.2</selenide.version>
  19. <testng.version>7.7.0</testng.version>
  20. <allure.version>2.21.0</allure.version>
  21. <qase.io.version>3.0.3</qase.io.version>
  22. <aspectj.version>1.9.9.1</aspectj.version>
  23. <assertj.version>3.24.2</assertj.version>
  24. <hamcrest.version>2.2</hamcrest.version>
  25. <slf4j.version>1.7.36</slf4j.version>
  26. <dotenv.version>2.3.1</dotenv.version>
  27. <kafka.version>3.3.1</kafka.version>
  28. </properties>
  29. <dependencies>
  30. <dependency>
  31. <groupId>org.apache.kafka</groupId>
  32. <artifactId>kafka_2.13</artifactId>
  33. <version>${kafka.version}</version>
  34. <exclusions> <!-- could be removed when kafka version will contain zookeeper with netty 4.1.69 -->
  35. <exclusion>
  36. <groupId>io.netty</groupId>
  37. <artifactId>netty-buffer</artifactId>
  38. </exclusion>
  39. <exclusion>
  40. <groupId>io.netty</groupId>
  41. <artifactId>netty-common</artifactId>
  42. </exclusion>
  43. <exclusion>
  44. <groupId>io.netty</groupId>
  45. <artifactId>netty-codec</artifactId>
  46. </exclusion>
  47. <exclusion>
  48. <groupId>io.netty</groupId>
  49. <artifactId>netty-handler</artifactId>
  50. </exclusion>
  51. <exclusion>
  52. <groupId>io.netty</groupId>
  53. <artifactId>netty-resolver</artifactId>
  54. </exclusion>
  55. <exclusion>
  56. <groupId>io.netty</groupId>
  57. <artifactId>netty-transport</artifactId>
  58. </exclusion>
  59. <exclusion>
  60. <groupId>io.netty</groupId>
  61. <artifactId>netty-transport-native-epoll</artifactId>
  62. </exclusion>
  63. <exclusion>
  64. <groupId>io.netty</groupId>
  65. <artifactId>netty-transport-native-unix-common</artifactId>
  66. </exclusion>
  67. </exclusions>
  68. </dependency>
  69. <!--
  70. whole netty dependency block could be removed
  71. when kafka version will contain zookeeper with netty 4.1.69
  72. -->
  73. <dependency>
  74. <groupId>io.netty</groupId>
  75. <artifactId>netty-buffer</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>io.netty</groupId>
  79. <artifactId>netty-common</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>io.netty</groupId>
  83. <artifactId>netty-codec</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>io.netty</groupId>
  87. <artifactId>netty-handler</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>io.netty</groupId>
  91. <artifactId>netty-resolver</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>io.netty</groupId>
  95. <artifactId>netty-transport</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>io.netty</groupId>
  99. <artifactId>netty-transport-native-epoll</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>io.netty</groupId>
  103. <artifactId>netty-transport-native-unix-common</artifactId>
  104. </dependency>
  105. <dependency>
  106. <groupId>io.netty</groupId>
  107. <artifactId>netty-resolver-dns-native-macos</artifactId>
  108. <classifier>osx-aarch_64</classifier>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.testcontainers</groupId>
  112. <artifactId>testcontainers</artifactId>
  113. <version>${testcontainers.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.testcontainers</groupId>
  117. <artifactId>selenium</artifactId>
  118. <version>${testcontainers.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.apache.httpcomponents.core5</groupId>
  122. <artifactId>httpcore5</artifactId>
  123. <version>${httpcomponents.version}</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.apache.httpcomponents.client5</groupId>
  127. <artifactId>httpclient5</artifactId>
  128. <version>${httpcomponents.version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.seleniumhq.selenium</groupId>
  132. <artifactId>selenium-http</artifactId>
  133. <version>${selenium.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>com.codeborne</groupId>
  137. <artifactId>selenide</artifactId>
  138. <version>${selenide.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.testng</groupId>
  142. <artifactId>testng</artifactId>
  143. <version>${testng.version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>io.qameta.allure</groupId>
  147. <artifactId>allure-selenide</artifactId>
  148. <version>${allure.version}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>io.qameta.allure</groupId>
  152. <artifactId>allure-testng</artifactId>
  153. <version>${allure.version}</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>io.qase</groupId>
  157. <artifactId>qase-testng</artifactId>
  158. <version>${qase.io.version}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>io.qase</groupId>
  162. <artifactId>qase-api</artifactId>
  163. <version>${qase.io.version}</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.hamcrest</groupId>
  167. <artifactId>hamcrest</artifactId>
  168. <version>${hamcrest.version}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.assertj</groupId>
  172. <artifactId>assertj-core</artifactId>
  173. <version>${assertj.version}</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.aspectj</groupId>
  177. <artifactId>aspectjrt</artifactId>
  178. <version>${aspectj.version}</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.slf4j</groupId>
  182. <artifactId>slf4j-simple</artifactId>
  183. <version>${slf4j.version}</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.projectlombok</groupId>
  187. <artifactId>lombok</artifactId>
  188. <version>${org.projectlombok.version}</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>io.github.cdimascio</groupId>
  192. <artifactId>dotenv-java</artifactId>
  193. <version>${dotenv.version}</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.provectus</groupId>
  197. <artifactId>kafka-ui-contract</artifactId>
  198. <version>${kafka-ui-contract}</version>
  199. </dependency>
  200. </dependencies>
  201. <profiles>
  202. <profile>
  203. <id>local</id>
  204. <!-- Disabling e2e tests by default (for local dev envs) since complex setup is needed for UI tests -->
  205. <activation>
  206. <activeByDefault>true</activeByDefault>
  207. </activation>
  208. <build>
  209. <plugins>
  210. <plugin>
  211. <groupId>org.apache.maven.plugins</groupId>
  212. <artifactId>maven-surefire-plugin</artifactId>
  213. <configuration>
  214. <skipTests>true</skipTests>
  215. </configuration>
  216. <dependencies>
  217. <dependency>
  218. <groupId>org.apache.maven.surefire</groupId>
  219. <artifactId>surefire-testng</artifactId>
  220. <version>${maven.surefire-plugin.version}</version>
  221. </dependency>
  222. </dependencies>
  223. </plugin>
  224. <plugin>
  225. <groupId>org.apache.maven.plugins</groupId>
  226. <artifactId>maven-compiler-plugin</artifactId>
  227. </plugin>
  228. </plugins>
  229. </build>
  230. </profile>
  231. <profile>
  232. <id>prod</id>
  233. <build>
  234. <plugins>
  235. <plugin>
  236. <groupId>org.apache.maven.plugins</groupId>
  237. <artifactId>maven-surefire-plugin</artifactId>
  238. <version>${maven.surefire-plugin.version}</version>
  239. <configuration>
  240. <argLine>
  241. -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
  242. </argLine>
  243. </configuration>
  244. <dependencies>
  245. <dependency>
  246. <groupId>org.apache.maven.surefire</groupId>
  247. <artifactId>surefire-testng</artifactId>
  248. <version>${maven.surefire-plugin.version}</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>org.aspectj</groupId>
  252. <artifactId>aspectjweaver</artifactId>
  253. <version>${aspectj.version}</version>
  254. </dependency>
  255. </dependencies>
  256. </plugin>
  257. <plugin>
  258. <groupId>io.qameta.allure</groupId>
  259. <artifactId>allure-maven</artifactId>
  260. <version>2.10.0</version>
  261. </plugin>
  262. </plugins>
  263. </build>
  264. </profile>
  265. </profiles>
  266. </project>