pom.xml 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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>dmp</artifactId>
  7. <groupId>com.persagy</groupId>
  8. <version>4.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>com.persagy</groupId>
  12. <artifactId>dmp-rwd-edit</artifactId>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.apache.httpcomponents</groupId>
  16. <artifactId>httpclient</artifactId>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-data-redis</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.persagy</groupId>
  24. <artifactId>dmp-model</artifactId>
  25. <version>4.0.0</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.vladmihalcea</groupId>
  29. <artifactId>hibernate-types-52</artifactId>
  30. <version>2.9.13</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.querydsl</groupId>
  34. <artifactId>querydsl-sql</artifactId>
  35. <version>${querydsl.version}</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.querydsl</groupId>
  39. <artifactId>querydsl-apt</artifactId>
  40. <exclusions>
  41. <exclusion>
  42. <artifactId>javassist</artifactId>
  43. <groupId>org.javassist</groupId>
  44. </exclusion>
  45. <exclusion>
  46. <artifactId>guava</artifactId>
  47. <groupId>com.google.guava</groupId>
  48. </exclusion>
  49. </exclusions>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.alibaba</groupId>
  53. <artifactId>druid</artifactId>
  54. <version>1.1.21</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>mysql</groupId>
  58. <artifactId>mysql-connector-java</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-data-jpa</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.querydsl</groupId>
  66. <artifactId>querydsl-jpa</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-actuator</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-web</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.persagy</groupId>
  78. <artifactId>dmp-common</artifactId>
  79. <version>4.0.0</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.shiro</groupId>
  83. <artifactId>shiro-spring</artifactId>
  84. <version>1.4.0</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.google.code.gson</groupId>
  88. <artifactId>gson</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.apache.poi</groupId>
  92. <artifactId>poi</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.apache.poi</groupId>
  96. <artifactId>poi-ooxml</artifactId>
  97. </dependency>
  98. <!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
  99. <dependency>
  100. <groupId>cn.hutool</groupId>
  101. <artifactId>hutool-all</artifactId>
  102. <version>5.7.2</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>commons-lang</groupId>
  106. <artifactId>commons-lang</artifactId>
  107. <version>2.6</version>
  108. <scope>compile</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.alibaba</groupId>
  112. <artifactId>fastjson</artifactId>
  113. <version>1.2.47</version>
  114. <scope>compile</scope>
  115. </dependency>
  116. <!-- 注册中心 -->
  117. <dependency>
  118. <groupId>org.springframework.cloud</groupId>
  119. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  120. <exclusions>
  121. <exclusion>
  122. <artifactId>HdrHistogram</artifactId>
  123. <groupId>org.hdrhistogram</groupId>
  124. </exclusion>
  125. <exclusion>
  126. <artifactId>guava</artifactId>
  127. <groupId>com.google.guava</groupId>
  128. </exclusion>
  129. </exclusions>
  130. </dependency>
  131. <!-- 配置中心 -->
  132. <dependency>
  133. <groupId>org.springframework.cloud</groupId>
  134. <artifactId>spring-cloud-starter-config</artifactId>
  135. </dependency>
  136. </dependencies>
  137. <build>
  138. <finalName>${project.artifactId}</finalName>
  139. <plugins>
  140. <plugin>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-surefire-report-plugin</artifactId>
  143. <version>2.12.2</version>
  144. <configuration>
  145. <showSuccess>false</showSuccess>
  146. </configuration>
  147. </plugin>
  148. <plugin>
  149. <groupId>org.codehaus.mojo</groupId>
  150. <artifactId>cobertura-maven-plugin</artifactId>
  151. <version>2.5.1</version>
  152. </plugin>
  153. <plugin>
  154. <groupId>org.apache.maven.plugins</groupId>
  155. <artifactId>maven-surefire-plugin</artifactId>
  156. <version>2.22.2</version>
  157. <configuration>
  158. <skipTests>true</skipTests>
  159. <forkMode>once</forkMode>
  160. <argLine>-Dfile.encoding=UTF-8</argLine>
  161. </configuration>
  162. </plugin>
  163. <plugin>
  164. <groupId>org.springframework.boot</groupId>
  165. <artifactId>spring-boot-maven-plugin</artifactId>
  166. <configuration>
  167. <fork>true</fork>
  168. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  169. </configuration>
  170. <executions>
  171. <execution>
  172. <goals>
  173. <goal>repackage</goal>
  174. </goals>
  175. </execution>
  176. </executions>
  177. </plugin>
  178. <!--
  179. -->
  180. <plugin>
  181. <groupId>com.mysema.maven</groupId>
  182. <artifactId>apt-maven-plugin</artifactId>
  183. <version>1.1.3</version>
  184. <executions>
  185. <execution>
  186. <phase>generate-sources</phase>
  187. <goals>
  188. <goal>process</goal>
  189. </goals>
  190. <configuration>
  191. <outputDirectory>target/generated-sources</outputDirectory>
  192. <processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
  193. </configuration>
  194. </execution>
  195. </executions>
  196. </plugin>
  197. <plugin>
  198. <artifactId>maven-resources-plugin</artifactId>
  199. <executions>
  200. <execution>
  201. <id>copy-resources</id>
  202. <phase>package</phase>
  203. <goals>
  204. <goal>copy-resources</goal>
  205. </goals>
  206. <configuration>
  207. <resources>
  208. <resource>
  209. <directory>src/main/resources/</directory>
  210. <includes>
  211. <include>**/*.yml</include>
  212. </includes>
  213. </resource>
  214. </resources>
  215. <outputDirectory>${project.build.directory}/config</outputDirectory>
  216. </configuration>
  217. </execution>
  218. </executions>
  219. </plugin>
  220. </plugins>
  221. <resources>
  222. <resource>
  223. <directory>src/main/resources</directory>
  224. <includes>
  225. <include>**/*.*</include>
  226. </includes>
  227. <filtering>false</filtering>
  228. </resource>
  229. <resource>
  230. <directory>src/main/webapp</directory>
  231. <includes>
  232. <include>**/**</include>
  233. </includes>
  234. </resource>
  235. </resources>
  236. </build>
  237. </project>