pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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. <version>2.7.1</version>
  111. <configuration>
  112. <fork>true</fork>
  113. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  114. </configuration>
  115. <executions>
  116. <execution>
  117. <goals>
  118. <goal>repackage</goal>
  119. </goals>
  120. </execution>
  121. </executions>
  122. </plugin>
  123. <!--
  124. -->
  125. <plugin>
  126. <groupId>com.mysema.maven</groupId>
  127. <artifactId>apt-maven-plugin</artifactId>
  128. <version>1.1.3</version>
  129. <executions>
  130. <execution>
  131. <phase>generate-sources</phase>
  132. <goals>
  133. <goal>process</goal>
  134. </goals>
  135. <configuration>
  136. <outputDirectory>target/generated-sources</outputDirectory>
  137. <processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
  138. </configuration>
  139. </execution>
  140. </executions>
  141. </plugin>
  142. <plugin>
  143. <artifactId>maven-resources-plugin</artifactId>
  144. <executions>
  145. <execution>
  146. <id>copy-resources</id>
  147. <phase>package</phase>
  148. <goals>
  149. <goal>copy-resources</goal>
  150. </goals>
  151. <configuration>
  152. <resources>
  153. <resource>
  154. <directory>src/main/resources/</directory>
  155. <includes>
  156. <include>**/*.yml</include>
  157. </includes>
  158. </resource>
  159. </resources>
  160. <outputDirectory>${project.build.directory}/config</outputDirectory>
  161. </configuration>
  162. </execution>
  163. </executions>
  164. </plugin>
  165. </plugins>
  166. <resources>
  167. <resource>
  168. <directory>src/main/resources</directory>
  169. <includes>
  170. <include>**/*.*</include>
  171. </includes>
  172. <filtering>false</filtering>
  173. </resource>
  174. <resource>
  175. <directory>src/main/webapp</directory>
  176. <includes>
  177. <include>**/**</include>
  178. </includes>
  179. </resource>
  180. </resources>
  181. </build>
  182. </project>