nacos-sentinel/pom.xml

235 lines
9.1 KiB
XML
Raw Normal View History

2024-02-20 13:31:49 +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"
2024-02-20 13:36:45 +08:00
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>
2024-02-20 23:31:54 +08:00
<url>https://github.com/xuxiaowei-com-cn/nacos-sentinel</url>
<inceptionYear>2024</inceptionYear>
2024-02-20 13:36:45 +08:00
<properties>
2024-02-20 19:27:00 +08:00
<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>
2024-02-20 13:31:49 +08:00
2024-02-20 13:36:45 +08:00
<!-- 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>
2024-02-20 13:31:49 +08:00
2024-02-20 23:13:56 +08:00
<!-- 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>
2024-02-20 13:39:37 +08:00
2024-02-20 20:35:35 +08:00
<!-- 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>
2024-02-20 23:28:24 +08:00
<!-- https://mvnrepository.com/artifact/pl.project13.maven/git-commit-id-plugin -->
<git-commit-id-plugin.version>4.9.10</git-commit-id-plugin.version>
2024-02-20 14:00:13 +08:00
<skipTests>true</skipTests>
2024-02-20 13:36:45 +08:00
</properties>
<dependencies>
2024-02-20 13:39:37 +08:00
2024-02-20 23:13:56 +08:00
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
</dependency>
2024-02-20 13:39:37 +08:00
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-client</artifactId>
<version>${nacos.version}</version>
<!-- 指定纯净版SDK -->
<classifier>pure</classifier>
2024-02-20 13:39:37 +08:00
</dependency>
<!-- 使用纯净版时必须要引入同版本nacos-api和nacos-common否则可能出现运行时找不到类的问题 -->
2024-02-20 13:39:37 +08:00
<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>
2024-02-20 13:39:37 +08:00
</dependency>
2024-02-20 23:01:34 +08:00
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
2024-02-20 13:36:45 +08:00
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
2024-02-20 23:01:34 +08:00
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
2024-02-20 13:36:45 +08:00
<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>
2024-02-20 23:31:54 +08:00
<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>
2024-02-20 13:36:45 +08:00
<build>
<plugins>
2024-02-20 20:35:35 +08:00
<plugin>
<groupId>io.spring.javaformat</groupId>
<artifactId>spring-javaformat-maven-plugin</artifactId>
<version>${spring-javaformat-maven-plugin.version}</version>
2024-02-20 23:28:41 +08:00
<executions>
<execution>
<phase>validate</phase>
<inherited>true</inherited>
<goals>
<goal>validate</goal>
</goals>
</execution>
</executions>
2024-02-20 20:35:35 +08:00
</plugin>
2024-02-20 13:36:45 +08:00
<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>
2024-02-20 23:28:24 +08:00
<!-- 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>
2024-02-20 13:36:45 +08:00
</plugins>
</build>
2024-02-20 13:31:49 +08:00
</project>