pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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.director</groupId>
  7. <artifactId>director</artifactId>
  8. <version>1.0.0</version>
  9. <relativePath>../pom.xml</relativePath> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.sp.director</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.director</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. <plugin>
  136. <artifactId>maven-compiler-plugin</artifactId>
  137. <version>3.8.0</version>
  138. </plugin>
  139. <plugin>
  140. <artifactId>maven-jar-plugin</artifactId>
  141. <version>3.0.2</version>
  142. </plugin>
  143. <plugin>
  144. <artifactId>maven-install-plugin</artifactId>
  145. <version>2.5.2</version>
  146. </plugin>
  147. <plugin>
  148. <artifactId>maven-deploy-plugin</artifactId>
  149. <version>2.8.2</version>
  150. </plugin>
  151. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  152. <plugin>
  153. <artifactId>maven-site-plugin</artifactId>
  154. <version>3.7.1</version>
  155. </plugin>
  156. <plugin>
  157. <groupId>org.apache.maven.plugins</groupId>
  158. <artifactId>maven-resources-plugin</artifactId>
  159. <configuration>
  160. <encoding>UTF-8</encoding>
  161. <!-- 过滤后缀为pem、pfx的证书文件 -->
  162. <nonFilteredFileExtensions>
  163. <nonFilteredFileExtension>pem</nonFilteredFileExtension>
  164. <nonFilteredFileExtension>pfx</nonFilteredFileExtension>
  165. <nonFilteredFileExtension>p12</nonFilteredFileExtension>
  166. </nonFilteredFileExtensions>
  167. </configuration>
  168. </plugin>
  169. <plugin>
  170. <artifactId>maven-project-info-reports-plugin</artifactId>
  171. <version>3.0.0</version>
  172. </plugin>
  173. </plugins>
  174. </build>
  175. </project>