pom.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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. <artifactId>jodconverter-web</artifactId>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <java.version>1.8</java.version>
  17. <ufile.sdk.verison>1.0-SNAPSHOT</ufile.sdk.verison>
  18. <logging.path>${basedir}/target/classes/logs</logging.path>
  19. <appName>file-preview</appName>
  20. </properties>
  21. <repositories>
  22. <repository>
  23. <!-- required for org.hyperic:sigar -->
  24. <id>jboss-public-repository-group</id>
  25. <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
  26. </repository>
  27. </repositories>
  28. <dependencies>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-freemarker</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-web</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>net.logstash.logback</groupId>
  39. <artifactId>logstash-logback-encoder</artifactId>
  40. <version>4.11</version>
  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>jodconverter-core</artifactId>
  50. <version>1.0-SNAPSHOT</version>
  51. <exclusions>
  52. <exclusion>
  53. <artifactId>commons-io</artifactId>
  54. <groupId>commons-io</groupId>
  55. </exclusion>
  56. </exclusions>
  57. </dependency>
  58. <!-- REDISSON -->
  59. <dependency>
  60. <groupId>org.redisson</groupId>
  61. <artifactId>redisson</artifactId>
  62. <version>3.2.0</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.poi</groupId>
  66. <artifactId>poi</artifactId>
  67. <version>3.12</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.poi</groupId>
  71. <artifactId>poi-scratchpad</artifactId>
  72. <version>3.12</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>fr.opensagres.xdocreport</groupId>
  76. <artifactId>org.apache.poi.xwpf.converter.core</artifactId>
  77. <version>1.0.5</version>
  78. <exclusions>
  79. <exclusion>
  80. <artifactId>poi</artifactId>
  81. <groupId>org.apache.poi</groupId>
  82. </exclusion>
  83. </exclusions>
  84. </dependency>
  85. <dependency>
  86. <groupId>fr.opensagres.xdocreport</groupId>
  87. <artifactId>org.apache.poi.xwpf.converter.xhtml</artifactId>
  88. <version>1.0.5</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>fr.opensagres.xdocreport</groupId>
  92. <artifactId>fr.opensagres.xdocreport.document</artifactId>
  93. <version>1.0.5</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>commons-io</groupId>
  97. <artifactId>commons-io</artifactId>
  98. <version>2.4</version>
  99. </dependency>
  100. <!-- 解压(apache) -->
  101. <dependency>
  102. <groupId>org.apache.commons</groupId>
  103. <artifactId>commons-compress</artifactId>
  104. <version>1.18</version>
  105. </dependency>
  106. <!-- 解压(rar)-->
  107. <dependency>
  108. <groupId>com.github.junrar</groupId>
  109. <artifactId>junrar</artifactId>
  110. <version>1.0.1</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. <dependency>
  140. <groupId>com.thoughtworks.xstream</groupId>
  141. <artifactId>xstream</artifactId>
  142. <version>1.3.1</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.google.guava</groupId>
  146. <artifactId>guava</artifactId>
  147. <version>19.0</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
  151. <artifactId>concurrentlinkedhashmap-lru</artifactId>
  152. <version>1.4.2</version>
  153. </dependency>
  154. </dependencies>
  155. <build>
  156. <resources>
  157. <resource>
  158. <directory>src/main/resources</directory>
  159. <includes>
  160. <include>**/*</include>
  161. </includes>
  162. <filtering>true</filtering>
  163. </resource>
  164. </resources>
  165. <plugins>
  166. <plugin>
  167. <groupId>org.springframework.boot</groupId>
  168. <artifactId>spring-boot-maven-plugin</artifactId>
  169. </plugin>
  170. <plugin>
  171. <artifactId>maven-assembly-plugin</artifactId>
  172. <configuration>
  173. <appendAssemblyId>false</appendAssemblyId>
  174. <descriptors>
  175. <descriptor>src/main/resources/assembly.xml</descriptor>
  176. </descriptors>
  177. </configuration>
  178. <executions>
  179. <execution>
  180. <id>make-assembly</id>
  181. <phase>package</phase>
  182. <goals>
  183. <goal>single</goal>
  184. </goals>
  185. </execution>
  186. </executions>
  187. </plugin>
  188. </plugins>
  189. </build>
  190. </project>