pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.jd.dt2</groupId>
  8. <artifactId>cgj-dt2-parent</artifactId>
  9. <version>0.0.1</version>
  10. </parent>
  11. <artifactId>server-basic</artifactId>
  12. <name>server-basic</name>
  13. <description>Demo project for Spring Boot</description>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.springframework.boot</groupId>
  17. <artifactId>spring-boot-starter-web</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.springframework.cloud</groupId>
  21. <artifactId>spring-cloud-starter-openfeign</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>com.hikvision.ga</groupId>
  25. <artifactId>artemis-http-client</artifactId>
  26. <version>1.1.3</version>
  27. <exclusions>
  28. <exclusion>
  29. <groupId>ch.qos.logback</groupId>
  30. <artifactId>logback-classic</artifactId>
  31. </exclusion>
  32. <exclusion>
  33. <groupId>ch.qos.logback</groupId>
  34. <artifactId>logback-core</artifactId>
  35. </exclusion>
  36. </exclusions>
  37. </dependency>
  38. <dependency>
  39. <groupId>mysql</groupId>
  40. <artifactId>mysql-connector-java</artifactId>
  41. </dependency>
  42. <!--<dependency>
  43. <groupId>org.mybatis.spring.boot</groupId>
  44. <artifactId>mybatis-spring-boot-starter</artifactId>
  45. <version>${mybatis-spring-boot-starter}</version>
  46. </dependency>-->
  47. <dependency>
  48. <groupId>com.alibaba</groupId>
  49. <artifactId>fastjson</artifactId>
  50. <version>1.2.68</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.cloud</groupId>
  54. <artifactId>spring-cloud-starter-oauth2</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-data-redis</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.apache.commons</groupId>
  62. <artifactId>commons-pool2</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.cloud</groupId>
  66. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.github.xiaoymin</groupId>
  70. <artifactId>knife4j-spring-boot-autoconfigure</artifactId>
  71. <version>2.0.3</version>
  72. <scope>compile</scope>
  73. </dependency>
  74. <!-- Mybatis-Plus依赖 -->
  75. <dependency>
  76. <groupId>com.baomidou</groupId>
  77. <artifactId>mybatis-plus-boot-starter</artifactId>
  78. <version>3.4.2</version>
  79. </dependency>
  80. <!--阿里云短信相关-->
  81. <dependency>
  82. <groupId>com.aliyun</groupId>
  83. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  84. <version>1.1.0</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.aliyun</groupId>
  88. <artifactId>aliyun-java-sdk-core</artifactId>
  89. <version>3.2.5</version>
  90. </dependency>
  91. <!-- 爬虫 https://mvnrepository.com/artifact/org.jsoup/jsoup -->
  92. <dependency>
  93. <groupId>org.jsoup</groupId>
  94. <artifactId>jsoup</artifactId>
  95. <version>1.14.3</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.seleniumhq.selenium</groupId>
  99. <artifactId>selenium-java</artifactId>
  100. </dependency>
  101. </dependencies>
  102. <build>
  103. <plugins>
  104. <plugin>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-maven-plugin</artifactId>
  107. </plugin>
  108. <!-- <plugin>
  109. <groupId>org.apache.maven.plugins</groupId>
  110. <artifactId>maven-jar-plugin</artifactId>
  111. <configuration>
  112. <archive>
  113. <manifest>
  114. <addClasspath>true</addClasspath>
  115. <classpathPrefix>lib/</classpathPrefix>
  116. <mainClass>com.jd.ServerBasicApplication</mainClass>
  117. </manifest>
  118. </archive>
  119. </configuration>
  120. </plugin> -->
  121. <!-- 添加配置跳过测试 -->
  122. <plugin>
  123. <groupId>org.apache.maven.plugins</groupId>
  124. <artifactId>maven-surefire-plugin</artifactId>
  125. <configuration>
  126. <skipTests>true</skipTests>
  127. </configuration>
  128. </plugin>
  129. </plugins>
  130. <resources>
  131. <resource>
  132. <directory>src/main/resources</directory>
  133. <!-- <excludes>
  134. <exclude>**/**</exclude>
  135. </excludes> -->
  136. </resource>
  137. </resources>
  138. </build>
  139. </project>