杭州市委办项管
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

192 Zeilen
6.5KB

  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>project-management</artifactId>
  7. <groupId>com.ningdatech</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>syn-data-task</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. </dependencies>
  113. <!-- 打包 -->
  114. <!--配置环境的profile-->
  115. <profiles>
  116. <profile>
  117. <id>dev</id>
  118. <properties>
  119. <!--使用${environment}获取值-->
  120. <environment>dev</environment>
  121. </properties>
  122. </profile>
  123. <profile>
  124. <id>test</id>
  125. <properties>
  126. <environment>test</environment>
  127. </properties>
  128. </profile>
  129. <profile>
  130. <id>pre</id>
  131. <properties>
  132. <environment>pre</environment>
  133. </properties>
  134. </profile>
  135. <profile>
  136. <id>prod</id>
  137. <properties>
  138. <environment>prod</environment>
  139. </properties>
  140. </profile>
  141. </profiles>
  142. <build>
  143. <resources>
  144. <resource>
  145. <directory>src/main/resources</directory>
  146. <includes>
  147. <include>**/*</include>
  148. </includes>
  149. </resource>
  150. <resource>
  151. <directory>src/main/java</directory>
  152. <includes>
  153. <include>**/*.xml</include>
  154. </includes>
  155. </resource>
  156. <resource>
  157. <directory>src/main/lib</directory>
  158. <targetPath>BOOT-INF/lib/</targetPath>
  159. <includes>
  160. <include>**/*.jar</include>
  161. </includes>
  162. </resource>
  163. <resource>
  164. <directory>src/main/resources</directory>
  165. <targetPath>BOOT-INF/classes/</targetPath>
  166. </resource>
  167. </resources>
  168. <finalName>${project.artifactId}</finalName>
  169. <plugins>
  170. <plugin>
  171. <groupId>org.springframework.boot</groupId>
  172. <artifactId>spring-boot-maven-plugin</artifactId>
  173. <version>2.6.8</version>
  174. <configuration>
  175. <includeSystemScope>true</includeSystemScope>
  176. </configuration>
  177. <executions>
  178. <execution>
  179. <goals>
  180. <goal>repackage</goal>
  181. </goals>
  182. </execution>
  183. </executions>
  184. </plugin>
  185. </plugins>
  186. </build>
  187. </project>