sol-cloud/cloud/plugin/plugin-discovery/plugin-discovery-starter/pom.xml
smile 9c91fcfb10 feat(build): add startup build metadata banner and unify module revision
- add Spring Boot banner with build and git metadata
- import build-info and git properties for gateway and web services
- add build info environment post processor
- align docker startup commands with build-info location
- unify internal Maven module versions with revision/project.version
2026-04-02 15:42:12 +08:00

65 lines
2.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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.bgasol</groupId>
<artifactId>plugin-discovery</artifactId>
<version>${revision}</version>
</parent>
<artifactId>plugin-discovery-starter</artifactId>
<profiles>
<profile>
<id>nacos</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>discovery.type</name>
<value>nacos</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.bgasol</groupId>
<artifactId>plugin-discovery-nacos</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>k8s</id>
<activation>
<property>
<name>discovery.type</name>
<value>k8s</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.bgasol</groupId>
<artifactId>plugin-discovery-k8s</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>consul</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>discovery.type</name>
<value>consul</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.bgasol</groupId>
<artifactId>plugin-discovry-consul</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</profile>
</profiles>
</project>