pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  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.12.3</selenide.version>
  19. <testng.version>7.7.1</testng.version>
  20. <allure.version>2.23.0</allure.version>
  21. <qase.io.version>3.0.5</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>2.0.7</slf4j.version>
  26. <kafka.version>3.3.1</kafka.version>
  27. </properties>
  28. <dependencies>
  29. <dependency>
  30. <groupId>org.apache.kafka</groupId>
  31. <artifactId>kafka_2.13</artifactId>
  32. <version>${kafka.version}</version>
  33. <exclusions> <!-- could be removed when kafka version will contain zookeeper with netty 4.1.69 -->
  34. <exclusion>
  35. <groupId>io.netty</groupId>
  36. <artifactId>netty-buffer</artifactId>
  37. </exclusion>
  38. <exclusion>
  39. <groupId>io.netty</groupId>
  40. <artifactId>netty-common</artifactId>
  41. </exclusion>
  42. <exclusion>
  43. <groupId>io.netty</groupId>
  44. <artifactId>netty-codec</artifactId>
  45. </exclusion>
  46. <exclusion>
  47. <groupId>io.netty</groupId>
  48. <artifactId>netty-handler</artifactId>
  49. </exclusion>
  50. <exclusion>
  51. <groupId>io.netty</groupId>
  52. <artifactId>netty-resolver</artifactId>
  53. </exclusion>
  54. <exclusion>
  55. <groupId>io.netty</groupId>
  56. <artifactId>netty-transport</artifactId>
  57. </exclusion>
  58. <exclusion>
  59. <groupId>io.netty</groupId>
  60. <artifactId>netty-transport-native-epoll</artifactId>
  61. </exclusion>
  62. <exclusion>
  63. <groupId>io.netty</groupId>
  64. <artifactId>netty-transport-native-unix-common</artifactId>
  65. </exclusion>
  66. </exclusions>
  67. </dependency>
  68. <!--
  69. whole netty dependency block could be removed
  70. when kafka version will contain zookeeper with netty 4.1.69
  71. -->
  72. <dependency>
  73. <groupId>io.netty</groupId>
  74. <artifactId>netty-buffer</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>io.netty</groupId>
  78. <artifactId>netty-common</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>io.netty</groupId>
  82. <artifactId>netty-codec</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>io.netty</groupId>
  86. <artifactId>netty-handler</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>io.netty</groupId>
  90. <artifactId>netty-resolver</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>io.netty</groupId>
  94. <artifactId>netty-transport</artifactId>
  95. </dependency>
  96. <dependency>
  97. <groupId>io.netty</groupId>
  98. <artifactId>netty-transport-native-epoll</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>io.netty</groupId>
  102. <artifactId>netty-transport-native-unix-common</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>io.netty</groupId>
  106. <artifactId>netty-resolver-dns-native-macos</artifactId>
  107. <classifier>osx-aarch_64</classifier>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.testcontainers</groupId>
  111. <artifactId>testcontainers</artifactId>
  112. <version>${testcontainers.version}</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.testcontainers</groupId>
  116. <artifactId>selenium</artifactId>
  117. <version>${testcontainers.version}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.projectlombok</groupId>
  121. <artifactId>lombok</artifactId>
  122. <version>${org.projectlombok.version}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.httpcomponents.core5</groupId>
  126. <artifactId>httpcore5</artifactId>
  127. <version>${httpcomponents.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.httpcomponents.client5</groupId>
  131. <artifactId>httpclient5</artifactId>
  132. <version>${httpcomponents.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.seleniumhq.selenium</groupId>
  136. <artifactId>selenium-http-jdk-client</artifactId>
  137. <version>${selenium.version}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.seleniumhq.selenium</groupId>
  141. <artifactId>selenium-http</artifactId>
  142. <version>${selenium.version}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.codeborne</groupId>
  146. <artifactId>selenide</artifactId>
  147. <version>${selenide.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.testng</groupId>
  151. <artifactId>testng</artifactId>
  152. <version>${testng.version}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>io.qameta.allure</groupId>
  156. <artifactId>allure-selenide</artifactId>
  157. <version>${allure.version}</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>io.qameta.allure</groupId>
  161. <artifactId>allure-testng</artifactId>
  162. <version>${allure.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>io.qase</groupId>
  166. <artifactId>qase-testng</artifactId>
  167. <version>${qase.io.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>io.qase</groupId>
  171. <artifactId>qase-api</artifactId>
  172. <version>${qase.io.version}</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.hamcrest</groupId>
  176. <artifactId>hamcrest</artifactId>
  177. <version>${hamcrest.version}</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.assertj</groupId>
  181. <artifactId>assertj-core</artifactId>
  182. <version>${assertj.version}</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.aspectj</groupId>
  186. <artifactId>aspectjrt</artifactId>
  187. <version>${aspectj.version}</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.slf4j</groupId>
  191. <artifactId>slf4j-simple</artifactId>
  192. <version>${slf4j.version}</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>com.provectus</groupId>
  196. <artifactId>kafka-ui-contract</artifactId>
  197. <version>${kafka-ui-contract}</version>
  198. </dependency>
  199. </dependencies>
  200. <profiles>
  201. <profile>
  202. <id>local</id>
  203. <!-- Disabling e2e tests by default (for local dev envs) since complex setup is needed for UI tests -->
  204. <activation>
  205. <activeByDefault>true</activeByDefault>
  206. </activation>
  207. <build>
  208. <plugins>
  209. <plugin>
  210. <groupId>org.apache.maven.plugins</groupId>
  211. <artifactId>maven-surefire-plugin</artifactId>
  212. <configuration>
  213. <skipTests>true</skipTests>
  214. </configuration>
  215. <dependencies>
  216. <dependency>
  217. <groupId>org.apache.maven.surefire</groupId>
  218. <artifactId>surefire-testng</artifactId>
  219. <version>${maven.surefire-plugin.version}</version>
  220. </dependency>
  221. </dependencies>
  222. </plugin>
  223. <plugin>
  224. <groupId>org.apache.maven.plugins</groupId>
  225. <artifactId>maven-compiler-plugin</artifactId>
  226. </plugin>
  227. </plugins>
  228. </build>
  229. </profile>
  230. <profile>
  231. <id>prod</id>
  232. <build>
  233. <plugins>
  234. <plugin>
  235. <groupId>org.apache.maven.plugins</groupId>
  236. <artifactId>maven-surefire-plugin</artifactId>
  237. <version>${maven.surefire-plugin.version}</version>
  238. <configuration>
  239. <argLine>
  240. -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
  241. </argLine>
  242. </configuration>
  243. <dependencies>
  244. <dependency>
  245. <groupId>org.apache.maven.surefire</groupId>
  246. <artifactId>surefire-testng</artifactId>
  247. <version>${maven.surefire-plugin.version}</version>
  248. </dependency>
  249. <dependency>
  250. <groupId>org.aspectj</groupId>
  251. <artifactId>aspectjweaver</artifactId>
  252. <version>${aspectj.version}</version>
  253. </dependency>
  254. </dependencies>
  255. </plugin>
  256. <plugin>
  257. <groupId>io.qameta.allure</groupId>
  258. <artifactId>allure-maven</artifactId>
  259. <version>2.10.0</version>
  260. </plugin>
  261. <plugin>
  262. <groupId>org.apache.maven.plugins</groupId>
  263. <artifactId>maven-checkstyle-plugin</artifactId>
  264. <version>3.3.0</version>
  265. <dependencies>
  266. <dependency>
  267. <groupId>com.puppycrawl.tools</groupId>
  268. <artifactId>checkstyle</artifactId>
  269. <version>10.3.1</version>
  270. </dependency>
  271. </dependencies>
  272. <executions>
  273. <execution>
  274. <id>checkstyle</id>
  275. <phase>validate</phase>
  276. <goals>
  277. <goal>check</goal>
  278. </goals>
  279. <configuration>
  280. <violationSeverity>warning</violationSeverity>
  281. <failOnViolation>true</failOnViolation>
  282. <failsOnError>true</failsOnError>
  283. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  284. <configLocation>file:${basedir}/../etc/checkstyle/checkstyle-e2e.xml</configLocation>
  285. <headerLocation>file:${basedir}/../etc/checkstyle/apache-header.txt</headerLocation>
  286. </configuration>
  287. </execution>
  288. </executions>
  289. </plugin>
  290. </plugins>
  291. </build>
  292. </profile>
  293. </profiles>
  294. </project>