义乌公路
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

310 lignes
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>ningda-yw-road</artifactId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <artifactId>ningda-yw-api</artifactId>
  11. <version>1.0.0</version>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.alibaba</groupId>
  15. <artifactId>easyexcel</artifactId>
  16. <exclusions>
  17. <exclusion>
  18. <groupId>org.apache.poi</groupId>
  19. <artifactId>poi</artifactId>
  20. </exclusion>
  21. <exclusion>
  22. <groupId>org.apache.poi</groupId>
  23. <artifactId>poi-ooxml</artifactId>
  24. </exclusion>
  25. <exclusion>
  26. <groupId>org.apache.poi</groupId>
  27. <artifactId>poi-ooxml-schemas</artifactId>
  28. </exclusion>
  29. </exclusions>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-web</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-test</artifactId>
  38. <scope>test</scope>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.jxls</groupId>
  42. <artifactId>jxls-jexcel</artifactId>
  43. <version>1.0.6</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.ningdatech</groupId>
  47. <artifactId>nd-openapi-signature-starter</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-jdbc</artifactId>
  52. </dependency>
  53. <!--实现springboot的热加载-->
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-devtools</artifactId>
  57. <optional>true</optional>
  58. <scope>true</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.ningdatech</groupId>
  62. <artifactId>nd-basic</artifactId>
  63. <version>1.0.0</version>
  64. <exclusions>
  65. <exclusion>
  66. <groupId>org.slf4j</groupId>
  67. <artifactId>slf4j-log4j12</artifactId>
  68. </exclusion>
  69. </exclusions>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.ningdatech</groupId>
  73. <artifactId>nd-swagger2-starter</artifactId>
  74. <exclusions>
  75. <exclusion>
  76. <groupId>org.slf4j</groupId>
  77. <artifactId>slf4j-log4j12</artifactId>
  78. </exclusion>
  79. </exclusions>
  80. </dependency>
  81. <!-- MYSQL -->
  82. <dependency>
  83. <groupId>mysql</groupId>
  84. <artifactId>mysql-connector-java</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-validation</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>io.krakens</groupId>
  92. <artifactId>java-grok</artifactId>
  93. <version>0.1.9</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.httpcomponents</groupId>
  97. <artifactId>httpclient</artifactId>
  98. </dependency>
  99. <!-- 实现对 Spring Session 使用 Redis 作为数据源的自动化配置 -->
  100. <dependency>
  101. <groupId>org.springframework.session</groupId>
  102. <artifactId>spring-session-data-redis</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.ningdatech</groupId>
  106. <artifactId>nd-cache-starter</artifactId>
  107. <version>1.0.0</version>
  108. <exclusions>
  109. <exclusion>
  110. <groupId>org.slf4j</groupId>
  111. <artifactId>slf4j-log4j12</artifactId>
  112. </exclusion>
  113. </exclusions>
  114. </dependency>
  115. <!-- mybatis plus-->
  116. <dependency>
  117. <groupId>com.baomidou</groupId>
  118. <artifactId>mybatis-plus-boot-starter</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.apache.poi</groupId>
  122. <artifactId>poi</artifactId>
  123. <version>4.1.2</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.apache.poi</groupId>
  127. <artifactId>poi-ooxml</artifactId>
  128. <version>4.1.2</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.apache.tomcat.embed</groupId>
  132. <artifactId>tomcat-embed-core</artifactId>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.ningdatech</groupId>
  136. <artifactId>nd-log-starter</artifactId>
  137. <version>1.0.0</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>com.ningdatech</groupId>
  141. <artifactId>nd-file-starter</artifactId>
  142. <version>1.0.0</version>
  143. </dependency>
  144. <!-- rabbit mq -->
  145. <!--mqtt依赖包-->
  146. <!--mqtt依赖-->
  147. <dependency>
  148. <groupId>org.springframework.boot</groupId>
  149. <artifactId>spring-boot-starter-integration</artifactId>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.springframework.integration</groupId>
  153. <artifactId>spring-integration-stream</artifactId>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.springframework.integration</groupId>
  157. <artifactId>spring-integration-mqtt</artifactId>
  158. </dependency>
  159. <dependency>
  160. <groupId>junit</groupId>
  161. <artifactId>junit</artifactId>
  162. <scope>test</scope>
  163. </dependency>
  164. <!-- 集成Redis -->
  165. <dependency>
  166. <groupId>org.springframework.boot</groupId>
  167. <artifactId>spring-boot-starter-data-redis</artifactId>
  168. </dependency>
  169. <dependency>
  170. <groupId>com.aliyun</groupId>
  171. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  172. <version>1.1.0</version>
  173. </dependency>
  174. <dependency>
  175. <artifactId>nd-sms-send-starter</artifactId>
  176. <groupId>com.ningdatech</groupId>
  177. <version>1.0.0</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>javax.persistence</groupId>
  181. <artifactId>javax.persistence-api</artifactId>
  182. <version>2.2</version>
  183. </dependency>
  184. <!-- 导出文件为word docx格式 -->
  185. <dependency>
  186. <groupId>fr.opensagres.xdocreport</groupId>
  187. <artifactId>fr.opensagres.xdocreport.core</artifactId>
  188. <version>2.0.2</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>fr.opensagres.xdocreport</groupId>
  192. <artifactId>fr.opensagres.xdocreport.document</artifactId>
  193. <version>2.0.2</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>fr.opensagres.xdocreport</groupId>
  197. <artifactId>fr.opensagres.xdocreport.template</artifactId>
  198. <version>2.0.2</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>fr.opensagres.xdocreport</groupId>
  202. <artifactId>fr.opensagres.xdocreport.document.docx</artifactId>
  203. <version>2.0.2</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>fr.opensagres.xdocreport</groupId>
  207. <artifactId>fr.opensagres.xdocreport.template.freemarker</artifactId>
  208. <version>2.0.2</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>org.springframework</groupId>
  212. <artifactId>spring-test</artifactId>
  213. </dependency>
  214. <!--导入导出-->
  215. <dependency>
  216. <groupId>cn.afterturn</groupId>
  217. <artifactId>easypoi-base</artifactId>
  218. </dependency>
  219. </dependencies>
  220. <!-- 打包 -->
  221. <!--配置环境的profile-->
  222. <profiles>
  223. <profile>
  224. <id>dev</id>
  225. <properties>
  226. <!--使用${environment}获取值-->
  227. <environment>dev</environment>
  228. </properties>
  229. </profile>
  230. <profile>
  231. <id>test</id>
  232. <properties>
  233. <environment>test</environment>
  234. </properties>
  235. </profile>
  236. <profile>
  237. <id>pre</id>
  238. <properties>
  239. <environment>pre</environment>
  240. </properties>
  241. </profile>
  242. <profile>
  243. <id>prod</id>
  244. <properties>
  245. <environment>prod</environment>
  246. </properties>
  247. </profile>
  248. </profiles>
  249. <build>
  250. <resources>
  251. <resource>
  252. <directory>src/main/resources</directory>
  253. <includes>
  254. <include>**/*</include>
  255. </includes>
  256. </resource>
  257. <resource>
  258. <directory>src/main/java</directory>
  259. <includes>
  260. <include>**/*.xml</include>
  261. </includes>
  262. </resource>
  263. <resource>
  264. <directory>src/main/lib</directory>
  265. <targetPath>BOOT-INF/lib/</targetPath>
  266. <includes>
  267. <include>**/*.jar</include>
  268. </includes>
  269. </resource>
  270. <resource>
  271. <directory>src/main/resources</directory>
  272. <targetPath>BOOT-INF/classes/</targetPath>
  273. </resource>
  274. </resources>
  275. <finalName>${project.artifactId}</finalName>
  276. <plugins>
  277. <plugin>
  278. <groupId>org.springframework.boot</groupId>
  279. <artifactId>spring-boot-maven-plugin</artifactId>
  280. <version>2.1.12.RELEASE</version>
  281. <configuration>
  282. <includeSystemScope>true</includeSystemScope>
  283. </configuration>
  284. <executions>
  285. <execution>
  286. <goals>
  287. <goal>repackage</goal>
  288. </goals>
  289. </execution>
  290. </executions>
  291. </plugin>
  292. <!-- 跳过单元测试 -->
  293. <plugin>
  294. <groupId>org.apache.maven.plugins</groupId>
  295. <artifactId>maven-surefire-plugin</artifactId>
  296. <configuration>
  297. <skipTests>true</skipTests>
  298. </configuration>
  299. </plugin>
  300. </plugins>
  301. </build>
  302. </project>