Files
orion-visor/pom.xml

140 lines
5.5 KiB
XML
Raw Permalink Normal View History

2023-06-20 16:05:15 +08:00
<?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>
2024-10-29 09:59:50 +08:00
<groupId>org.dromara.visor</groupId>
2024-05-16 00:03:30 +08:00
<artifactId>orion-visor</artifactId>
2023-06-20 16:05:15 +08:00
<version>${revision}</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>项目脚手架</description>
2024-06-12 15:13:07 +08:00
<url>https://github.com/dromara/orion-visor</url>
2023-06-20 16:05:15 +08:00
<modules>
2024-05-16 00:03:30 +08:00
<module>orion-visor-dependencies</module>
2025-01-07 18:23:39 +08:00
<module>orion-visor-common</module>
2024-05-16 00:03:30 +08:00
<module>orion-visor-framework</module>
<module>orion-visor-launch</module>
2025-01-07 17:55:22 +08:00
<module>orion-visor-modules</module>
2023-06-20 16:05:15 +08:00
</modules>
<properties>
2025-12-12 11:01:15 +08:00
<revision>2.5.6</revision>
2023-06-20 16:05:15 +08:00
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
2023-12-28 00:26:46 +08:00
<maven.surefire.plugin.version>3.0.0-M5</maven.surefire.plugin.version>
<maven.compiler.plugin.version>3.8.1</maven.compiler.plugin.version>
<flatten.maven.plugin.version>1.5.0</flatten.maven.plugin.version>
<lombok.version>1.18.30</lombok.version>
<spring.boot.version>2.7.17</spring.boot.version>
2023-06-20 16:05:15 +08:00
<mapstruct.version>1.5.5.Final</mapstruct.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
2024-10-29 09:59:50 +08:00
<groupId>org.dromara.visor</groupId>
2024-05-16 00:03:30 +08:00
<artifactId>orion-visor-dependencies</artifactId>
2023-06-20 16:05:15 +08:00
<version>${revision}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<!-- 用于运行单元测试 Junit 5 需要使用 3.0.X+ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
2023-12-28 00:26:46 +08:00
<version>${maven.surefire.plugin.version}</version>
2023-06-20 16:05:15 +08:00
</plugin>
<!-- 解决 spring-boot-configuration-processor + Lombok + MapStruct 组合 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
2023-12-28 00:26:46 +08:00
<version>${maven.compiler.plugin.version}</version>
2023-06-20 16:05:15 +08:00
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<version>${spring.boot.version}</version>
</path>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
<path>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${mapstruct.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
2023-12-28 00:26:46 +08:00
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
</plugin>
2023-06-20 16:05:15 +08:00
</plugins>
</pluginManagement>
2023-12-28 00:26:46 +08:00
<plugins>
<!-- 统一 revision 版本 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${flatten.maven.plugin.version}</version>
<configuration>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
<updatePomFile>true</updatePomFile>
</configuration>
<executions>
<execution>
<goals>
<goal>flatten</goal>
</goals>
<id>flatten</id>
<phase>process-resources</phase>
</execution>
<execution>
<goals>
<goal>clean</goal>
</goals>
<id>flatten.clean</id>
<phase>clean</phase>
</execution>
</executions>
</plugin>
</plugins>
2023-06-20 16:05:15 +08:00
</build>
<repositories>
<repository>
<id>aliyun-repos</id>
<url>https://maven.aliyun.com/nexus/content/groups/public/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>aliyun-plugin</id>
<url>https://maven.aliyun.com/nexus/content/groups/public/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>