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

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