pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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>com.luooqi</groupId>
  7. <artifactId>treehole</artifactId>
  8. <version>${soft.version}</version>
  9. <properties>
  10. <soft.version>1.2.0</soft.version>
  11. </properties>
  12. <dependencies>
  13. <!-- 文件处理把包 -->
  14. <dependency>
  15. <groupId>org.apache.commons</groupId>
  16. <artifactId>commons-io</artifactId>
  17. <version>1.3.2</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.1stleg</groupId>
  21. <artifactId>jnativehook</artifactId>
  22. <version>2.1.0</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>cn.hutool</groupId>
  26. <artifactId>hutool-all</artifactId>
  27. <version>4.5.16</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.imgscalr</groupId>
  31. <artifactId>imgscalr-lib</artifactId>
  32. <version>4.2</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>junit</groupId>
  36. <artifactId>junit</artifactId>
  37. <version>4.12</version>
  38. <scope>test</scope>
  39. </dependency>
  40. </dependencies>
  41. <build>
  42. <plugins>
  43. <plugin>
  44. <groupId>org.apache.maven.plugins</groupId>
  45. <artifactId>maven-compiler-plugin</artifactId>
  46. <version>3.5.1</version>
  47. <configuration>
  48. <encoding>UTF-8</encoding>
  49. <source>1.8</source>
  50. <target>1.8</target>
  51. </configuration>
  52. </plugin>
  53. <plugin>
  54. <groupId>org.apache.maven.plugins</groupId>
  55. <artifactId>maven-dependency-plugin</artifactId>
  56. <version>2.10</version>
  57. <executions>
  58. <execution>
  59. <id>copy-dependencies</id>
  60. <phase>package</phase>
  61. <configuration>
  62. <overWriteReleases>false</overWriteReleases>
  63. <overWriteSnapshots>false</overWriteSnapshots>
  64. <overWriteIfNewer>true</overWriteIfNewer>
  65. </configuration>
  66. <goals>
  67. <goal>copy-dependencies</goal>
  68. </goals>
  69. </execution>
  70. </executions>
  71. </plugin>
  72. <plugin>
  73. <groupId>com.zenjava</groupId>
  74. <artifactId>javafx-maven-plugin</artifactId>
  75. <version>8.8.3</version>
  76. <configuration>
  77. <mainClass>com.luooqi.ocr.MainFm</mainClass>
  78. <bundler>dmg</bundler>
  79. <jfxAppOutputDir>${project.build.directory}/app</jfxAppOutputDir>
  80. <nativeOutputDir>${project.build.directory}/native</nativeOutputDir>
  81. <appName>treehole</appName>
  82. <verbose>true</verbose>
  83. <vendor>com.luooqi</vendor>
  84. <needShortcut>true</needShortcut>
  85. <bundleArguments>
  86. <runtime />
  87. </bundleArguments>
  88. <nativeReleaseVersion>${soft.version}</nativeReleaseVersion>
  89. </configuration>
  90. </plugin>
  91. </plugins>
  92. </build>
  93. </project>