pom.xml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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>org.apache.commons</groupId>
  19. <artifactId>commons-io</artifactId>
  20. </exclusion>
  21. <exclusion>
  22. <groupId>commons-codec</groupId>
  23. <artifactId>commons-codec</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. </dependency>
  43. </dependencies>
  44. <properties>
  45. <maven.compiler.source>17</maven.compiler.source>
  46. <maven.compiler.target>17</maven.compiler.target>
  47. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  48. </properties>
  49. <build>
  50. <plugins>
  51. <plugin>
  52. <groupId>org.apache.maven.plugins</groupId>
  53. <artifactId>maven-shade-plugin</artifactId>
  54. <version>1.4</version>
  55. <configuration>
  56. <createDependencyReducedPom>true</createDependencyReducedPom>
  57. </configuration>
  58. <executions>
  59. <execution>
  60. <phase>package</phase>
  61. <goals>
  62. <goal>shade</goal>
  63. </goals>
  64. <configuration>
  65. <transformers>
  66. <transformer
  67. implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  68. <mainClass>space.anyi.amountVerification.Main</mainClass>
  69. </transformer>
  70. </transformers>
  71. </configuration>
  72. </execution>
  73. </executions>
  74. </plugin>
  75. <!--<plugin>-->
  76. <!-- <groupId>org.springframework.boot</groupId>-->
  77. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  78. <!-- <executions>-->
  79. <!-- <execution>-->
  80. <!-- <goals>-->
  81. <!-- <goal>repackage</goal>-->
  82. <!-- </goals>-->
  83. <!-- </execution>-->
  84. <!-- </executions>-->
  85. <!--</plugin>-->
  86. </plugins>
  87. </build>
  88. </project>