pom.xml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  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.14</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.shcd</groupId>
  12. <artifactId>ghjg_pdf</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>ghjg_pdf</name>
  15. <description>ghjg_pdf</description>
  16. <properties>
  17. <java.version>8</java.version>
  18. <itext.version>8.0.2</itext.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-freemarker</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.freemarker</groupId>
  27. <artifactId>freemarker</artifactId>
  28. <version>2.3.30</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-web</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.oracle.database.jdbc</groupId>
  36. <artifactId>ojdbc11</artifactId>
  37. <scope>runtime</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.projectlombok</groupId>
  41. <artifactId>lombok</artifactId>
  42. <optional>true</optional>
  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>org.apache.poi</groupId>
  51. <artifactId>poi</artifactId>
  52. <version>5.2.2</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.poi</groupId>
  56. <artifactId>poi-scratchpad</artifactId>
  57. <version>5.2.2</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.apache.poi</groupId>
  61. <artifactId>poi-ooxml</artifactId>
  62. <version>5.2.2</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>commons-io</groupId>
  66. <artifactId>commons-io</artifactId>
  67. <version>2.12.0</version>
  68. </dependency>
  69. <!-- pdfbox依赖-->
  70. <dependency>
  71. <groupId>org.apache.pdfbox</groupId>
  72. <artifactId>pdfbox</artifactId>
  73. <version>2.0.24</version>
  74. </dependency>
  75. <!-- itext依赖,但是只能打正规军,adobe适用,wps无效-->
  76. <dependency>
  77. <groupId>com.itextpdf</groupId>
  78. <artifactId>itextpdf</artifactId>
  79. <version>5.5.10</version>
  80. </dependency>
  81. <!-- html转pdf-->
  82. <dependency>
  83. <groupId>com.itextpdf</groupId>
  84. <artifactId>html2pdf</artifactId>
  85. <version>3.0.2</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.codehaus.plexus</groupId>
  89. <artifactId>plexus-component-annotations</artifactId>
  90. <version>2.0.0</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.luhuiguo.bouncycastle</groupId>
  94. <artifactId>bcprov-jdk15on</artifactId>
  95. <version>1.70</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.itextpdf</groupId>
  99. <artifactId>itext-asian</artifactId>
  100. <version>5.2.0</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.lowagie</groupId>
  104. <artifactId>itext</artifactId>
  105. <version>2.1.7</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.deepoove</groupId>
  109. <artifactId>poi-tl</artifactId>
  110. <version>1.12.2</version>
  111. </dependency>
  112. <!-- <dependency>-->
  113. <!-- <groupId>com.documents4j</groupId>-->
  114. <!-- <artifactId>documents4j-local</artifactId>-->
  115. <!-- <version>1.0.3</version>-->
  116. <!-- </dependency>-->
  117. <!-- <dependency>-->
  118. <!-- <groupId>com.documents4j</groupId>-->
  119. <!-- <artifactId>documents4j-transformer-msoffice-word</artifactId>-->
  120. <!-- <version>1.0.3</version>-->
  121. <!-- </dependency>-->
  122. <!-- 这个是最简单的加密方式,但是需要导入海量的包-->
  123. <!-- always needed -->
  124. <!-- <dependency>
  125. <groupId>com.itextpdf</groupId>
  126. <artifactId>kernel</artifactId>
  127. <version>${itext.version}</version>
  128. </dependency>
  129. &lt;!&ndash; always needed &ndash;&gt;
  130. <dependency>
  131. <groupId>com.itextpdf</groupId>
  132. <artifactId>io</artifactId>
  133. <version>${itext.version}</version>
  134. </dependency>
  135. &lt;!&ndash; always needed &ndash;&gt;
  136. <dependency>
  137. <groupId>com.itextpdf</groupId>
  138. <artifactId>layout</artifactId>
  139. <version>${itext.version}</version>
  140. </dependency>
  141. &lt;!&ndash; only needed for forms &ndash;&gt;
  142. <dependency>
  143. <groupId>com.itextpdf</groupId>
  144. <artifactId>forms</artifactId>
  145. <version>${itext.version}</version>
  146. </dependency>
  147. &lt;!&ndash; only needed for PDF/A &ndash;&gt;
  148. <dependency>
  149. <groupId>com.itextpdf</groupId>
  150. <artifactId>pdfa</artifactId>
  151. <version>${itext.version}</version>
  152. </dependency>
  153. &lt;!&ndash; only needed for digital signatures &ndash;&gt;
  154. <dependency>
  155. <groupId>com.itextpdf</groupId>
  156. <artifactId>sign</artifactId>
  157. <version>${itext.version}</version>
  158. </dependency>
  159. &lt;!&ndash; only needed for barcodes &ndash;&gt;
  160. <dependency>
  161. <groupId>com.itextpdf</groupId>
  162. <artifactId>barcodes</artifactId>
  163. <version>${itext.version}</version>
  164. </dependency>
  165. &lt;!&ndash; only needed for Asian fonts &ndash;&gt;
  166. <dependency>
  167. <groupId>com.itextpdf</groupId>
  168. <artifactId>font-asian</artifactId>
  169. <version>${itext.version}</version>
  170. </dependency>
  171. &lt;!&ndash; only needed for hyphenation &ndash;&gt;
  172. <dependency>
  173. <groupId>com.itextpdf</groupId>
  174. <artifactId>hyph</artifactId>
  175. <version>${itext.version}</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>com.itextpdf</groupId>
  179. <artifactId>bouncy-castle-adapter</artifactId>
  180. <version>${itext.version}</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>com.itextpdf</groupId>
  184. <artifactId>itext7-core</artifactId>
  185. <version>8.0.2</version>
  186. </dependency>-->
  187. <!-- Free Spire依赖 免费版会添加水印不能用-->
  188. <!-- <dependency>
  189. <groupId>e-iceblue</groupId>
  190. <artifactId>spire.pdf</artifactId>
  191. <version>10.1.5</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>e-iceblue</groupId>
  195. <artifactId>spire.pdf.free</artifactId>
  196. <version>3.9.0</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>javax.xml.bind</groupId>
  200. <artifactId>jaxb-api</artifactId>
  201. <version>2.3.1</version>
  202. </dependency>-->
  203. </dependencies>
  204. <repositories>
  205. <repository>
  206. <id>com.e-iceblue</id>
  207. <name>e-iceblue</name>
  208. <url>https://repo.e-iceblue.cn/repository/maven-public/</url>
  209. </repository>
  210. </repositories>
  211. <build>
  212. <plugins>
  213. <plugin>
  214. <groupId>org.springframework.boot</groupId>
  215. <artifactId>spring-boot-maven-plugin</artifactId>
  216. <configuration>
  217. <excludes>
  218. <exclude>
  219. <groupId>org.projectlombok</groupId>
  220. <artifactId>lombok</artifactId>
  221. </exclude>
  222. </excludes>
  223. </configuration>
  224. </plugin>
  225. </plugins>
  226. </build>
  227. </project>