杭州市委办项管
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.

295 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-irs-starter</artifactId>
  166. </dependency>
  167. <dependency>
  168. <groupId>com.ningdatech</groupId>
  169. <artifactId>nd-yxt-starter</artifactId>
  170. <version>1.0.0</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>com.alibaba</groupId>
  174. <artifactId>easyexcel-core</artifactId>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.ningdatech</groupId>
  178. <artifactId>nd-file-starter</artifactId>
  179. </dependency>
  180. <dependency>
  181. <groupId>com.ningdatech</groupId>
  182. <artifactId>nd-flowable-starter</artifactId>
  183. <exclusions>
  184. <exclusion>
  185. <groupId>com.baomidou</groupId>
  186. <artifactId>mybatis-plus-boot-starter</artifactId>
  187. </exclusion>
  188. <exclusion>
  189. <groupId>com.alibaba</groupId>
  190. <artifactId>druid-spring-boot-starter</artifactId>
  191. </exclusion>
  192. </exclusions>
  193. </dependency>
  194. <dependency>
  195. <groupId>joda-time</groupId>
  196. <artifactId>joda-time</artifactId>
  197. </dependency>
  198. <!--状态机-->
  199. <dependency>
  200. <groupId>org.springframework.statemachine</groupId>
  201. <artifactId>spring-statemachine-core</artifactId>
  202. </dependency>
  203. <!--导入导出-->
  204. <dependency>
  205. <groupId>cn.afterturn</groupId>
  206. <artifactId>easypoi-base</artifactId>
  207. </dependency>
  208. <dependency>
  209. <groupId>com.github.oshi</groupId>
  210. <artifactId>oshi-core</artifactId>
  211. </dependency>
  212. </dependencies>
  213. <!-- 打包 -->
  214. <!--配置环境的profile-->
  215. <profiles>
  216. <profile>
  217. <id>dev</id>
  218. <properties>
  219. <!--使用${environment}获取值-->
  220. <environment>dev</environment>
  221. </properties>
  222. </profile>
  223. <profile>
  224. <id>test</id>
  225. <properties>
  226. <!--使用${environment}获取值-->
  227. <environment>test</environment>
  228. </properties>
  229. </profile>
  230. <profile>
  231. <id>prod</id>
  232. <properties>
  233. <environment>prod</environment>
  234. </properties>
  235. </profile>
  236. </profiles>
  237. <build>
  238. <resources>
  239. <resource>
  240. <directory>src/main/resources</directory>
  241. <includes>
  242. <include>**/*</include>
  243. </includes>
  244. </resource>
  245. <resource>
  246. <directory>src/main/java</directory>
  247. <includes>
  248. <include>**/*.xml</include>
  249. </includes>
  250. </resource>
  251. <resource>
  252. <directory>src/main/lib</directory>
  253. <targetPath>BOOT-INF/lib/</targetPath>
  254. <includes>
  255. <include>**/*.jar</include>
  256. </includes>
  257. </resource>
  258. <resource>
  259. <directory>src/main/resources</directory>
  260. <targetPath>BOOT-INF/classes/</targetPath>
  261. </resource>
  262. </resources>
  263. <finalName>${project.artifactId}</finalName>
  264. <plugins>
  265. <plugin>
  266. <groupId>org.springframework.boot</groupId>
  267. <artifactId>spring-boot-maven-plugin</artifactId>
  268. <version>2.6.8</version>
  269. <configuration>
  270. <includeSystemScope>true</includeSystemScope>
  271. </configuration>
  272. <executions>
  273. <execution>
  274. <goals>
  275. <goal>repackage</goal>
  276. </goals>
  277. </execution>
  278. </executions>
  279. </plugin>
  280. <!-- 跳过单元测试 -->
  281. <plugin>
  282. <groupId>org.apache.maven.plugins</groupId>
  283. <artifactId>maven-surefire-plugin</artifactId>
  284. <configuration>
  285. <skipTests>true</skipTests>
  286. </configuration>
  287. </plugin>
  288. </plugins>
  289. </build>
  290. </project>