pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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>milvustestv2</artifactId>
  13. <version>0.0.1</version>
  14. <name>milvustest</name>
  15. <description>Auto Tests for milvus-sdk-javaV2</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. <exclusions>
  31. <exclusion>
  32. <artifactId>logback-classic</artifactId>
  33. <groupId>ch.qos.logback</groupId>
  34. </exclusion>
  35. <exclusion>
  36. <groupId>org.apache.logging.log4j</groupId>
  37. <artifactId>log4j-to-slf4j</artifactId>
  38. </exclusion>
  39. </exclusions>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-devtools</artifactId>
  44. <scope>runtime</scope>
  45. <optional>true</optional>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.projectlombok</groupId>
  49. <artifactId>lombok</artifactId>
  50. <optional>true</optional>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-test</artifactId>
  55. <scope>test</scope>
  56. </dependency>
  57. <!-- https://mvnrepository.com/artifact/org.testng/testng -->
  58. <dependency>
  59. <groupId>org.testng</groupId>
  60. <artifactId>testng</artifactId>
  61. <version>7.4.0</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework</groupId>
  65. <artifactId>spring-test</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-test</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>io.milvus</groupId>
  73. <artifactId>milvus-sdk-java</artifactId>
  74. <version>2.3.5</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.google.protobuf</groupId>
  78. <artifactId>protobuf-java</artifactId>
  79. <version>3.24.0</version>
  80. </dependency>
  81. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  82. <dependency>
  83. <groupId>org.apache.httpcomponents</groupId>
  84. <artifactId>httpclient</artifactId>
  85. </dependency>
  86. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore -->
  87. <dependency>
  88. <groupId>org.apache.httpcomponents</groupId>
  89. <artifactId>httpcore</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.squareup.okhttp3</groupId>
  93. <artifactId>okhttp</artifactId>
  94. <version>4.9.0</version>
  95. </dependency>
  96. </dependencies>
  97. <build>
  98. <finalName>${project.name}</finalName>
  99. <plugins>
  100. <plugin>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-maven-plugin</artifactId>
  103. <version>2.6.7</version>
  104. <configuration>
  105. <excludes>
  106. <exclude>
  107. <groupId>org.projectlombok</groupId>
  108. <artifactId>lombok</artifactId>
  109. </exclude>
  110. </excludes>
  111. </configuration>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-surefire-plugin</artifactId>
  116. <version>2.22.1</version>
  117. <configuration>
  118. <argLine>
  119. -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
  120. </argLine>
  121. <!--generate allure-result-->
  122. <systemProperties>
  123. <!--<org.uncommons.reportng.escape-output>false</org.uncommons.reportng.escape-output>-->
  124. <property>
  125. <name>allure.results.directory</name>
  126. <value>./target/allure-results</value>
  127. </property>
  128. </systemProperties>
  129. <!--ignore test failure-->
  130. <testFailureIgnore>true</testFailureIgnore>
  131. <argLine>
  132. -Dfile.encoding=UTF-8
  133. </argLine>
  134. <suiteXmlFiles>
  135. <suiteXmlFile>${xmlFileName}</suiteXmlFile>
  136. </suiteXmlFiles>
  137. </configuration>
  138. </plugin>
  139. </plugins>
  140. </build>
  141. </project>