杭州市委办项管
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

291 lines
10KB

  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>com.hz.pm</groupId>
  7. <artifactId>hz-project-management</artifactId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <artifactId>hz-pm-api</artifactId>
  11. <version>1.0.0</version>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.google.guava</groupId>
  15. <artifactId>guava</artifactId>
  16. <version>33.0.0-jre</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>cn.hutool</groupId>
  20. <artifactId>hutool-all</artifactId>
  21. <version>5.8.25</version>
  22. </dependency>
  23. <!--lombok-->
  24. <dependency>
  25. <groupId>org.projectlombok</groupId>
  26. <artifactId>lombok</artifactId>
  27. </dependency>
  28. <!-- mybatis plus-->
  29. <dependency>
  30. <groupId>com.baomidou</groupId>
  31. <artifactId>mybatis-plus-boot-starter</artifactId>
  32. </dependency>
  33. <!--Spring boot Redis-->
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-data-redis</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.baomidou</groupId>
  40. <artifactId>mybatis-plus-extension</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.session</groupId>
  44. <artifactId>spring-session-data-redis</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-freemarker</artifactId>
  49. </dependency>
  50. <!--spring boot 集成redis所需common-pool2-->
  51. <dependency>
  52. <groupId>org.apache.commons</groupId>
  53. <artifactId>commons-pool2</artifactId>
  54. <version>${commons-pool2.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.commons</groupId>
  58. <artifactId>commons-lang3</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.alibaba</groupId>
  62. <artifactId>fastjson</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.tomcat.embed</groupId>
  66. <artifactId>tomcat-embed-core</artifactId>
  67. <version>9.0.87</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-validation</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-web</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-jdbc</artifactId>
  80. </dependency>
  81. <!--实现springboot的热加载-->
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-devtools</artifactId>
  85. <optional>true</optional>
  86. <scope>true</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-aop</artifactId>
  91. </dependency>
  92. <!--cache-->
  93. <dependency>
  94. <groupId>com.github.ben-manes.caffeine</groupId>
  95. <artifactId>caffeine</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.apache.httpcomponents</groupId>
  99. <artifactId>httpclient</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.apache.poi</groupId>
  103. <artifactId>poi</artifactId>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.apache.poi</groupId>
  107. <artifactId>poi-ooxml</artifactId>
  108. </dependency>
  109. <dependency>
  110. <groupId>junit</groupId>
  111. <artifactId>junit</artifactId>
  112. <scope>test</scope>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.aspectj</groupId>
  116. <artifactId>aspectjweaver</artifactId>
  117. </dependency>
  118. <!--Spring boot 测试-->
  119. <dependency>
  120. <groupId>org.springframework.boot</groupId>
  121. <artifactId>spring-boot-starter-test</artifactId>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.springframework.boot</groupId>
  125. <artifactId>spring-boot-configuration-processor</artifactId>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.ningdatech</groupId>
  129. <artifactId>nd-log-starter</artifactId>
  130. <version>1.0.0</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.ningdatech</groupId>
  134. <artifactId>nd-basic</artifactId>
  135. <exclusions>
  136. <exclusion>
  137. <groupId>org.slf4j</groupId>
  138. <artifactId>slf4j-log4j12</artifactId>
  139. </exclusion>
  140. </exclusions>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.ningdatech</groupId>
  144. <artifactId>nd-swagger2-starter</artifactId>
  145. <exclusions>
  146. <exclusion>
  147. <groupId>org.slf4j</groupId>
  148. <artifactId>slf4j-log4j12</artifactId>
  149. </exclusion>
  150. </exclusions>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.dm</groupId>
  154. <artifactId>Dm8JdbcDriver</artifactId>
  155. <version>1.8</version>
  156. <scope>system</scope>
  157. <systemPath>${project.basedir}/lib/DmJdbcDriver18.jar</systemPath>
  158. </dependency>
  159. <dependency>
  160. <groupId>com.ningdatech</groupId>
  161. <artifactId>nd-cache-starter</artifactId>
  162. </dependency>
  163. <dependency>
  164. <groupId>com.ningdatech</groupId>
  165. <artifactId>nd-yxt-starter</artifactId>
  166. <version>1.0.0</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>com.alibaba</groupId>
  170. <artifactId>easyexcel-core</artifactId>
  171. </dependency>
  172. <dependency>
  173. <groupId>com.ningdatech</groupId>
  174. <artifactId>nd-file-starter</artifactId>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.ningdatech</groupId>
  178. <artifactId>nd-flowable-starter</artifactId>
  179. <exclusions>
  180. <exclusion>
  181. <groupId>com.baomidou</groupId>
  182. <artifactId>mybatis-plus-boot-starter</artifactId>
  183. </exclusion>
  184. <exclusion>
  185. <groupId>com.alibaba</groupId>
  186. <artifactId>druid-spring-boot-starter</artifactId>
  187. </exclusion>
  188. </exclusions>
  189. </dependency>
  190. <dependency>
  191. <groupId>joda-time</groupId>
  192. <artifactId>joda-time</artifactId>
  193. </dependency>
  194. <!--状态机-->
  195. <dependency>
  196. <groupId>org.springframework.statemachine</groupId>
  197. <artifactId>spring-statemachine-core</artifactId>
  198. </dependency>
  199. <!--导入导出-->
  200. <dependency>
  201. <groupId>cn.afterturn</groupId>
  202. <artifactId>easypoi-base</artifactId>
  203. </dependency>
  204. <dependency>
  205. <groupId>com.github.oshi</groupId>
  206. <artifactId>oshi-core</artifactId>
  207. </dependency>
  208. </dependencies>
  209. <!-- 打包 -->
  210. <!--配置环境的profile-->
  211. <profiles>
  212. <profile>
  213. <id>dev</id>
  214. <properties>
  215. <!--使用${environment}获取值-->
  216. <environment>dev</environment>
  217. </properties>
  218. </profile>
  219. <profile>
  220. <id>test</id>
  221. <properties>
  222. <!--使用${environment}获取值-->
  223. <environment>test</environment>
  224. </properties>
  225. </profile>
  226. <profile>
  227. <id>prod</id>
  228. <properties>
  229. <environment>prod</environment>
  230. </properties>
  231. </profile>
  232. </profiles>
  233. <build>
  234. <resources>
  235. <resource>
  236. <directory>src/main/resources</directory>
  237. <includes>
  238. <include>**/*</include>
  239. </includes>
  240. </resource>
  241. <resource>
  242. <directory>src/main/java</directory>
  243. <includes>
  244. <include>**/*.xml</include>
  245. </includes>
  246. </resource>
  247. <resource>
  248. <directory>src/main/lib</directory>
  249. <targetPath>BOOT-INF/lib/</targetPath>
  250. <includes>
  251. <include>**/*.jar</include>
  252. </includes>
  253. </resource>
  254. <resource>
  255. <directory>src/main/resources</directory>
  256. <targetPath>BOOT-INF/classes/</targetPath>
  257. </resource>
  258. </resources>
  259. <finalName>${project.artifactId}</finalName>
  260. <plugins>
  261. <plugin>
  262. <groupId>org.springframework.boot</groupId>
  263. <artifactId>spring-boot-maven-plugin</artifactId>
  264. <version>2.6.8</version>
  265. <configuration>
  266. <includeSystemScope>true</includeSystemScope>
  267. </configuration>
  268. <executions>
  269. <execution>
  270. <goals>
  271. <goal>repackage</goal>
  272. </goals>
  273. </execution>
  274. </executions>
  275. </plugin>
  276. <!-- 跳过单元测试 -->
  277. <plugin>
  278. <groupId>org.apache.maven.plugins</groupId>
  279. <artifactId>maven-surefire-plugin</artifactId>
  280. <configuration>
  281. <skipTests>true</skipTests>
  282. </configuration>
  283. </plugin>
  284. </plugins>
  285. </build>
  286. </project>