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.

326 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>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. <!-- Jedis -->
  220. <dependency>
  221. <groupId>redis.clients</groupId>
  222. <artifactId>jedis</artifactId>
  223. <version>3.7.0</version>
  224. </dependency>
  225. <!-- Jackson -->
  226. <dependency>
  227. <groupId>com.fasterxml.jackson.core</groupId>
  228. <artifactId>jackson-databind</artifactId>
  229. <version>2.12.3</version>
  230. </dependency>
  231. </dependencies>
  232. <!-- 打包 -->
  233. <!--配置环境的profile-->
  234. <profiles>
  235. <profile>
  236. <id>dev</id>
  237. <properties>
  238. <!--使用${environment}获取值-->
  239. <environment>dev</environment>
  240. </properties>
  241. </profile>
  242. <profile>
  243. <id>test</id>
  244. <properties>
  245. <environment>test</environment>
  246. </properties>
  247. </profile>
  248. <profile>
  249. <id>pre</id>
  250. <properties>
  251. <environment>pre</environment>
  252. </properties>
  253. </profile>
  254. <profile>
  255. <id>prod</id>
  256. <properties>
  257. <environment>prod</environment>
  258. </properties>
  259. </profile>
  260. </profiles>
  261. <build>
  262. <resources>
  263. <resource>
  264. <directory>src/main/resources</directory>
  265. <includes>
  266. <include>**/*</include>
  267. </includes>
  268. </resource>
  269. <resource>
  270. <directory>src/main/java</directory>
  271. <includes>
  272. <include>**/*.xml</include>
  273. </includes>
  274. </resource>
  275. <resource>
  276. <directory>src/main/lib</directory>
  277. <targetPath>BOOT-INF/lib/</targetPath>
  278. <includes>
  279. <include>**/*.jar</include>
  280. </includes>
  281. </resource>
  282. <resource>
  283. <directory>src/main/resources</directory>
  284. <targetPath>BOOT-INF/classes/</targetPath>
  285. </resource>
  286. </resources>
  287. <finalName>${project.artifactId}</finalName>
  288. <plugins>
  289. <plugin>
  290. <groupId>org.springframework.boot</groupId>
  291. <artifactId>spring-boot-maven-plugin</artifactId>
  292. <version>2.1.12.RELEASE</version>
  293. <configuration>
  294. <includeSystemScope>true</includeSystemScope>
  295. </configuration>
  296. <executions>
  297. <execution>
  298. <goals>
  299. <goal>repackage</goal>
  300. </goals>
  301. </execution>
  302. </executions>
  303. </plugin>
  304. <!-- 跳过单元测试 -->
  305. <plugin>
  306. <groupId>org.apache.maven.plugins</groupId>
  307. <artifactId>maven-surefire-plugin</artifactId>
  308. <configuration>
  309. <skipTests>true</skipTests>
  310. </configuration>
  311. </plugin>
  312. </plugins>
  313. </build>
  314. </project>