pom.xml 3.4 KB

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