pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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-admin</artifactId>
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.persagy</groupId>
  16. <artifactId>dmp-common</artifactId>
  17. <version>4.0.0</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.persagy</groupId>
  21. <artifactId>dmp-model</artifactId>
  22. <version>4.0.0</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.persagy</groupId>
  26. <artifactId>dmp-rwd-funcid-parser</artifactId>
  27. <version>4.0.0</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.apache.httpcomponents</groupId>
  31. <artifactId>httpclient</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.apache.shiro</groupId>
  35. <artifactId>shiro-spring</artifactId>
  36. <version>1.4.0</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>mysql</groupId>
  40. <artifactId>mysql-connector-java</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.alibaba</groupId>
  44. <artifactId>druid</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.querydsl</groupId>
  48. <artifactId>querydsl-apt</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.querydsl</groupId>
  52. <artifactId>querydsl-jpa</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-actuator</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-web</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-data-jpa</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-data-redis</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.apache.poi</groupId>
  72. <artifactId>poi</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.poi</groupId>
  76. <artifactId>poi-ooxml</artifactId>
  77. </dependency>
  78. <!-- rabbitmq -->
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-amqp</artifactId>
  82. </dependency>
  83. <!-- 注册中心 -->
  84. <dependency>
  85. <groupId>org.springframework.cloud</groupId>
  86. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  87. <exclusions>
  88. <exclusion>
  89. <artifactId>HdrHistogram</artifactId>
  90. <groupId>org.hdrhistogram</groupId>
  91. </exclusion>
  92. <exclusion>
  93. <artifactId>guava</artifactId>
  94. <groupId>com.google.guava</groupId>
  95. </exclusion>
  96. </exclusions>
  97. </dependency>
  98. <!-- 配置中心 -->
  99. <dependency>
  100. <groupId>org.springframework.cloud</groupId>
  101. <artifactId>spring-cloud-starter-config</artifactId>
  102. </dependency>
  103. </dependencies>
  104. <build>
  105. <finalName>${project.artifactId}</finalName>
  106. <plugins>
  107. <plugin>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-maven-plugin</artifactId>
  110. <configuration>
  111. <fork>true</fork>
  112. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  113. </configuration>
  114. <executions>
  115. <execution>
  116. <goals>
  117. <goal>repackage</goal>
  118. </goals>
  119. </execution>
  120. </executions>
  121. </plugin>
  122. <!--
  123. -->
  124. <plugin>
  125. <groupId>com.mysema.maven</groupId>
  126. <artifactId>apt-maven-plugin</artifactId>
  127. <version>1.1.3</version>
  128. <executions>
  129. <execution>
  130. <phase>generate-sources</phase>
  131. <goals>
  132. <goal>process</goal>
  133. </goals>
  134. <configuration>
  135. <outputDirectory>target/generated-sources</outputDirectory>
  136. <processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
  137. </configuration>
  138. </execution>
  139. </executions>
  140. </plugin>
  141. <plugin>
  142. <artifactId>maven-resources-plugin</artifactId>
  143. <executions>
  144. <execution>
  145. <id>copy-resources</id>
  146. <phase>package</phase>
  147. <goals>
  148. <goal>copy-resources</goal>
  149. </goals>
  150. <configuration>
  151. <resources>
  152. <resource>
  153. <directory>src/main/resources/</directory>
  154. <includes>
  155. <include>**/*.yml</include>
  156. </includes>
  157. </resource>
  158. </resources>
  159. <outputDirectory>${project.build.directory}/config</outputDirectory>
  160. </configuration>
  161. </execution>
  162. </executions>
  163. </plugin>
  164. </plugins>
  165. <resources>
  166. <resource>
  167. <directory>src/main/resources</directory>
  168. <includes>
  169. <include>**/*.*</include>
  170. </includes>
  171. <filtering>false</filtering>
  172. </resource>
  173. <resource>
  174. <directory>src/main/webapp</directory>
  175. <includes>
  176. <include>**/**</include>
  177. </includes>
  178. </resource>
  179. </resources>
  180. </build>
  181. </project>