1.pom 更新
This commit is contained in:
parent
1bffe00188
commit
4a4ea997bc
|
@ -4,7 +4,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.xiaoliu</groupId>
|
<groupId>com.xiaoliu</groupId>
|
||||||
<artifactId>FileTransfer</artifactId>
|
<artifactId>FileTransfer</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>FileTransferClient</artifactId>
|
<artifactId>FileTransferClient</artifactId>
|
||||||
|
@ -22,19 +22,63 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.xiaoliu</groupId>
|
<groupId>com.xiaoliu</groupId>
|
||||||
<artifactId>FileTransferCommon</artifactId>
|
<artifactId>FileTransferCommon</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.formdev</groupId>
|
<groupId>com.formdev</groupId>
|
||||||
<artifactId>flatlaf</artifactId>
|
<artifactId>flatlaf</artifactId>
|
||||||
<version>3.4.1</version>
|
<version>3.4.1</version>
|
||||||
</dependency>
|
<classifier>no-natives</classifier>
|
||||||
<dependency>
|
|
||||||
<groupId>com.formdev</groupId>
|
|
||||||
<artifactId>flatlaf</artifactId>
|
|
||||||
<version>3.4.1</version>
|
|
||||||
<classifier>windows-x86_64</classifier>
|
|
||||||
<type>dll</type>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<finalName>NettyClient-v${project.version}</finalName>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<version>3.11.0</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>copy-dependencies</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<finalName>${project.build.finalName}</finalName>
|
||||||
|
<archive>
|
||||||
|
<manifest>
|
||||||
|
<mainClass>com.xiaoliu.Main</mainClass>
|
||||||
|
</manifest>
|
||||||
|
</archive>
|
||||||
|
<descriptorRefs>
|
||||||
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||||||
|
</descriptorRefs>
|
||||||
|
<appendAssemblyId>false</appendAssemblyId>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>make-assembly</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>single</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.xiaoliu</groupId>
|
<groupId>com.xiaoliu</groupId>
|
||||||
<artifactId>FileTransfer</artifactId>
|
<artifactId>FileTransfer</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>FileTransferCommon</artifactId>
|
<artifactId>FileTransferCommon</artifactId>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.xiaoliu</groupId>
|
<groupId>com.xiaoliu</groupId>
|
||||||
<artifactId>FileTransfer</artifactId>
|
<artifactId>FileTransfer</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>FileTransferService</artifactId>
|
<artifactId>FileTransferService</artifactId>
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.xiaoliu</groupId>
|
<groupId>com.xiaoliu</groupId>
|
||||||
<artifactId>FileTransferCommon</artifactId>
|
<artifactId>FileTransferCommon</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
@ -73,30 +73,6 @@
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>io.github.fvarrui</groupId>
|
|
||||||
<artifactId>javapackager</artifactId>
|
|
||||||
<version>1.7.5</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>package</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<!-- mandatory -->
|
|
||||||
<mainClass>com.xiaoliu.Server</mainClass>
|
|
||||||
<!-- optional -->
|
|
||||||
<bundleJre>true</bundleJre>
|
|
||||||
<generateInstaller>true</generateInstaller>
|
|
||||||
<administratorRequired>false</administratorRequired>
|
|
||||||
<platform>windows</platform>
|
|
||||||
<displayName>netty</displayName>
|
|
||||||
<description>服务端软件</description>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<groupId>com.xiaoliu</groupId>
|
<groupId>com.xiaoliu</groupId>
|
||||||
<artifactId>FileTransfer</artifactId>
|
<artifactId>FileTransfer</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>FileTransfer</name>
|
<name>FileTransfer</name>
|
||||||
|
|
Loading…
Reference in New Issue