pom.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>1.5.8.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <groupId>cn.keking</groupId>
  13. <artifactId>kkFileView</artifactId>
  14. <version>0.1</version>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <java.version>1.8</java.version>
  19. <ufile.sdk.verison>1.0-SNAPSHOT</ufile.sdk.verison>
  20. <logging.path>${basedir}/target/classes/logs</logging.path>
  21. <appName>file-preview</appName>
  22. </properties>
  23. <repositories>
  24. <repository>
  25. <!-- required for org.hyperic:sigar -->
  26. <id>jboss-public-repository-group</id>
  27. <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
  28. </repository>
  29. </repositories>
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-freemarker</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-web</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>net.logstash.logback</groupId>
  41. <artifactId>logstash-logback-encoder</artifactId>
  42. <version>4.11</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-test</artifactId>
  47. <scope>test</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>cn.keking</groupId>
  51. <artifactId>jodconverter-core</artifactId>
  52. <version>1.0-SNAPSHOT</version>
  53. <exclusions>
  54. <exclusion>
  55. <artifactId>commons-io</artifactId>
  56. <groupId>commons-io</groupId>
  57. </exclusion>
  58. </exclusions>
  59. </dependency>
  60. <!-- REDISSON -->
  61. <dependency>
  62. <groupId>org.redisson</groupId>
  63. <artifactId>redisson</artifactId>
  64. <version>3.2.0</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.apache.poi</groupId>
  68. <artifactId>poi</artifactId>
  69. <version>3.12</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.apache.poi</groupId>
  73. <artifactId>poi-scratchpad</artifactId>
  74. <version>3.12</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>fr.opensagres.xdocreport</groupId>
  78. <artifactId>org.apache.poi.xwpf.converter.core</artifactId>
  79. <version>1.0.5</version>
  80. <exclusions>
  81. <exclusion>
  82. <artifactId>poi</artifactId>
  83. <groupId>org.apache.poi</groupId>
  84. </exclusion>
  85. </exclusions>
  86. </dependency>
  87. <dependency>
  88. <groupId>fr.opensagres.xdocreport</groupId>
  89. <artifactId>org.apache.poi.xwpf.converter.xhtml</artifactId>
  90. <version>1.0.5</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>fr.opensagres.xdocreport</groupId>
  94. <artifactId>fr.opensagres.xdocreport.document</artifactId>
  95. <version>1.0.5</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>commons-io</groupId>
  99. <artifactId>commons-io</artifactId>
  100. <version>2.4</version>
  101. </dependency>
  102. <!-- 解压(apache) -->
  103. <dependency>
  104. <groupId>org.apache.commons</groupId>
  105. <artifactId>commons-compress</artifactId>
  106. <version>1.18</version>
  107. </dependency>
  108. <!-- 解压(rar)-->
  109. <dependency>
  110. <groupId>com.github.junrar</groupId>
  111. <artifactId>junrar</artifactId>
  112. <version>1.0.1</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>net.sourceforge.jchardet</groupId>
  116. <artifactId>jchardet</artifactId>
  117. <version>1.0</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>antlr</groupId>
  121. <artifactId>antlr</artifactId>
  122. <version>2.7.7</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>commons-httpclient</groupId>
  126. <artifactId>commons-httpclient</artifactId>
  127. <version>3.1</version>
  128. <scope>test</scope>
  129. <exclusions>
  130. <exclusion>
  131. <artifactId>commons-logging</artifactId>
  132. <groupId>commons-logging</groupId>
  133. </exclusion>
  134. </exclusions>
  135. </dependency>
  136. <dependency>
  137. <groupId>commons-cli</groupId>
  138. <artifactId>commons-cli</artifactId>
  139. <version>1.2</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.thoughtworks.xstream</groupId>
  143. <artifactId>xstream</artifactId>
  144. <version>1.3.1</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>com.google.guava</groupId>
  148. <artifactId>guava</artifactId>
  149. <version>19.0</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
  153. <artifactId>concurrentlinkedhashmap-lru</artifactId>
  154. <version>1.4.2</version>
  155. </dependency>
  156. </dependencies>
  157. <build>
  158. <resources>
  159. <resource>
  160. <directory>src/main/resources</directory>
  161. <includes>
  162. <include>**/*</include>
  163. </includes>
  164. <filtering>true</filtering>
  165. </resource>
  166. <resource>
  167. <directory>src/main/conf</directory>
  168. <excludes>
  169. <exclude>${build.exclude.resource}</exclude>
  170. </excludes>
  171. </resource>
  172. </resources>
  173. <plugins>
  174. <plugin>
  175. <groupId>org.springframework.boot</groupId>
  176. <artifactId>spring-boot-maven-plugin</artifactId>
  177. </plugin>
  178. <plugin>
  179. <artifactId>maven-assembly-plugin</artifactId>
  180. <configuration>
  181. <appendAssemblyId>false</appendAssemblyId>
  182. <descriptors>
  183. <descriptor>src/main/resources/assembly.xml</descriptor>
  184. </descriptors>
  185. </configuration>
  186. <executions>
  187. <execution>
  188. <id>make-assembly</id>
  189. <phase>package</phase>
  190. <goals>
  191. <goal>single</goal>
  192. </goals>
  193. </execution>
  194. </executions>
  195. </plugin>
  196. </plugins>
  197. </build>
  198. </project>