pom.xml 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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. </dependency>
  121. <!-- 配置中心 -->
  122. <dependency>
  123. <groupId>org.springframework.cloud</groupId>
  124. <artifactId>spring-cloud-starter-config</artifactId>
  125. </dependency>
  126. </dependencies>
  127. <build>
  128. <finalName>dmp-rwd-edit</finalName>
  129. <plugins>
  130. <plugin>
  131. <groupId>org.apache.maven.plugins</groupId>
  132. <artifactId>maven-surefire-report-plugin</artifactId>
  133. <version>2.12.2</version>
  134. <configuration>
  135. <showSuccess>false</showSuccess>
  136. </configuration>
  137. </plugin>
  138. <plugin>
  139. <groupId>org.codehaus.mojo</groupId>
  140. <artifactId>cobertura-maven-plugin</artifactId>
  141. <version>2.5.1</version>
  142. </plugin>
  143. <plugin>
  144. <groupId>org.apache.maven.plugins</groupId>
  145. <artifactId>maven-surefire-plugin</artifactId>
  146. <version>2.22.2</version>
  147. <configuration>
  148. <skipTests>true</skipTests>
  149. <forkMode>once</forkMode>
  150. <argLine>-Dfile.encoding=UTF-8</argLine>
  151. </configuration>
  152. </plugin>
  153. <plugin>
  154. <groupId>org.springframework.boot</groupId>
  155. <artifactId>spring-boot-maven-plugin</artifactId>
  156. <configuration>
  157. <fork>true</fork>
  158. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  159. </configuration>
  160. <executions>
  161. <execution>
  162. <goals>
  163. <goal>repackage</goal>
  164. </goals>
  165. </execution>
  166. </executions>
  167. </plugin>
  168. <!--
  169. -->
  170. <plugin>
  171. <groupId>com.mysema.maven</groupId>
  172. <artifactId>apt-maven-plugin</artifactId>
  173. <version>1.1.3</version>
  174. <executions>
  175. <execution>
  176. <phase>generate-sources</phase>
  177. <goals>
  178. <goal>process</goal>
  179. </goals>
  180. <configuration>
  181. <outputDirectory>target/generated-sources</outputDirectory>
  182. <processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
  183. </configuration>
  184. </execution>
  185. </executions>
  186. </plugin>
  187. <plugin>
  188. <artifactId>maven-resources-plugin</artifactId>
  189. <executions>
  190. <execution>
  191. <id>copy-resources</id>
  192. <phase>package</phase>
  193. <goals>
  194. <goal>copy-resources</goal>
  195. </goals>
  196. <configuration>
  197. <resources>
  198. <resource>
  199. <directory>src/main/resources/</directory>
  200. <includes>
  201. <include>**/*.yml</include>
  202. </includes>
  203. </resource>
  204. </resources>
  205. <outputDirectory>${project.build.directory}/config</outputDirectory>
  206. </configuration>
  207. </execution>
  208. </executions>
  209. </plugin>
  210. </plugins>
  211. <resources>
  212. <resource>
  213. <directory>src/main/resources</directory>
  214. <includes>
  215. <include>**/*.*</include>
  216. </includes>
  217. <filtering>false</filtering>
  218. </resource>
  219. <resource>
  220. <directory>src/main/webapp</directory>
  221. <includes>
  222. <include>**/**</include>
  223. </includes>
  224. </resource>
  225. </resources>
  226. </build>
  227. </project>