mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2026-02-04 15:05:54 +08:00
166 lines
7.2 KiB
XML
166 lines
7.2 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.4-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.graalvm.buildtools</groupId>-->
|
||
<!-- <artifactId>native-maven-plugin</artifactId>-->
|
||
<!-- <version>0.10.3</version>-->
|
||
<!-- <configuration>-->
|
||
<!-- <!– imageName用于设置生成的二进制文件名称 –>-->
|
||
<!-- <imageName>${project.artifactId}</imageName>-->
|
||
<!-- <!– mainClass用于指定main方法类路径 –>-->
|
||
<!-- <mainClass>org.framework.lazy.cloud.network.heartbeat.client.LazyCloudHeartbeatClientStart</mainClass>-->
|
||
<!-- <buildArgs>-->
|
||
<!-- --no-fallback-->
|
||
<!-- </buildArgs>-->
|
||
<!-- </configuration>-->
|
||
<!-- <executions>-->
|
||
<!-- <execution>-->
|
||
<!-- <id>build-native</id>-->
|
||
<!-- <goals>-->
|
||
<!-- <goal>compile-no-fork</goal>-->
|
||
<!-- </goals>-->
|
||
<!-- <phase>package</phase>-->
|
||
<!-- </execution>-->
|
||
<!-- </executions>-->
|
||
<!-- </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>dmg</argument>
|
||
<!-- 根据操作系统动态设置打包类型 -->
|
||
<!-- <argument>${os.name.contains("Windows") ? "msi" : (os.name.contains("Mac") ? "dmg" : "deb")}</argument>-->
|
||
|
||
<argument>--input</argument>
|
||
<argument>target</argument>
|
||
|
||
<argument>--dest</argument>
|
||
<argument>target/installer</argument>
|
||
|
||
<argument>--name</argument>
|
||
<argument>wlcn-client</argument>
|
||
|
||
<argument>--main-jar</argument>
|
||
<argument>${project.build.finalName}.jar</argument>
|
||
|
||
<argument>--main-class</argument>
|
||
<argument>org.springframework.boot.loader.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.4</argument>
|
||
|
||
<argument>--vendor</argument>
|
||
<argument>小吴小吴bug全无${os.name}</argument>
|
||
|
||
<argument>--description</argument>
|
||
<argument>Spring Boot Application</argument>
|
||
</arguments>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
|
||
|
||
</plugins>
|
||
</build>
|
||
|
||
</project> |