pom.xml 12 KB

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