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

1 год назад
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>hz-project-management</artifactId>
  7. <groupId>com.hz.pm</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>hz-pm-sync</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.google.guava</groupId>
  19. <artifactId>guava</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>cn.hutool</groupId>
  23. <artifactId>hutool-all</artifactId>
  24. <version>5.8.5</version>
  25. </dependency>
  26. <!-- mysql -->
  27. <dependency>
  28. <groupId>mysql</groupId>
  29. <artifactId>mysql-connector-java</artifactId>
  30. </dependency>
  31. <!--lombok-->
  32. <dependency>
  33. <groupId>org.projectlombok</groupId>
  34. <artifactId>lombok</artifactId>
  35. </dependency>
  36. <!-- mybatis plus-->
  37. <dependency>
  38. <groupId>com.baomidou</groupId>
  39. <artifactId>mybatis-plus-boot-starter</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.commons</groupId>
  43. <artifactId>commons-lang3</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.alibaba</groupId>
  47. <artifactId>fastjson</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.tomcat.embed</groupId>
  51. <artifactId>tomcat-embed-core</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-web</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-jdbc</artifactId>
  60. </dependency>
  61. <!--实现springboot的热加载-->
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-devtools</artifactId>
  65. <optional>true</optional>
  66. <scope>true</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-aop</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.ningdatech</groupId>
  74. <artifactId>nd-swagger2-starter</artifactId>
  75. <exclusions>
  76. <exclusion>
  77. <groupId>org.slf4j</groupId>
  78. <artifactId>slf4j-log4j12</artifactId>
  79. </exclusion>
  80. </exclusions>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.ningdatech</groupId>
  84. <artifactId>nd-basic</artifactId>
  85. <exclusions>
  86. <exclusion>
  87. <groupId>org.slf4j</groupId>
  88. <artifactId>slf4j-log4j12</artifactId>
  89. </exclusion>
  90. <exclusion>
  91. <artifactId>spring-boot-starter-security</artifactId>
  92. <groupId>org.springframework.boot</groupId>
  93. </exclusion>
  94. <exclusion>
  95. <artifactId>spring-security-config</artifactId>
  96. <groupId>org.springframework.security</groupId>
  97. </exclusion>
  98. <exclusion>
  99. <artifactId>spring-security-web</artifactId>
  100. <groupId>org.springframework.security</groupId>
  101. </exclusion>
  102. <exclusion>
  103. <artifactId>spring-security-core</artifactId>
  104. <groupId>org.springframework.security</groupId>
  105. </exclusion>
  106. <exclusion>
  107. <groupId>com.baomidou</groupId>
  108. <artifactId>mybatis-plus-boot-starter</artifactId>
  109. </exclusion>
  110. </exclusions>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.apache.httpcomponents</groupId>
  114. <artifactId>httpclient</artifactId>
  115. <version>4.5.13</version>
  116. </dependency>
  117. </dependencies>
  118. <!-- 打包 -->
  119. <!--配置环境的profile-->
  120. <profiles>
  121. <profile>
  122. <id>dev</id>
  123. <properties>
  124. <!--使用${environment}获取值-->
  125. <environment>dev</environment>
  126. </properties>
  127. </profile>
  128. <profile>
  129. <id>test</id>
  130. <properties>
  131. <environment>test</environment>
  132. </properties>
  133. </profile>
  134. <profile>
  135. <id>pre</id>
  136. <properties>
  137. <environment>pre</environment>
  138. </properties>
  139. </profile>
  140. <profile>
  141. <id>prod</id>
  142. <properties>
  143. <environment>prod</environment>
  144. </properties>
  145. </profile>
  146. </profiles>
  147. <build>
  148. <resources>
  149. <resource>
  150. <directory>src/main/resources</directory>
  151. <includes>
  152. <include>**/*</include>
  153. </includes>
  154. </resource>
  155. <resource>
  156. <directory>src/main/java</directory>
  157. <includes>
  158. <include>**/*.xml</include>
  159. </includes>
  160. </resource>
  161. <resource>
  162. <directory>src/main/lib</directory>
  163. <targetPath>BOOT-INF/lib/</targetPath>
  164. <includes>
  165. <include>**/*.jar</include>
  166. </includes>
  167. </resource>
  168. <resource>
  169. <directory>src/main/resources</directory>
  170. <targetPath>BOOT-INF/classes/</targetPath>
  171. </resource>
  172. </resources>
  173. <finalName>${project.artifactId}</finalName>
  174. <plugins>
  175. <plugin>
  176. <groupId>org.springframework.boot</groupId>
  177. <artifactId>spring-boot-maven-plugin</artifactId>
  178. <version>2.6.8</version>
  179. <configuration>
  180. <includeSystemScope>true</includeSystemScope>
  181. </configuration>
  182. <executions>
  183. <execution>
  184. <goals>
  185. <goal>repackage</goal>
  186. </goals>
  187. </execution>
  188. </executions>
  189. </plugin>
  190. </plugins>
  191. </build>
  192. </project>