pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>zd-modules</artifactId>
  7. <groupId>com.zd</groupId>
  8. <version>3.1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>com.zd.base</groupId>
  12. <artifactId>zd-base</artifactId>
  13. <description>基础服务</description>
  14. <dependencies>
  15. <!-- SpringCloud Alibaba Nacos -->
  16. <dependency>
  17. <groupId>com.alibaba.cloud</groupId>
  18. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>com.alibaba.cloud</groupId>
  22. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  23. </dependency>
  24. <!-- SpringCloud Alibaba Sentinel -->
  25. <dependency>
  26. <groupId>com.alibaba.cloud</groupId>
  27. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  28. </dependency>
  29. <!-- SpringBoot Actuator -->
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-actuator</artifactId>
  33. </dependency>
  34. <!-- Mysql Connector -->
  35. <dependency>
  36. <groupId>mysql</groupId>
  37. <artifactId>mysql-connector-java</artifactId>
  38. </dependency>
  39. <!-- redis -->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-data-redis</artifactId>
  43. </dependency>
  44. <!-- zd Common DataSource -->
  45. <dependency>
  46. <groupId>com.zd</groupId>
  47. <artifactId>zd-common-datasource</artifactId>
  48. </dependency>
  49. <!-- zd Common Log -->
  50. <dependency>
  51. <groupId>com.zd</groupId>
  52. <artifactId>zd-common-log</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.zd</groupId>
  56. <artifactId>zd-common-resultdata</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.projectlombok</groupId>
  60. <artifactId>lombok</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.google.code.gson</groupId>
  64. <artifactId>gson</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>connect</groupId>
  68. <artifactId>connect-lib</artifactId>
  69. <version>1.0.0</version>
  70. <scope>system</scope>
  71. <systemPath>${project.basedir}/src/main/resources/libs/connect-lib.jar</systemPath>
  72. </dependency>
  73. <dependency>
  74. <groupId>reader</groupId>
  75. <artifactId>reader-lib</artifactId>
  76. <version>1.0.0</version>
  77. <scope>system</scope>
  78. <systemPath>${project.basedir}/src/main/resources/libs/reader-lib.jar</systemPath>
  79. </dependency>
  80. <!-- Quartz -->
  81. <dependency>
  82. <groupId>org.quartz-scheduler</groupId>
  83. <artifactId>quartz</artifactId>
  84. <exclusions>
  85. <exclusion>
  86. <groupId>com.mchange</groupId>
  87. <artifactId>c3p0</artifactId>
  88. </exclusion>
  89. </exclusions>
  90. </dependency>
  91. <!-- Apache Velocity -->
  92. <dependency>
  93. <groupId>org.apache.velocity</groupId>
  94. <artifactId>velocity</artifactId>
  95. </dependency>
  96. <!-- FastDFS -->
  97. <dependency>
  98. <groupId>com.github.tobato</groupId>
  99. <artifactId>fastdfs-client</artifactId>
  100. </dependency>
  101. <!-- Minio -->
  102. <dependency>
  103. <groupId>io.minio</groupId>
  104. <artifactId>minio</artifactId>
  105. <version>${minio.version}</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.json</groupId>
  109. <artifactId>json</artifactId>
  110. <version>20140107</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.apache.tomcat.embed</groupId>
  114. <artifactId>tomcat-embed-core</artifactId>
  115. </dependency>
  116. </dependencies>
  117. <build>
  118. <finalName>${project.artifactId}</finalName>
  119. <plugins>
  120. <plugin>
  121. <groupId>org.springframework.boot</groupId>
  122. <artifactId>spring-boot-maven-plugin</artifactId>
  123. <configuration>
  124. <includeSystemScope>true</includeSystemScope>
  125. <fork>true</fork>
  126. </configuration>
  127. <executions>
  128. <execution>
  129. <goals>
  130. <goal>repackage</goal>
  131. </goals>
  132. </execution>
  133. </executions>
  134. </plugin>
  135. <!-- 打包时跳过test插件,不运行test测试用例 -->
  136. <plugin>
  137. <groupId>org.apache.maven.plugins</groupId>
  138. <artifactId>maven-surefire-plugin</artifactId>
  139. <version>${maven-surefire-plugin.version}</version>
  140. <configuration>
  141. <skipTests>true</skipTests>
  142. </configuration>
  143. </plugin>
  144. </plugins>
  145. </build>
  146. </project>