pom.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.7.4</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.bcn</groupId>
  12. <artifactId>downloadVideo</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>downloadVideo</name>
  15. <description>downloadVideo</description>
  16. <packaging>war</packaging>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-jdbc</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. <exclusions> <!--移除框架中的logback依赖-->
  29. <exclusion>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-logging</artifactId>
  32. </exclusion>
  33. <!-- <exclusion>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-tomcat</artifactId>
  36. </exclusion>-->
  37. </exclusions>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-devtools</artifactId>
  42. <scope>runtime</scope>
  43. <optional>true</optional>
  44. </dependency>
  45. <dependency>
  46. <groupId>mysql</groupId>
  47. <artifactId>mysql-connector-java</artifactId>
  48. <scope>runtime</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.projectlombok</groupId>
  52. <artifactId>lombok</artifactId>
  53. <optional>true</optional>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-test</artifactId>
  58. <scope>test</scope>
  59. </dependency>
  60. <!--log4j2-->
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-log4j</artifactId>
  64. <version>1.3.8.RELEASE</version>
  65. </dependency>
  66. <!--Mybatis-Plus模块-->
  67. <dependency>
  68. <groupId>com.baomidou</groupId>
  69. <artifactId>mybatis-plus-boot-starter</artifactId>
  70. <version>3.5.2</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.baomidou</groupId>
  74. <artifactId>mybatis-plus-generator</artifactId>
  75. <version>3.5.3</version>
  76. </dependency>
  77. <!-- hutool工具包 -->
  78. <dependency>
  79. <groupId>cn.hutool</groupId>
  80. <artifactId>hutool-all</artifactId>
  81. <version>5.8.16</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.sun.jna</groupId>
  85. <artifactId>jna</artifactId>
  86. <version>3.0.9</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.examples.</groupId>
  90. <artifactId>examples</artifactId>
  91. <version>1.0</version>
  92. <scope>system</scope>
  93. <systemPath>${project.basedir}/src/main/resources/lib/examples.jar</systemPath>
  94. </dependency>
  95. <!--集成redis-->
  96. <!-- <dependency>-->
  97. <!-- <groupId>org.springframework.boot</groupId>-->
  98. <!-- <artifactId>spring-boot-starter-data-redis</artifactId>-->
  99. <!-- </dependency>-->
  100. <!--MyBatis 分页插件: MyBatis PageHelper-->
  101. <dependency>
  102. <groupId>com.github.pagehelper</groupId>
  103. <artifactId>pagehelper-spring-boot-starter</artifactId>
  104. <version>1.4.5</version>
  105. </dependency>
  106. <!-->基于 fffmpeg 技术实现视频压缩<-->
  107. <dependency>
  108. <groupId>ws.schild</groupId>
  109. <artifactId>jave-core</artifactId>
  110. <version>3.1.1</version>
  111. </dependency>
  112. <!-->依据服务器操作系统来设定包(此处我是用win10-64位)<-->
  113. <dependency>
  114. <groupId>ws.schild</groupId>
  115. <artifactId>jave-nativebin-win64</artifactId>
  116. <version>3.1.1</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>commons-lang</groupId>
  120. <artifactId>commons-lang</artifactId>
  121. <version>2.6</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>commons-logging</groupId>
  125. <artifactId>commons-logging</artifactId>
  126. <version>1.1.1</version>
  127. </dependency>
  128. <!-- 分页 必须同时引用下方两个-->
  129. <!-- <dependency>-->
  130. <!-- <groupId>com.github.pagehelper</groupId>-->
  131. <!-- <artifactId>pagehelper</artifactId>-->
  132. <!-- <version>5.0.0</version>-->
  133. <!-- </dependency>-->
  134. <!-- <dependency>-->
  135. <!-- <groupId>com.github.pagehelper</groupId>-->
  136. <!-- <artifactId>pagehelper-spring-boot-starter</artifactId>-->
  137. <!-- <version>1.2.3</version>-->
  138. <!-- </dependency>-->
  139. <!--配置支持jsp-->
  140. <dependency>
  141. <groupId>org.apache.tomcat.embed</groupId>
  142. <artifactId>tomcat-embed-jasper</artifactId>
  143. </dependency>
  144. <dependency>
  145. <groupId>javax.servlet</groupId>
  146. <artifactId>javax.servlet-api</artifactId>
  147. </dependency>
  148. <dependency>
  149. <groupId>javax.servlet</groupId>
  150. <artifactId>jstl</artifactId>
  151. </dependency>
  152. </dependencies>
  153. <build>
  154. <finalName>download</finalName>
  155. <plugins>
  156. <plugin>
  157. <groupId>org.apache.maven.plugins</groupId>
  158. <artifactId>maven-compiler-plugin</artifactId>
  159. <version>3.8.1</version>
  160. <configuration>
  161. <source>1.8</source>
  162. <target>1.8</target>
  163. <encoding>UTF-8</encoding>
  164. </configuration>
  165. </plugin>
  166. <plugin>
  167. <groupId>org.springframework.boot</groupId>
  168. <artifactId>spring-boot-maven-plugin</artifactId>
  169. <!-- <version>${spring-boot.version}</version>-->
  170. <configuration>
  171. <mainClass>com.jjkj.Application</mainClass>
  172. <skip>true</skip>
  173. <includeSystemScope>true</includeSystemScope>
  174. <fork>true</fork>
  175. </configuration>
  176. <executions>
  177. <execution>
  178. <id>repackage</id>
  179. <goals>
  180. <goal>repackage</goal>
  181. </goals>
  182. </execution>
  183. </executions>
  184. </plugin>
  185. <plugin>
  186. <groupId>org.apache.maven.plugins</groupId>
  187. <artifactId>maven-war-plugin</artifactId>
  188. <version>2.4</version>
  189. <configuration>
  190. <failOnMissingWebXml>false</failOnMissingWebXml>
  191. </configuration>
  192. </plugin>
  193. </plugins>
  194. </build>
  195. </project>