pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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. <groupId>space.anyi</groupId>
  7. <artifactId>amount-verification</artifactId>
  8. <version>0.0.2</version>
  9. <packaging>jar</packaging>
  10. <dependencies>
  11. <!-- https://mvnrepository.com/artifact/com.alibaba/easyexcel -->
  12. <dependency>
  13. <groupId>com.alibaba</groupId>
  14. <artifactId>easyexcel</artifactId>
  15. <version>4.0.3</version>
  16. <exclusions>
  17. <exclusion>
  18. <groupId>commons-codec</groupId>
  19. <artifactId>commons-codec</artifactId>
  20. </exclusion>
  21. <exclusion>
  22. <groupId>org.slf4j</groupId>
  23. <artifactId>slf4j-api</artifactId>
  24. </exclusion>
  25. </exclusions>
  26. </dependency>
  27. <!-- https://mvnrepository.com/artifact/org.apache.pdfbox/pdfbox -->
  28. <dependency>
  29. <groupId>org.apache.pdfbox</groupId>
  30. <artifactId>pdfbox</artifactId>
  31. <version>3.0.6</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.openjfx</groupId>
  35. <artifactId>javafx-controls</artifactId>
  36. <version>21.0.1</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>net.sourceforge.tess4j</groupId>
  40. <artifactId>tess4j</artifactId>
  41. <version>5.7.0</version>
  42. <exclusions>
  43. <exclusion>
  44. <groupId>commons-io</groupId>
  45. <artifactId>commons-io</artifactId>
  46. </exclusion>
  47. <exclusion>
  48. <groupId>commons-codec</groupId>
  49. <artifactId>commons-codec</artifactId>
  50. </exclusion>
  51. <exclusion>
  52. <groupId>org.apache.pdfbox</groupId>
  53. <artifactId>pdfbox</artifactId>
  54. </exclusion>
  55. </exclusions>
  56. </dependency>
  57. <!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
  58. <dependency>
  59. <groupId>ch.qos.logback</groupId>
  60. <artifactId>logback-classic</artifactId>
  61. <version>1.4.14</version>
  62. <scope>compile</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>ch.qos.logback</groupId>
  66. <artifactId>logback-core</artifactId>
  67. <version>1.4.14</version>
  68. </dependency>
  69. <!-- rapidocr这个必须要引入 -->
  70. <!-- 可前往maven中央仓库https://central.sonatype.com/artifact/io.github.mymonstercat/rapidocr/versions,查看版本 -->
  71. <!--<dependency>-->
  72. <!-- <groupId>space.anyi</groupId>-->
  73. <!-- <artifactId>rapidocr</artifactId>-->
  74. <!-- <version>0.0.7</version>-->
  75. <!--</dependency>-->
  76. <!-- 一般只需要引入一个,CPU端建议使用onnx,移动端建议使用ncnn -->
  77. <!-- 可前往maven中央仓库https://central.sonatype.com/artifact/io.github.mymonstercat/rapidocr-onnx-platform/versions,查看版本 -->
  78. <!--<dependency>-->
  79. <!-- <groupId>space.anyi</groupId>-->
  80. <!-- <artifactId>rapidocr-onnx-platform</artifactId>-->
  81. <!-- <version>0.0.7</version>-->
  82. <!--</dependency>-->
  83. <!--<dependency>-->
  84. <!-- <groupId>io.github.mymonstercat</groupId>-->
  85. <!-- <artifactId>rapidocr-ncnn-platform</artifactId>-->
  86. <!-- <version>0.0.7</version>-->
  87. <!--</dependency>-->
  88. <dependency>
  89. <groupId>org.junit.jupiter</groupId>
  90. <artifactId>junit-jupiter</artifactId>
  91. <version>5.12.2</version>
  92. <scope>test</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>io.github.hzkitty</groupId>
  96. <artifactId>rapidocr4j</artifactId>
  97. <version>1.0.3</version>
  98. </dependency>
  99. </dependencies>
  100. <properties>
  101. <maven.compiler.source>17</maven.compiler.source>
  102. <maven.compiler.target>17</maven.compiler.target>
  103. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  104. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  105. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  106. </properties>
  107. <build>
  108. <plugins>
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-shade-plugin</artifactId>
  112. <version>1.4</version>
  113. <configuration>
  114. <createDependencyReducedPom>true</createDependencyReducedPom>
  115. </configuration>
  116. <executions>
  117. <execution>
  118. <phase>package</phase>
  119. <goals>
  120. <goal>shade</goal>
  121. </goals>
  122. <configuration>
  123. <transformers>
  124. <transformer
  125. implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  126. <mainClass>space.anyi.amountVerification.Main</mainClass>
  127. </transformer>
  128. </transformers>
  129. </configuration>
  130. </execution>
  131. </executions>
  132. </plugin>
  133. <!--<plugin>-->
  134. <!-- <groupId>org.springframework.boot</groupId>-->
  135. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  136. <!-- <executions>-->
  137. <!-- <execution>-->
  138. <!-- <goals>-->
  139. <!-- <goal>repackage</goal>-->
  140. <!-- </goals>-->
  141. <!-- </execution>-->
  142. <!-- </executions>-->
  143. <!--</plugin>-->
  144. </plugins>
  145. </build>
  146. </project>