pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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.1</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. </dependencies>
  70. <properties>
  71. <maven.compiler.source>17</maven.compiler.source>
  72. <maven.compiler.target>17</maven.compiler.target>
  73. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  74. </properties>
  75. <build>
  76. <plugins>
  77. <plugin>
  78. <groupId>org.apache.maven.plugins</groupId>
  79. <artifactId>maven-shade-plugin</artifactId>
  80. <version>1.4</version>
  81. <configuration>
  82. <createDependencyReducedPom>true</createDependencyReducedPom>
  83. </configuration>
  84. <executions>
  85. <execution>
  86. <phase>package</phase>
  87. <goals>
  88. <goal>shade</goal>
  89. </goals>
  90. <configuration>
  91. <transformers>
  92. <transformer
  93. implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  94. <mainClass>space.anyi.amountVerification.Main</mainClass>
  95. </transformer>
  96. </transformers>
  97. </configuration>
  98. </execution>
  99. </executions>
  100. </plugin>
  101. <!--<plugin>-->
  102. <!-- <groupId>org.springframework.boot</groupId>-->
  103. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  104. <!-- <executions>-->
  105. <!-- <execution>-->
  106. <!-- <goals>-->
  107. <!-- <goal>repackage</goal>-->
  108. <!-- </goals>-->
  109. <!-- </execution>-->
  110. <!-- </executions>-->
  111. <!--</plugin>-->
  112. </plugins>
  113. </build>
  114. </project>