2
0

pom.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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. <xmlFileName>testng.xml</xmlFileName>
  25. </properties>
  26. <dependencies>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-devtools</artifactId>
  34. <scope>runtime</scope>
  35. <optional>true</optional>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.projectlombok</groupId>
  39. <artifactId>lombok</artifactId>
  40. <optional>true</optional>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-test</artifactId>
  45. <scope>test</scope>
  46. </dependency>
  47. <!-- https://mvnrepository.com/artifact/org.testng/testng -->
  48. <dependency>
  49. <groupId>org.testng</groupId>
  50. <artifactId>testng</artifactId>
  51. <version>7.4.0</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework</groupId>
  55. <artifactId>spring-test</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-test</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.fasterxml.jackson.core</groupId>
  63. <artifactId>jackson-core</artifactId>
  64. <version>2.10.1</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.fasterxml.jackson.core</groupId>
  68. <artifactId>jackson-databind</artifactId>
  69. <version>2.12.6.1</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.fasterxml.jackson.core</groupId>
  73. <artifactId>jackson-annotations</artifactId>
  74. <version>2.10.1</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>io.milvus</groupId>
  78. <artifactId>milvus-sdk-java</artifactId>
  79. <version>2.1.0-beta3</version>
  80. </dependency>
  81. <!--Allure-->
  82. <dependency>
  83. <groupId>io.qameta.allure</groupId>
  84. <artifactId>allure-testng</artifactId>
  85. <version>${allure.version}</version>
  86. <scope>test</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.aspectj</groupId>
  90. <artifactId>aspectjweaver</artifactId>
  91. <version>${aspectj.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>log4j</groupId>
  95. <artifactId>log4j</artifactId>
  96. <version>1.2.17</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>io.minio</groupId>
  100. <artifactId>minio</artifactId>
  101. <version>8.4.1</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.squareup.okhttp3</groupId>
  105. <artifactId>okhttp</artifactId>
  106. <version>4.9.0</version>
  107. </dependency>
  108. </dependencies>
  109. <build>
  110. <finalName>${project.name}</finalName>
  111. <plugins>
  112. <plugin>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-maven-plugin</artifactId>
  115. <version>2.6.7</version>
  116. <configuration>
  117. <excludes>
  118. <exclude>
  119. <groupId>org.projectlombok</groupId>
  120. <artifactId>lombok</artifactId>
  121. </exclude>
  122. </excludes>
  123. </configuration>
  124. </plugin>
  125. <plugin>
  126. <groupId>org.apache.maven.plugins</groupId>
  127. <artifactId>maven-surefire-plugin</artifactId>
  128. <version>2.22.1</version>
  129. <configuration>
  130. <argLine>
  131. -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
  132. </argLine>
  133. <!--generate allure-result-->
  134. <systemProperties>
  135. <!--<org.uncommons.reportng.escape-output>false</org.uncommons.reportng.escape-output>-->
  136. <property>
  137. <name>allure.results.directory</name>
  138. <value>./target/allure-results</value>
  139. </property>
  140. </systemProperties>
  141. <!--ignore test failure-->
  142. <testFailureIgnore>true</testFailureIgnore>
  143. <argLine>
  144. -Dfile.encoding=UTF-8
  145. </argLine>
  146. <suiteXmlFiles>
  147. <suiteXmlFile>${xmlFileName}</suiteXmlFile>
  148. </suiteXmlFiles>
  149. </configuration>
  150. </plugin>
  151. </plugins>
  152. </build>
  153. </project>