pom.xml 5.2 KB

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