2024年3月10日18:30:23
parent
1d97a816fd
commit
5dae0c8443
44
pom.xml
44
pom.xml
|
|
@ -101,30 +101,40 @@
|
||||||
</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-compiler-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<version>3.10.0</version>
|
<version>3.1.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<release>17</release>
|
<archive>
|
||||||
<encoding>utf-8</encoding>
|
<manifest>
|
||||||
|
<addClasspath>true</addClasspath>
|
||||||
|
<classpathPrefix>lib/</classpathPrefix>
|
||||||
|
<mainClass>com.zhangmeng.minio.Start</mainClass>
|
||||||
|
</manifest>
|
||||||
|
</archive>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.openjfx</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>javafx-maven-plugin</artifactId>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
<version>0.0.8</version>
|
<version>3.1.1</version>
|
||||||
<configuration>
|
<executions>
|
||||||
<stripDebug>true</stripDebug>
|
<execution>
|
||||||
<compress>2</compress>
|
<id>copy-dependencies</id>
|
||||||
<noHeaderFiles>true</noHeaderFiles>
|
<phase>package</phase>
|
||||||
<noManPages>true</noManPages>
|
<goals>
|
||||||
<launcher>minio manager</launcher>
|
<goal>copy-dependencies</goal>
|
||||||
<jlinkImageName>minio manager</jlinkImageName>
|
</goals>
|
||||||
<jlinkZipName>minio-managerZip</jlinkZipName>
|
<configuration>
|
||||||
<mainClass>com.zhangmeng.minio.MiniToolsApplication</mainClass>
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
<repositories>
|
<repositories>
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
/**
|
|
||||||
* @author zhangmeng
|
|
||||||
* @date 2024-03-10 17:02
|
|
||||||
* @version 1.0
|
|
||||||
*/
|
|
||||||
open module javafx.tools.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;
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue