pom.xml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <artifactId>parent</artifactId>
  6. <groupId>com.sp.friendship</groupId>
  7. <version>5.1.0</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>admin</artifactId>
  11. <packaging>jar</packaging>
  12. <name>admin</name>
  13. <version>5.1.0</version>
  14. <properties>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <maven.compiler.source>1.8</maven.compiler.source>
  17. <maven.compiler.target>1.8</maven.compiler.target>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-validation</artifactId>
  23. </dependency>
  24. <!-- 对视频进行处理 -->
  25. <dependency>
  26. <groupId>org.bytedeco</groupId>
  27. <artifactId>javacv</artifactId>
  28. <version>1.4.3</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.bytedeco.javacpp-presets</groupId>
  32. <artifactId>ffmpeg-platform</artifactId>
  33. <version>4.1-1.4.4</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.sp.friendship</groupId>
  37. <artifactId>core</artifactId>
  38. <version>${version}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-web</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-security</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-websocket</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.github.pagehelper</groupId>
  54. <artifactId>pagehelper-spring-boot-starter</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.alibaba</groupId>
  58. <artifactId>druid</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>commons-fileupload</groupId>
  62. <artifactId>commons-fileupload</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>mysql</groupId>
  66. <artifactId>mysql-connector-java</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-test</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.alibaba</groupId>
  74. <artifactId>druid-spring-boot-starter</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>junit</groupId>
  78. <artifactId>junit</artifactId>
  79. <version>4.11</version>
  80. <scope>test</scope>
  81. </dependency>
  82. <!--<dependency>-->
  83. <!--<groupId>de.codecentric</groupId>-->
  84. <!--<artifactId>spring-boot-admin-starter-client</artifactId>-->
  85. <!--</dependency>-->
  86. </dependencies>
  87. <build>
  88. <finalName>friendship-admin</finalName>
  89. <resources>
  90. <resource>
  91. <directory>src/main/java</directory>
  92. <includes>
  93. <include>**/*.xml</include>
  94. </includes>
  95. <filtering>true</filtering>
  96. </resource>
  97. <resource>
  98. <directory>src/main/resources</directory>
  99. <includes>
  100. <include>**/*.*</include>
  101. </includes>
  102. <filtering>true</filtering>
  103. </resource>
  104. </resources>
  105. <!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  106. <plugins>
  107. <plugin>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-maven-plugin</artifactId>
  110. <configuration>
  111. <includeSystemScope>true</includeSystemScope>
  112. </configuration>
  113. </plugin>
  114. <!-- 打包的时候跳过测试用例 -->
  115. <plugin>
  116. <groupId>org.apache.maven.plugins</groupId>
  117. <artifactId>maven-surefire-plugin</artifactId>
  118. <version>2.18.1</version>
  119. <configuration>
  120. <skipTests>true</skipTests>
  121. </configuration>
  122. </plugin>
  123. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  124. <plugin>
  125. <artifactId>maven-clean-plugin</artifactId>
  126. <version>3.1.0</version>
  127. </plugin>
  128. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  129. <plugin>
  130. <artifactId>maven-resources-plugin</artifactId>
  131. <version>3.0.2</version>
  132. </plugin>
  133. <plugin>
  134. <artifactId>maven-compiler-plugin</artifactId>
  135. <version>3.8.0</version>
  136. </plugin>
  137. <plugin>
  138. <artifactId>maven-surefire-plugin</artifactId>
  139. <version>2.22.1</version>
  140. </plugin>
  141. <plugin>
  142. <artifactId>maven-jar-plugin</artifactId>
  143. <version>3.0.2</version>
  144. </plugin>
  145. <plugin>
  146. <artifactId>maven-install-plugin</artifactId>
  147. <version>2.5.2</version>
  148. </plugin>
  149. <plugin>
  150. <artifactId>maven-deploy-plugin</artifactId>
  151. <version>2.8.2</version>
  152. </plugin>
  153. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  154. <plugin>
  155. <artifactId>maven-site-plugin</artifactId>
  156. <version>3.7.1</version>
  157. </plugin>
  158. <plugin>
  159. <groupId>org.apache.maven.plugins</groupId>
  160. <artifactId>maven-resources-plugin</artifactId>
  161. <configuration>
  162. <encoding>UTF-8</encoding>
  163. <!-- 过滤后缀为pem、pfx的证书文件 -->
  164. <nonFilteredFileExtensions>
  165. <nonFilteredFileExtension>pem</nonFilteredFileExtension>
  166. <nonFilteredFileExtension>pfx</nonFilteredFileExtension>
  167. <nonFilteredFileExtension>p12</nonFilteredFileExtension>
  168. </nonFilteredFileExtensions>
  169. </configuration>
  170. </plugin>
  171. <plugin>
  172. <artifactId>maven-project-info-reports-plugin</artifactId>
  173. <version>3.0.0</version>
  174. </plugin>
  175. </plugins>
  176. </build>
  177. </project>