pom.xml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. <parent>
  6. <artifactId>java-mcli</artifactId>
  7. <groupId>com.malk</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>mjava-guyuan</artifactId>
  12. <description>谷元发票功能开发, 查重验真, 混票识别</description>
  13. <properties>
  14. <maven.compiler.source>8</maven.compiler.source>
  15. <maven.compiler.target>8</maven.compiler.target>
  16. </properties>
  17. <repositories>
  18. <repository>
  19. <id>com.e-iceblue</id>
  20. <url>https://repo.e-iceblue.cn/repository/maven-public/</url>
  21. </repository>
  22. </repositories>
  23. <dependencies>
  24. <!-- 核心模块-->
  25. <dependency>
  26. <groupId>com.malk</groupId>
  27. <artifactId>mjava</artifactId>
  28. <version>${mjava.version}</version>
  29. </dependency>
  30. <!-- 腾讯云 [go to https://search.maven.org/search?q=tencentcloud-sdk-java and getDefault the latest version.] -->
  31. <dependency>
  32. <groupId>com.tencentcloudapi</groupId>
  33. <artifactId>tencentcloud-sdk-java</artifactId>
  34. </dependency>
  35. <!-- 图片压缩 -->
  36. <dependency>
  37. <groupId>net.coobird</groupId>
  38. <artifactId>thumbnailator</artifactId>
  39. <version>0.4.8</version>
  40. </dependency>
  41. <!-- PDF压缩 -->
  42. <dependency>
  43. <groupId>com.twelvemonkeys.imageio</groupId>
  44. <artifactId>imageio-tiff</artifactId>
  45. <version>3.5</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>e-iceblue</groupId>
  49. <artifactId>spire.pdf.free</artifactId>
  50. <version>5.1.0</version>
  51. </dependency>
  52. </dependencies>
  53. <build>
  54. <plugins>
  55. <plugin>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-maven-plugin</artifactId>
  58. <version>2.1.1.RELEASE</version>
  59. <configuration>
  60. <includeSystemScope>true</includeSystemScope>
  61. <!-- 如果没有该配置,devtools不会生效: 打包时关闭 -->
  62. <fork>false</fork>
  63. <!-- 避免中文乱码 -->
  64. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  65. </configuration>
  66. <!-- 允许生成可运行jar -->
  67. <executions>
  68. <execution>
  69. <goals>
  70. <goal>repackage</goal>
  71. </goals>
  72. </execution>
  73. </executions>
  74. </plugin>
  75. </plugins>
  76. <finalName>${project.artifactId}</finalName>
  77. </build>
  78. </project>