boot-sentinel/pom.xml

194 lines
7.6 KiB
XML
Raw Normal View History

2024-02-21 17:32:10 +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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>cn.com.xuxiaowei.boot</groupId>
<artifactId>boot-sentinel</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>boot-sentinel</name>
<description>探针监控项目</description>
<url>https://github.com/xuxiaowei-com-cn/boot-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>
2024-02-23 12:10:36 +08:00
<!-- https://mvnrepository.com/artifact/net.bytebuddy/byte-buddy -->
<byte-buddy.version>1.14.12</byte-buddy.version>
2024-02-26 09:38:09 +08:00
<unit.version>0.0.3</unit.version>
2024-02-23 12:10:36 +08:00
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
<log4j.version>2.23.0</log4j.version>
2024-02-21 17:32:10 +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>
<!-- 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>
2024-02-23 12:10:36 +08:00
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>${byte-buddy.version}</version>
</dependency>
2024-02-26 09:38:09 +08:00
<dependency>
<groupId>cn.com.xuxiaowei.utils</groupId>
<artifactId>unit</artifactId>
<version>${unit.version}</version>
</dependency>
2024-02-23 12:10:36 +08:00
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j.version}</version>
</dependency>
2024-02-21 17:32:10 +08:00
</dependencies>
<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/boot-sentinel</url>
<connection>scm:git:https://git@github.com/xuxiaowei-com-cn/boot-sentinel.git</connection>
</scm>
<issueManagement>
<system>Github</system>
<url>https://github.com/xuxiaowei-com-cn/boot-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>org.apache.maven.plugins</groupId>
2024-02-23 12:10:36 +08:00
<artifactId>maven-assembly-plugin</artifactId>
2024-02-21 17:32:10 +08:00
<version>3.3.0</version>
<configuration>
2024-02-23 12:10:36 +08:00
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
2024-02-21 17:32:10 +08:00
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<Premain-Class>cn.com.xuxiaowei.boot.sentinel.BootSentinelAgent</Premain-Class>
<Agent-Class>cn.com.xuxiaowei.boot.sentinel.BootSentinelAgent</Agent-Class>
</manifestEntries>
</archive>
</configuration>
2024-02-23 12:10:36 +08:00
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
2024-02-21 17:32:10 +08:00
</plugin>
<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>
<!-- 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>