pom.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.6.7</version>
  9. <relativePath/>
  10. </parent>
  11. <groupId>com.zilliz</groupId>
  12. <artifactId>milvustest</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>milvustest</name>
  15. <description>Auto Tests for milvus-sdk-java</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <maven.compiler.source>1.8</maven.compiler.source>
  20. <maven.compiler.target>1.8</maven.compiler.target>
  21. <!--TestNg Aullre Report Use-->
  22. <aspectj.version>1.9.2</aspectj.version>
  23. <allure.version>2.13.2</allure.version>
  24. <jackson.version>2.10.1</jackson.version>
  25. <log4j2.version>2.17.2</log4j2.version>
  26. <xmlFileName>testng.xml</xmlFileName>
  27. </properties>
  28. <dependencies>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter</artifactId>
  32. <exclusions>
  33. <exclusion>
  34. <artifactId>logback-classic</artifactId>
  35. <groupId>ch.qos.logback</groupId>
  36. </exclusion>
  37. <exclusion>
  38. <groupId>org.apache.logging.log4j</groupId>
  39. <artifactId>log4j-to-slf4j</artifactId>
  40. </exclusion>
  41. </exclusions>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-devtools</artifactId>
  46. <scope>runtime</scope>
  47. <optional>true</optional>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.projectlombok</groupId>
  51. <artifactId>lombok</artifactId>
  52. <optional>true</optional>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-test</artifactId>
  57. <scope>test</scope>
  58. </dependency>
  59. <!-- https://mvnrepository.com/artifact/org.testng/testng -->
  60. <dependency>
  61. <groupId>org.testng</groupId>
  62. <artifactId>testng</artifactId>
  63. <version>7.4.0</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework</groupId>
  67. <artifactId>spring-test</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-test</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.fasterxml.jackson.core</groupId>
  75. <artifactId>jackson-core</artifactId>
  76. <version>${jackson.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.fasterxml.jackson.core</groupId>
  80. <artifactId>jackson-databind</artifactId>
  81. <version>${jackson.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.fasterxml.jackson.core</groupId>
  85. <artifactId>jackson-annotations</artifactId>
  86. <version>${jackson.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>io.milvus</groupId>
  90. <artifactId>milvus-sdk-java</artifactId>
  91. <version>2.1.0</version>
  92. </dependency>
  93. <!--Allure-->
  94. <dependency>
  95. <groupId>io.qameta.allure</groupId>
  96. <artifactId>allure-testng</artifactId>
  97. <version>${allure.version}</version>
  98. <scope>test</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.aspectj</groupId>
  102. <artifactId>aspectjweaver</artifactId>
  103. <version>${aspectj.version}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.slf4j</groupId>
  107. <artifactId>slf4j-api</artifactId>
  108. <version>1.7.36</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.apache.logging.log4j</groupId>
  112. <artifactId>log4j-slf4j-impl</artifactId>
  113. <version>2.17.2</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.apache.logging.log4j</groupId>
  117. <artifactId>log4j-api</artifactId>
  118. <version>${log4j2.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.apache.logging.log4j</groupId>
  122. <artifactId>log4j-core</artifactId>
  123. <version>${log4j2.version}</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>io.minio</groupId>
  127. <artifactId>minio</artifactId>
  128. <version>8.4.1</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.squareup.okhttp3</groupId>
  132. <artifactId>okhttp</artifactId>
  133. <version>4.9.0</version>
  134. </dependency>
  135. </dependencies>
  136. <build>
  137. <finalName>${project.name}</finalName>
  138. <plugins>
  139. <plugin>
  140. <groupId>org.springframework.boot</groupId>
  141. <artifactId>spring-boot-maven-plugin</artifactId>
  142. <version>2.6.7</version>
  143. <configuration>
  144. <excludes>
  145. <exclude>
  146. <groupId>org.projectlombok</groupId>
  147. <artifactId>lombok</artifactId>
  148. </exclude>
  149. </excludes>
  150. </configuration>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-surefire-plugin</artifactId>
  155. <version>2.22.1</version>
  156. <configuration>
  157. <argLine>
  158. -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
  159. </argLine>
  160. <!--generate allure-result-->
  161. <systemProperties>
  162. <!--<org.uncommons.reportng.escape-output>false</org.uncommons.reportng.escape-output>-->
  163. <property>
  164. <name>allure.results.directory</name>
  165. <value>./target/allure-results</value>
  166. </property>
  167. </systemProperties>
  168. <!--ignore test failure-->
  169. <testFailureIgnore>true</testFailureIgnore>
  170. <argLine>
  171. -Dfile.encoding=UTF-8
  172. </argLine>
  173. <suiteXmlFiles>
  174. <suiteXmlFile>${xmlFileName}</suiteXmlFile>
  175. </suiteXmlFiles>
  176. </configuration>
  177. </plugin>
  178. </plugins>
  179. </build>
  180. </project>