123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.luooqi</groupId>
- <artifactId>treehole</artifactId>
- <version>${soft.version}</version>
- <properties>
- <soft.version>1.2.0</soft.version>
- </properties>
- <dependencies>
- <!-- 文件处理把包 -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-io</artifactId>
- <version>1.3.2</version>
- </dependency>
- <dependency>
- <groupId>com.1stleg</groupId>
- <artifactId>jnativehook</artifactId>
- <version>2.1.0</version>
- </dependency>
- <dependency>
- <groupId>cn.hutool</groupId>
- <artifactId>hutool-all</artifactId>
- <version>4.5.16</version>
- </dependency>
- <dependency>
- <groupId>org.imgscalr</groupId>
- <artifactId>imgscalr-lib</artifactId>
- <version>4.2</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.5.1</version>
- <configuration>
- <encoding>UTF-8</encoding>
- <source>1.8</source>
- <target>1.8</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.10</version>
- <executions>
- <execution>
- <id>copy-dependencies</id>
- <phase>package</phase>
- <configuration>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>false</overWriteSnapshots>
- <overWriteIfNewer>true</overWriteIfNewer>
- </configuration>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.zenjava</groupId>
- <artifactId>javafx-maven-plugin</artifactId>
- <version>8.8.3</version>
- <configuration>
- <mainClass>com.luooqi.ocr.MainFm</mainClass>
- <bundler>dmg</bundler>
- <jfxAppOutputDir>${project.build.directory}/app</jfxAppOutputDir>
- <nativeOutputDir>${project.build.directory}/native</nativeOutputDir>
- <appName>treehole</appName>
- <verbose>true</verbose>
- <vendor>com.luooqi</vendor>
- <needShortcut>true</needShortcut>
- <bundleArguments>
- <runtime />
- </bundleArguments>
- <nativeReleaseVersion>${soft.version}</nativeReleaseVersion>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|