mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2026-02-04 15:05:54 +08:00
145 lines
5.7 KiB
XML
145 lines
5.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
<parent>
|
||
<groupId>top.wu2020</groupId>
|
||
<artifactId>wu-lazy-cloud-heartbeat-start</artifactId>
|
||
<version>1.3.7-JDK24-SNAPSHOT</version>
|
||
</parent>
|
||
<modelVersion>4.0.0</modelVersion>
|
||
|
||
<artifactId>wu-lazy-cloud-heartbeat-client-start</artifactId>
|
||
<description>云下心跳客户端</description>
|
||
|
||
<name>wlcn项目客户端</name>
|
||
<url>https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network</url>
|
||
<!-->开发者的信息<-->
|
||
<developers>
|
||
<developer>
|
||
<name>Jia Wei Wu</name>
|
||
<email>1207537021@qq.com</email>
|
||
</developer>
|
||
</developers>
|
||
<licenses>
|
||
<license>
|
||
<name>Apache License, Version 2.0</name>
|
||
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
|
||
<distribution>repo</distribution>
|
||
</license>
|
||
</licenses>
|
||
<!-->项目的版本管理地址<-->
|
||
<scm>
|
||
<url>https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network</url>
|
||
</scm>
|
||
<properties>
|
||
<maven.compiler.source>24</maven.compiler.source>
|
||
<maven.compiler.target>24</maven.compiler.target>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>top.wu2020</groupId>
|
||
<artifactId>wu-lazy-cloud-heartbeat-client</artifactId>
|
||
<version>${wu-lazy-cloud-heartbeat-client.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
<version>8.0.33</version>
|
||
</dependency>
|
||
|
||
</dependencies>
|
||
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<configuration>
|
||
<source>24</source>
|
||
<target>24</target>
|
||
<annotationProcessorPaths>
|
||
<path>
|
||
<groupId>org.mapstruct</groupId>
|
||
<artifactId>mapstruct-processor</artifactId>
|
||
<version>1.6.3</version>
|
||
</path>
|
||
</annotationProcessorPaths>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-deploy-plugin</artifactId>
|
||
<configuration>
|
||
<skip>true</skip>
|
||
</configuration>
|
||
</plugin>
|
||
<!-- 2. 配置jpackage打包脚本(通过Maven执行外部命令) -->
|
||
<plugin>
|
||
<groupId>org.codehaus.mojo</groupId>
|
||
<artifactId>exec-maven-plugin</artifactId>
|
||
<version>3.5.1</version>
|
||
<executions>
|
||
<execution>
|
||
<id>jpackage</id>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>exec</goal>
|
||
</goals>
|
||
<configuration>
|
||
<!-- 显示Maven执行详情 -->
|
||
<executable>jpackage</executable>
|
||
<arguments>
|
||
<!-- 增加jpackage详细日志参数 -->
|
||
<argument>--verbose</argument>
|
||
|
||
<argument>--type</argument>
|
||
<argument>${packaging.type}</argument>
|
||
<!-- 根据操作系统动态设置打包类型 -->
|
||
<argument>--input</argument>
|
||
<argument>target</argument>
|
||
|
||
<argument>--dest</argument>
|
||
<argument>target/installer</argument>
|
||
|
||
<argument>--name</argument>
|
||
<argument>wlcn-client-${os.name}-${project.version}</argument>
|
||
|
||
<argument>--main-jar</argument>
|
||
<argument>${project.build.finalName}.jar</argument>
|
||
|
||
<argument>--main-class</argument>
|
||
<argument>org.springframework.boot.loader.launch.JarLauncher</argument>
|
||
|
||
<!-- <argument>--icon</argument>-->
|
||
<!-- <argument>src/main/resources/app${os.name.contains("Windows") ? ".ico" : (os.name.contains("Mac") ? ".icns" : ".png")}</argument>-->
|
||
|
||
<argument>--app-version</argument>
|
||
<argument>1.3.6</argument>
|
||
|
||
<argument>--vendor</argument>
|
||
<argument>小吴小吴bug全无${os.name}</argument>
|
||
|
||
<argument>--description</argument>
|
||
<argument>${description}</argument>
|
||
|
||
<argument>--java-options</argument>
|
||
<argument>-server -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xms64m -Xmx256m -XX:+UseParallelGC</argument>
|
||
|
||
</arguments>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
|
||
|
||
</plugins>
|
||
</build>
|
||
|
||
</project> |