pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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. <packaging>jar</packaging>
  14. <description>基础服务</description>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-starter-web</artifactId>
  19. </dependency>
  20. <!-- SpringCloud Alibaba Nacos -->
  21. <dependency>
  22. <groupId>com.alibaba.cloud</groupId>
  23. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.alibaba.cloud</groupId>
  27. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  28. </dependency>
  29. <!-- SpringCloud Alibaba Sentinel -->
  30. <dependency>
  31. <groupId>com.alibaba.cloud</groupId>
  32. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  33. </dependency>
  34. <!-- Mysql Connector -->
  35. <dependency>
  36. <groupId>mysql</groupId>
  37. <artifactId>mysql-connector-java</artifactId>
  38. </dependency>
  39. <!-- zd Common DataSource -->
  40. <dependency>
  41. <groupId>com.zd</groupId>
  42. <artifactId>zd-common-datasource</artifactId>
  43. </dependency>
  44. <!-- zd Common Log -->
  45. <dependency>
  46. <groupId>com.zd</groupId>
  47. <artifactId>zd-common-log</artifactId>
  48. </dependency>
  49. <!-- zd Common DataScope -->
  50. <dependency>
  51. <groupId>com.zd</groupId>
  52. <artifactId>zd-common-datascope</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>connect</groupId>
  56. <artifactId>connect-lib</artifactId>
  57. <version>1.0.0</version>
  58. <scope>system</scope>
  59. <systemPath>${project.basedir}/src/main/resources/libs/connect-lib.jar</systemPath>
  60. </dependency>
  61. <dependency>
  62. <groupId>reader</groupId>
  63. <artifactId>reader-lib</artifactId>
  64. <version>1.0.0</version>
  65. <scope>system</scope>
  66. <systemPath>${project.basedir}/src/main/resources/libs/reader-lib.jar</systemPath>
  67. </dependency>
  68. <!-- Quartz -->
  69. <dependency>
  70. <groupId>org.quartz-scheduler</groupId>
  71. <artifactId>quartz</artifactId>
  72. <exclusions>
  73. <exclusion>
  74. <groupId>com.mchange</groupId>
  75. <artifactId>c3p0</artifactId>
  76. </exclusion>
  77. </exclusions>
  78. </dependency>
  79. <!-- FastDFS -->
  80. <dependency>
  81. <groupId>com.github.tobato</groupId>
  82. <artifactId>fastdfs-client</artifactId>
  83. <exclusions>
  84. <exclusion>
  85. <artifactId>slf4j-api</artifactId>
  86. <groupId>org.slf4j</groupId>
  87. </exclusion>
  88. <exclusion>
  89. <groupId>org.slf4j</groupId>
  90. <artifactId>jcl-over-slf4j</artifactId>
  91. </exclusion>
  92. <exclusion>
  93. <groupId>ch.qos.logback</groupId>
  94. <artifactId>logback-classic</artifactId>
  95. </exclusion>
  96. </exclusions>
  97. </dependency>
  98. <!-- Minio -->
  99. <dependency>
  100. <groupId>io.minio</groupId>
  101. <artifactId>minio</artifactId>
  102. <version>${minio.version}</version>
  103. </dependency>
  104. </dependencies>
  105. <build>
  106. <finalName>${project.artifactId}</finalName>
  107. <plugins>
  108. <plugin>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-maven-plugin</artifactId>
  111. <configuration>
  112. <includeSystemScope>true</includeSystemScope>
  113. <fork>true</fork>
  114. </configuration>
  115. <executions>
  116. <execution>
  117. <goals>
  118. <goal>repackage</goal>
  119. </goals>
  120. </execution>
  121. </executions>
  122. </plugin>
  123. <!-- 打包时跳过test插件,不运行test测试用例 -->
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-surefire-plugin</artifactId>
  127. <version>${maven-surefire-plugin.version}</version>
  128. <configuration>
  129. <skipTests>true</skipTests>
  130. </configuration>
  131. </plugin>
  132. </plugins>
  133. </build>
  134. </project>