2024年3月10日18:30:23
parent
1d97a816fd
commit
5dae0c8443
44
pom.xml
44
pom.xml
|
|
@ -101,30 +101,40 @@
|
|||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
<!-- 使用maven-jar-plugin和maven-dependency-plugin插件打包 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.10.0</version>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<configuration>
|
||||
<release>17</release>
|
||||
<encoding>utf-8</encoding>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addClasspath>true</addClasspath>
|
||||
<classpathPrefix>lib/</classpathPrefix>
|
||||
<mainClass>com.zhangmeng.minio.Start</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx-maven-plugin</artifactId>
|
||||
<version>0.0.8</version>
|
||||
<configuration>
|
||||
<stripDebug>true</stripDebug>
|
||||
<compress>2</compress>
|
||||
<noHeaderFiles>true</noHeaderFiles>
|
||||
<noManPages>true</noManPages>
|
||||
<launcher>minio manager</launcher>
|
||||
<jlinkImageName>minio manager</jlinkImageName>
|
||||
<jlinkZipName>minio-managerZip</jlinkZipName>
|
||||
<mainClass>com.zhangmeng.minio.MiniToolsApplication</mainClass>
|
||||
</configuration>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.1.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-dependencies</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>copy-dependencies</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
<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