pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. </dependencies>
  95. <properties>
  96. <maven.compiler.source>17</maven.compiler.source>
  97. <maven.compiler.target>17</maven.compiler.target>
  98. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  99. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  100. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  101. </properties>
  102. <build>
  103. <plugins>
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-shade-plugin</artifactId>
  107. <version>1.4</version>
  108. <configuration>
  109. <createDependencyReducedPom>true</createDependencyReducedPom>
  110. </configuration>
  111. <executions>
  112. <execution>
  113. <phase>package</phase>
  114. <goals>
  115. <goal>shade</goal>
  116. </goals>
  117. <configuration>
  118. <transformers>
  119. <transformer
  120. implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  121. <mainClass>space.anyi.amountVerification.Main</mainClass>
  122. </transformer>
  123. </transformers>
  124. </configuration>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. <!--<plugin>-->
  129. <!-- <groupId>org.springframework.boot</groupId>-->
  130. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  131. <!-- <executions>-->
  132. <!-- <execution>-->
  133. <!-- <goals>-->
  134. <!-- <goal>repackage</goal>-->
  135. <!-- </goals>-->
  136. <!-- </execution>-->
  137. <!-- </executions>-->
  138. <!--</plugin>-->
  139. </plugins>
  140. </build>
  141. </project>