mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-04 20:37:56 +08:00
259 lines
10 KiB
XML
259 lines
10 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">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
|
||
|
||
<parent>
|
||
<artifactId>wu-framework-parent</artifactId>
|
||
<groupId>top.wu2020</groupId>
|
||
<version>1.2.6-JDK17-SNAPSHOT</version>
|
||
</parent>
|
||
|
||
<artifactId>wu-smart-agent-network</artifactId>
|
||
<packaging>pom</packaging>
|
||
<version>1.2.6-JDK17-SNAPSHOT</version>
|
||
<description>云上云下</description>
|
||
|
||
|
||
<modules>
|
||
<!-- 云上服务组件 -->
|
||
<module>wu-lazy-cloud-heartbeat-server</module>
|
||
<module>wu-lazy-cloud-heartbeat-server-cluster</module>
|
||
<module>wu-lazy-cloud-heartbeat-client</module>
|
||
<module>wu-lazy-cloud-heartbeat-common</module>
|
||
|
||
<!-- 样例 -->
|
||
<module>wu-lazy-cloud-heartbeat-start</module>
|
||
</modules>
|
||
|
||
<properties>
|
||
|
||
</properties>
|
||
<dependencies>
|
||
<!-- mapstruct -->
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<version>1.18.32</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok-mapstruct-binding</artifactId>
|
||
<version>0.2.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.mapstruct</groupId>
|
||
<artifactId>mapstruct</artifactId>
|
||
<version>1.6.0.Beta1</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.mapstruct</groupId>
|
||
<artifactId>mapstruct-processor</artifactId>
|
||
<version>1.6.0.Beta1</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<dependencyManagement>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>top.wu2020</groupId>
|
||
<artifactId>wu-framework-dependencies</artifactId>
|
||
<version>1.2.6-JDK17-SNAPSHOT</version>
|
||
<type>pom</type>
|
||
<scope>import</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
</dependencyManagement>
|
||
<repositories>
|
||
<repository>
|
||
<id>maven_central</id>
|
||
<name>Maven Central</name>
|
||
<url>https://repo.maven.apache.org/maven2/</url>
|
||
</repository>
|
||
</repositories>
|
||
|
||
|
||
<profiles>
|
||
<profile>
|
||
<id>oss</id>
|
||
<build>
|
||
<plugins>
|
||
<!-- Source -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-source-plugin</artifactId>
|
||
<version>3.2.1</version>
|
||
<executions>
|
||
<execution>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>jar-no-fork</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<!-- Javadoc -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-javadoc-plugin</artifactId>
|
||
<version>3.2.0</version>
|
||
<executions>
|
||
<execution>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>jar</goal>
|
||
</goals>
|
||
<configuration>
|
||
<locale>en_US</locale>
|
||
<encoding>UTF-8</encoding>
|
||
<charset>UTF-8</charset>
|
||
<doclint>none</doclint>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<!-- GPG -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-gpg-plugin</artifactId>
|
||
<version>${maven-gpg-plugin.version}</version>
|
||
<executions>
|
||
<execution>
|
||
<phase>verify</phase>
|
||
<goals>
|
||
<goal>sign</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<!-- flatten -->
|
||
<plugin>
|
||
<groupId>org.codehaus.mojo</groupId>
|
||
<artifactId>flatten-maven-plugin</artifactId>
|
||
<version>${flatten-maven-plugin.version}</version>
|
||
<configuration>
|
||
<updatePomFile>true</updatePomFile>
|
||
<flattenMode>resolveCiFriendliesOnly</flattenMode>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<id>flatten</id>
|
||
<phase>process-resources</phase>
|
||
<goals>
|
||
<goal>flatten</goal>
|
||
</goals>
|
||
</execution>
|
||
<execution>
|
||
<id>flatten.clean</id>
|
||
<phase>clean</phase>
|
||
<goals>
|
||
<goal>clean</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
<!-->发布的地址<-->
|
||
<distributionManagement>
|
||
<snapshotRepository>
|
||
<id>snapshots</id>
|
||
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
||
</snapshotRepository>
|
||
<repository>
|
||
<id>snapshots</id>
|
||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
||
</repository>
|
||
</distributionManagement>
|
||
</profile>
|
||
|
||
|
||
<profile>
|
||
<id>snapshots</id>
|
||
<!-->发布的地址<-->
|
||
<distributionManagement>
|
||
<snapshotRepository>
|
||
<id>maven-snapshots</id>
|
||
<name>deployment</name>
|
||
<url>http://192.168.17.221:31004/repository/maven-snapshots/</url>
|
||
</snapshotRepository>
|
||
<repository>
|
||
<id>maven-releases</id>
|
||
<name>deployment</name>
|
||
<url>http://192.168.17.221:31004/repository/maven-releases/</url>
|
||
</repository>
|
||
</distributionManagement>
|
||
</profile>
|
||
<profile>
|
||
<id>native</id>
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.graalvm.buildtools</groupId>
|
||
<artifactId>native-maven-plugin</artifactId>
|
||
<version>0.9.28</version>
|
||
<!-- 使用graalvm提供的可达性元数据,很多第三方库就直接可以构建成可执行文件了 -->
|
||
<configuration>
|
||
<!-- for agent -->
|
||
<agent>
|
||
<defaultMode>Standard</defaultMode>
|
||
<options>
|
||
<builtinCallerFilter>true</builtinCallerFilter>
|
||
<builtinHeuristicFilter>true</builtinHeuristicFilter>
|
||
<enableExperimentalPredefinedClasses>true
|
||
</enableExperimentalPredefinedClasses>
|
||
<enableExperimentalUnsafeAllocationTracing>true
|
||
</enableExperimentalUnsafeAllocationTracing>
|
||
<trackReflectionMetadata>true</trackReflectionMetadata>
|
||
</options>
|
||
<metadataCopy>
|
||
<merge>true</merge>
|
||
</metadataCopy>
|
||
</agent>
|
||
<!-- for metadata repository -->
|
||
<metadataRepository>
|
||
<enabled>true</enabled>
|
||
</metadataRepository>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<id>add-reachability-metadata</id>
|
||
<goals>
|
||
<goal>add-reachability-metadata</goal>
|
||
</goals>
|
||
</execution>
|
||
<execution>
|
||
<id>test-native</id>
|
||
<goals>
|
||
<goal>test</goal>
|
||
</goals>
|
||
<phase>test</phase>
|
||
</execution>
|
||
<execution>
|
||
<id>build-native</id>
|
||
<goals>
|
||
<goal>compile-no-fork</goal>
|
||
</goals>
|
||
<phase>package</phase>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</profile>
|
||
</profiles>
|
||
|
||
|
||
</project> |