2024年3月10日18:30:23
parent
b471abf543
commit
4a7002d45c
59
pom.xml
59
pom.xml
|
|
@ -9,8 +9,7 @@
|
|||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>17</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<javafx.version>19</javafx.version>
|
||||
</properties>
|
||||
<dependencies>
|
||||
|
|
@ -76,13 +75,6 @@
|
|||
<version>${javafx.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.github.leewyatt</groupId>
|
||||
<artifactId>rxcontrols</artifactId>
|
||||
<!-- 11.x.y -->
|
||||
<version>11.0.2</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-core</artifactId>
|
||||
|
|
@ -101,50 +93,37 @@
|
|||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
<!-- 使用maven-jar-plugin和maven-dependency-plugin插件打包 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addClasspath>true</addClasspath>
|
||||
<classpathPrefix>lib/</classpathPrefix>
|
||||
<mainClass>com.zhangmeng.minio.Start</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
<source>17</source>
|
||||
<target>17</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.1.1</version>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx-maven-plugin</artifactId>
|
||||
<version>0.0.8</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-dependencies</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>copy-dependencies</goal>
|
||||
</goals>
|
||||
<!-- Default configuration for running with: mvn clean javafx:run -->
|
||||
<id>default-cli</id>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
||||
<mainClass>
|
||||
com.zhangmeng.minio/com.zhangmeng.minio.MiniToolsApplication
|
||||
</mainClass>
|
||||
<launcher>app</launcher>
|
||||
<jlinkZipName>app</jlinkZipName>
|
||||
<jlinkImageName>app</jlinkImageName>
|
||||
<noManPages>true</noManPages>
|
||||
<stripDebug>true</stripDebug>
|
||||
<noHeaderFiles>true</noHeaderFiles>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>jitpack.io</id>
|
||||
<url>https://jitpack.io</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>zm</id>
|
||||
<url>http://123.57.75.116:49000/repository/zm/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
</project>
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
package com.zhangmeng.minio;
|
||||
|
||||
import javafx.application.Application;
|
||||
|
||||
/**
|
||||
* @author zhangmeng
|
||||
* @version 1.0
|
||||
* @date 2024-03-10 18:33
|
||||
*/
|
||||
public class Start {
|
||||
|
||||
public static void main(String[] args) {
|
||||
Application.launch(MiniToolsApplication.class,args);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
module com.zhangmeng.minio {
|
||||
requires javafx.fxml;
|
||||
requires javafx.controls;
|
||||
requires javafx.base;
|
||||
requires minio;
|
||||
requires com.fasterxml.jackson.core;
|
||||
requires tika.core;
|
||||
requires org.apache.commons.lang3;
|
||||
|
||||
opens com.zhangmeng.minio to javafx.fxml;
|
||||
exports com.zhangmeng.minio;
|
||||
}
|
||||
Loading…
Reference in New Issue