nacos-sentinel/pom.xml

235 lines
9.1 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>cn.com.xuxiaowei.nacos</groupId>
<artifactId>nacos-sentinel</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>nacos-sentinel</name>
<description>Nacos 监控项目</description>
<url>https://github.com/xuxiaowei-com-cn/nacos-sentinel</url>
<inceptionYear>2024</inceptionYear>
<properties>
<java.version>1.8</java.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-parent -->
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-dependencies -->
<spring-boot.version>2.7.18</spring-boot.version>
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
<commons-lang3.version>3.14.0</commons-lang3.version>
<!-- 2.1.2版本以上支持纯净版客户端 -->
<nacos.version>2.2.0</nacos.version>
<!-- https://mvnrepository.com/artifact/io.spring.javaformat/spring-javaformat-maven-plugin -->
<!-- https://github.com/spring-io/spring-javaformat/ -->
<!-- 高版本支持 JDK 8https://github.com/spring-io/spring-javaformat/#java-8-support -->
<spring-javaformat-maven-plugin.version>0.0.41</spring-javaformat-maven-plugin.version>
<!-- https://mvnrepository.com/artifact/pl.project13.maven/git-commit-id-plugin -->
<git-commit-id-plugin.version>4.9.10</git-commit-id-plugin.version>
<skipTests>true</skipTests>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-client</artifactId>
<version>${nacos.version}</version>
<!-- 指定纯净版SDK -->
<classifier>pure</classifier>
</dependency>
<!-- 使用纯净版时必须要引入同版本nacos-api和nacos-common否则可能出现运行时找不到类的问题 -->
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-common</artifactId>
<version>${nacos.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-api</artifactId>
<version>${nacos.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
<license>
<name>996.ICU</name>
<url>https://github.com/996icu/996.ICU/blob/master/LICENSE</url>
<distribution>repo</distribution>
<comments>The name 996.ICU refers to "Work by '996', sick in ICU", an ironic saying among Chinese
developers, which means that by following the "996" work schedule, you are risking yourself getting into
the ICU (Intensive Care Unit).
</comments>
</license>
</licenses>
<scm>
<url>https://github.com/xuxiaowei-com-cn/nacos-sentinel</url>
<connection>scm:git:https://git@github.com/xuxiaowei-com-cn/nacos-sentinel.git</connection>
</scm>
<issueManagement>
<system>Github</system>
<url>https://github.com/xuxiaowei-com-cn/nacos-sentinel/issues</url>
</issueManagement>
<organization>
<name>徐晓伟工作室</name>
<url>http://xuxiaowei.com.cn</url>
</organization>
<developers>
<developer>
<name>徐晓伟</name>
<email>xuxiaowei@xuxiaowei.com.cn</email>
<organization>徐晓伟工作室</organization>
<organizationUrl>http://xuxiaowei.com.cn</organizationUrl>
</developer>
</developers>
<build>
<plugins>
<plugin>
<groupId>io.spring.javaformat</groupId>
<artifactId>spring-javaformat-maven-plugin</artifactId>
<version>${spring-javaformat-maven-plugin.version}</version>
<executions>
<execution>
<phase>validate</phase>
<inherited>true</inherited>
<goals>
<goal>validate</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
<configuration>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>repackage</id>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- https://mvnrepository.com/artifact/pl.project13.maven/git-commit-id-plugin -->
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<version>${git-commit-id-plugin.version}</version>
<executions>
<execution>
<id>get-the-git-infos</id>
<goals>
<!-- 父子项目必须添加 -->
<goal>revision</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- 父子项目必须添加 -->
<generateGitPropertiesFile>true</generateGitPropertiesFile>
<offline>true</offline>
<!-- 输出详细内容 -->
<!--<verbose>true</verbose>-->
<dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
<dateFormat>yyyy-MM-dd HH:mm:ss</dateFormat>
<format>json</format>
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.json
</generateGitPropertiesFilename>
</configuration>
</plugin>
</plugins>
</build>
</project>