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>
|
<version>1.0-SNAPSHOT</version>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.source>17</maven.compiler.source>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.compiler.target>17</maven.compiler.target>
|
|
||||||
<javafx.version>19</javafx.version>
|
<javafx.version>19</javafx.version>
|
||||||
</properties>
|
</properties>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
@ -76,13 +75,6 @@
|
||||||
<version>${javafx.version}</version>
|
<version>${javafx.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.github.leewyatt</groupId>
|
|
||||||
<artifactId>rxcontrols</artifactId>
|
|
||||||
<!-- 11.x.y -->
|
|
||||||
<version>11.0.2</version>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.fasterxml.jackson.core</groupId>
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||||||
<artifactId>jackson-core</artifactId>
|
<artifactId>jackson-core</artifactId>
|
||||||
|
|
@ -101,50 +93,37 @@
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
|
||||||
<!-- 使用maven-jar-plugin和maven-dependency-plugin插件打包 -->
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.1.0</version>
|
<version>3.8.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<archive>
|
<source>17</source>
|
||||||
<manifest>
|
<target>17</target>
|
||||||
<addClasspath>true</addClasspath>
|
|
||||||
<classpathPrefix>lib/</classpathPrefix>
|
|
||||||
<mainClass>com.zhangmeng.minio.Start</mainClass>
|
|
||||||
</manifest>
|
|
||||||
</archive>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.openjfx</groupId>
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
<artifactId>javafx-maven-plugin</artifactId>
|
||||||
<version>3.1.1</version>
|
<version>0.0.8</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-dependencies</id>
|
<!-- Default configuration for running with: mvn clean javafx:run -->
|
||||||
<phase>package</phase>
|
<id>default-cli</id>
|
||||||
<goals>
|
|
||||||
<goal>copy-dependencies</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
<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>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</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>
|
</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