杭州市委办项管
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

316 wiersze
11KB

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