杭州市委办项管
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

275 строки
9.5KB

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