pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.3.1.RELEASE</version>
  10. <relativePath /> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>com.zj</groupId>
  13. <artifactId>EasyMedia</artifactId>
  14. <version>1.2.0</version>
  15. <name>EasyMedia</name>
  16. <description>一款简单的流媒体服务</description>
  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-web</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-devtools</artifactId>
  28. <optional>true</optional>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.projectlombok</groupId>
  32. <artifactId>lombok</artifactId>
  33. <optional>true</optional>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-test</artifactId>
  38. <scope>test</scope>
  39. <exclusions>
  40. <exclusion>
  41. <groupId>org.junit.vintage</groupId>
  42. <artifactId>junit-vintage-engine</artifactId>
  43. </exclusion>
  44. </exclusions>
  45. </dependency>
  46. <!-- 全量引入 ,包含javacv、ffmpeg、opencv等 -->
  47. <!-- <dependency> <groupId>org.bytedeco</groupId> <artifactId>javacv-platform</artifactId>
  48. <version>1.5.6</version> </dependency> -->
  49. <!-- 媒体只用到以下两个,javacv、ffmpeg -->
  50. <dependency>
  51. <groupId>org.bytedeco</groupId>
  52. <artifactId>javacv</artifactId>
  53. <version>1.5.6</version>
  54. </dependency>
  55. <!-- ffmpeg全平台引入 -->
  56. <!-- <dependency>
  57. <groupId>org.bytedeco</groupId>
  58. <artifactId>ffmpeg-platform</artifactId>
  59. <version>4.4-1.5.6</version>
  60. </dependency> -->
  61. <dependency>
  62. <groupId>org.bytedeco</groupId>
  63. <artifactId>ffmpeg</artifactId>
  64. <version>4.4-1.5.6</version>
  65. <classifier>windows-x86_64</classifier>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.bytedeco</groupId>
  69. <artifactId>ffmpeg</artifactId>
  70. <version>4.4-1.5.6</version>
  71. <classifier>linux-x86_64</classifier>
  72. </dependency>
  73. <!-- 工具包 -->
  74. <dependency>
  75. <groupId>cn.hutool</groupId>
  76. <artifactId>hutool-all</artifactId>
  77. <version>5.3.3</version>
  78. </dependency>
  79. <!-- netty -->
  80. <dependency>
  81. <groupId>io.netty</groupId>
  82. <artifactId>netty-all</artifactId>
  83. <version>4.1.59.Final</version>
  84. </dependency>
  85. <!-- h2驱动 -->
  86. <dependency>
  87. <groupId>com.h2database</groupId>
  88. <artifactId>h2</artifactId>
  89. <scope>runtime</scope>
  90. </dependency>
  91. <!-- jpa -->
  92. <dependency>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-starter-data-jpa</artifactId>
  95. </dependency>
  96. <!-- mybatisplus -->
  97. <dependency>
  98. <groupId>com.baomidou</groupId>
  99. <artifactId>mybatis-plus-boot-starter</artifactId>
  100. <version>3.4.3.1</version>
  101. </dependency>
  102. <!-- 云台控制sdk需要 -->
  103. <dependency>
  104. <groupId>com.jna</groupId>
  105. <artifactId>jna</artifactId>
  106. <version>1.0.0</version>
  107. <scope>system</scope>
  108. <systemPath>${project.basedir}/sdk/jna.jar</systemPath>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.examples</groupId>
  112. <artifactId>examples</artifactId>
  113. <version>1.0.0</version>
  114. <scope>system</scope>
  115. <systemPath>${project.basedir}/sdk/examples.jar</systemPath>
  116. </dependency>
  117. </dependencies>
  118. <build>
  119. <plugins>
  120. <plugin>
  121. <groupId>org.springframework.boot</groupId>
  122. <artifactId>spring-boot-maven-plugin</artifactId>
  123. <configuration>
  124. <includeSystemScope>true</includeSystemScope>
  125. </configuration>
  126. </plugin>
  127. </plugins>
  128. </build>
  129. </project>