pom.xml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <artifactId>filepreview</artifactId>
  8. <groupId>cn.keking</groupId>
  9. <version>3.3.1</version>
  10. </parent>
  11. <artifactId>kkFileView</artifactId>
  12. <dependencyManagement>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-dependencies</artifactId>
  17. <version>${spring.boot.version}</version>
  18. <scope>import</scope>
  19. <type>pom</type>
  20. </dependency>
  21. </dependencies>
  22. </dependencyManagement>
  23. <dependencies>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-freemarker</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. <exclusions>
  32. <exclusion>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-tomcat</artifactId>
  35. </exclusion>
  36. </exclusions>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-jetty</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-test</artifactId>
  45. <scope>test</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>cn.keking</groupId>
  49. <artifactId>office-plugin</artifactId>
  50. <version>${project.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.commons</groupId>
  54. <artifactId>commons-lang3</artifactId>
  55. <version>3.7</version>
  56. </dependency>
  57. <!-- REDISSON -->
  58. <dependency>
  59. <groupId>org.redisson</groupId>
  60. <artifactId>redisson</artifactId>
  61. <version>3.2.0</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.poi</groupId>
  65. <artifactId>poi</artifactId>
  66. <version>3.17</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.poi</groupId>
  70. <artifactId>poi-scratchpad</artifactId>
  71. <version>3.12</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>fr.opensagres.xdocreport</groupId>
  75. <artifactId>org.apache.poi.xwpf.converter.core</artifactId>
  76. <version>1.0.5</version>
  77. <exclusions>
  78. <exclusion>
  79. <artifactId>poi</artifactId>
  80. <groupId>org.apache.poi</groupId>
  81. </exclusion>
  82. </exclusions>
  83. </dependency>
  84. <dependency>
  85. <groupId>fr.opensagres.xdocreport</groupId>
  86. <artifactId>org.apache.poi.xwpf.converter.xhtml</artifactId>
  87. <version>1.0.5</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>fr.opensagres.xdocreport</groupId>
  91. <artifactId>fr.opensagres.xdocreport.document</artifactId>
  92. <version>1.0.5</version>
  93. </dependency>
  94. <!-- 解压(apache) -->
  95. <dependency>
  96. <groupId>org.apache.commons</groupId>
  97. <artifactId>commons-compress</artifactId>
  98. <version>1.19</version>
  99. </dependency>
  100. <!-- 解压(rar)-->
  101. <dependency>
  102. <groupId>com.github.junrar</groupId>
  103. <artifactId>junrar</artifactId>
  104. <version>4.0.0</version>
  105. </dependency>
  106. <!-- 解压(7z)-->
  107. <dependency>
  108. <groupId>org.tukaani</groupId>
  109. <artifactId>xz</artifactId>
  110. <version>1.8</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>net.sourceforge.jchardet</groupId>
  114. <artifactId>jchardet</artifactId>
  115. <version>1.0</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>antlr</groupId>
  119. <artifactId>antlr</artifactId>
  120. <version>2.7.7</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>commons-httpclient</groupId>
  124. <artifactId>commons-httpclient</artifactId>
  125. <version>3.1</version>
  126. <scope>test</scope>
  127. <exclusions>
  128. <exclusion>
  129. <artifactId>commons-logging</artifactId>
  130. <groupId>commons-logging</groupId>
  131. </exclusion>
  132. </exclusions>
  133. </dependency>
  134. <dependency>
  135. <groupId>commons-cli</groupId>
  136. <artifactId>commons-cli</artifactId>
  137. <version>1.2</version>
  138. </dependency>
  139. <!-- FTP -->
  140. <dependency>
  141. <groupId>commons-net</groupId>
  142. <artifactId>commons-net</artifactId>
  143. <version>3.6</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>com.thoughtworks.xstream</groupId>
  147. <artifactId>xstream</artifactId>
  148. <version>1.4.15</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
  152. <artifactId>concurrentlinkedhashmap-lru</artifactId>
  153. <version>1.4.2</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.rocksdb</groupId>
  157. <artifactId>rocksdbjni</artifactId>
  158. <version>5.17.2</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.apache.pdfbox</groupId>
  162. <artifactId>pdfbox</artifactId>
  163. <version>2.0.15</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.apache.pdfbox</groupId>
  167. <artifactId>pdfbox-tools</artifactId>
  168. <version>2.0.15</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>com.aspose</groupId>
  172. <artifactId>aspose-cad</artifactId>
  173. <version>19.9</version>
  174. <scope>system</scope>
  175. <systemPath>${basedir}/lib/aspose-cad-19.9.jar</systemPath>
  176. </dependency>
  177. <!-- 编码识别 -->
  178. <dependency>
  179. <groupId>cpdetector</groupId>
  180. <artifactId>cpdetector</artifactId>
  181. <version>1.04</version>
  182. <scope>system</scope>
  183. <systemPath>${basedir}/lib/cpdetector-1.04.jar</systemPath>
  184. </dependency>
  185. <!-- url 规范化 -->
  186. <dependency>
  187. <groupId>io.mola.galimatias</groupId>
  188. <artifactId>galimatias</artifactId>
  189. <version>0.2.1</version>
  190. </dependency>
  191. </dependencies>
  192. <build>
  193. <resources>
  194. <resource>
  195. <directory>src/main/resources</directory>
  196. <includes>
  197. <include>**/*</include>
  198. </includes>
  199. <filtering>false</filtering>
  200. </resource>
  201. <resource>
  202. <directory>src/main/config</directory>
  203. <excludes>
  204. <exclude>${build.exclude.resource}</exclude>
  205. </excludes>
  206. <filtering>true</filtering>
  207. </resource>
  208. </resources>
  209. <plugins>
  210. <plugin>
  211. <groupId>org.springframework.boot</groupId>
  212. <artifactId>spring-boot-maven-plugin</artifactId>
  213. <configuration>
  214. <includeSystemScope>true</includeSystemScope>
  215. </configuration>
  216. <executions>
  217. <execution>
  218. <goals>
  219. <goal>repackage</goal>
  220. </goals>
  221. </execution>
  222. </executions>
  223. </plugin>
  224. <plugin>
  225. <artifactId>maven-assembly-plugin</artifactId>
  226. <configuration>
  227. <appendAssemblyId>false</appendAssemblyId>
  228. <descriptors>
  229. <descriptor>src/main/assembly/assembly.xml</descriptor>
  230. </descriptors>
  231. </configuration>
  232. <executions>
  233. <execution>
  234. <id>make-assembly</id>
  235. <phase>package</phase>
  236. <goals>
  237. <goal>single</goal>
  238. </goals>
  239. </execution>
  240. </executions>
  241. </plugin>
  242. </plugins>
  243. </build>
  244. </project>