pom.xml 5.7 KB

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