1 Star 0 Fork 307

XinYu/phoenix

forked from 监控平台/phoenix 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 31.00 KB
一键复制 编辑 原始数据 按行查看 历史
流玄青夏 提交于 2024-04-28 14:27 . 版本升级到 1.2.5.RELEASE-CR1
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705
<?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>
<!-- 项目基本信息 -->
<groupId>com.gitee.pifeng</groupId>
<artifactId>phoenix</artifactId>
<version>1.2.5.RELEASE-CR1</version>
<modules>
<!-- 监控公共模块父工程 -->
<module>phoenix-common</module>
<!-- 监控UI端 -->
<module>phoenix-ui</module>
<!-- 监控服务端 -->
<module>phoenix-server</module>
<!-- 监控代理端 -->
<module>phoenix-agent</module>
<!-- 监控客户端父工程 -->
<module>phoenix-client</module>
</modules>
<packaging>pom</packaging>
<name>phoenix</name>
<description>开源监控平台</description>
<url>https://gitee.com/monitoring-platform/phoenix</url>
<!-- 属性 -->
<properties>
<!-- 监控框架版本,引用项目的version -->
<revision>${project.version}</revision>
<!-- 项目根目录 -->
<myproject.root>${basedir}</myproject.root>
<!-- 根项目名称 -->
<myproject.name>phoenix</myproject.name>
<!-- spring-boot-starter-parent版本 -->
<spring-boot-starter-parent.version>2.3.12.RELEASE</spring-boot-starter-parent.version>
<!-- 解决eclipse中maven报错的问题 -->
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
<!-- java版本 -->
<java.version>1.8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<!-- 文件拷贝时的编码 -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- 编译时的编码 -->
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<!-- alibaba的fastjson版本 -->
<fastjson.version>1.2.83</fastjson.version>
<!-- jackson数据解析工具版本 -->
<jackson.version>2.15.2</jackson.version>
<!-- guava基本工具版本 -->
<guava.version>20.0</guava.version>
<!-- liferay.portal工具版本 -->
<com.liferay.portal.kernel.version>9.12.2</com.liferay.portal.kernel.version>
<!-- joda-time时间日期版本 -->
<joda-time.version>2.10.6</joda-time.version>
<!-- commons工具包版本 -->
<commons-io.version>2.6</commons-io.version>
<commons-collections.version>3.2.2</commons-collections.version>
<commons-net.version>3.8.0</commons-net.version>
<commons-logging.version>1.2</commons-logging.version>
<!--<commons-logging.version>1.2</commons-logging.version>-->
<!-- sigar版本 -->
<sigar.version>1.6.4</sigar.version>
<!-- oshi版本 -->
<oshi-core.version>6.4.4</oshi-core.version>
<!-- jna版本 -->
<jna.version>5.13.0</jna.version>
<!-- jna-platform版本 -->
<jna-platform.version>5.13.0</jna-platform.version>
<!-- Hutool工具包版本 -->
<hutool-all.version>5.6.3</hutool-all.version>
<!-- easypoi工具包版本 -->
<easypoi-spring-boot-starter.version>4.4.0</easypoi-spring-boot-starter.version>
<!-- cglib动态代理版本 -->
<cglib.version>3.3.0</cglib.version>
<!-- servlet-api版本 -->
<servlet-api.version>2.5</servlet-api.version>
<!-- knife4j文档依赖 -->
<knife4j.version>4.1.0</knife4j.version>
<!-- mybatis-plus-boot-starter版本 -->
<mybatis-plus-boot-starter.version>3.1.2</mybatis-plus-boot-starter.version>
<!-- mybatis-plus代码生成器版本 -->
<mybatis-plus-generator.version>3.1.2</mybatis-plus-generator.version>
<!-- velocity模板引擎版本 -->
<velocity-engine-core.version>2.1</velocity-engine-core.version>
<!-- bouncy castle加解密版本 -->
<bcprov-jdk15on.version>1.69</bcprov-jdk15on.version>
<!-- alibaba的druid数据库连接池版本 -->
<druid-spring-boot-starter.version>1.2.4</druid-spring-boot-starter.version>
<!-- pagehelper分页插件版本 -->
<pagehelper.version>5.1.10</pagehelper.version>
<!-- oracle驱动版本 -->
<ojdbc6.version>11.2.0.3</ojdbc6.version>
<!-- redis驱动版本 -->
<jedis.version>3.7.0</jedis.version>
<!-- mongodb驱动版本 -->
<mongo-java-driver.version>3.12.10</mongo-java-driver.version>
<!-- maven clear插件版本 -->
<maven-clean-plugin.version>3.0.0</maven-clean-plugin.version>
<!-- 编译插件版本 -->
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
<!-- 单元测试插件版本 -->
<maven-surefire-plugin.version>3.0.0-M4</maven-surefire-plugin.version>
<!-- 打包插件版本 -->
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
<!-- springboot插件版本 -->
<spring-boot-maven-plugin.version>2.3.1.RELEASE</spring-boot-maven-plugin.version>
<!-- 定制化打包插件版本 -->
<maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
<!-- sonatype的staging插件版本 -->
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
<!-- 生成java doc插件版本 -->
<maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
<!-- 发布源码插件版本 -->
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<!-- gpg签名插件版本 -->
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
<!-- docker插件版本 -->
<docker-maven-plugin.version>1.2.2</docker-maven-plugin.version>
</properties>
<!-- 依赖管理 -->
<dependencyManagement>
<dependencies>
<!-- spring-boot-starter-parent父项目依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot-starter-parent.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- 监控公共模块父项目 -->
<dependency>
<groupId>com.gitee.pifeng</groupId>
<artifactId>phoenix-common</artifactId>
<version>${revision}</version>
</dependency>
<!-- 监控公共模块 -->
<dependency>
<groupId>com.gitee.pifeng</groupId>
<artifactId>phoenix-common-core</artifactId>
<version>${revision}</version>
</dependency>
<!-- 监控WEB公共模块 -->
<dependency>
<groupId>com.gitee.pifeng</groupId>
<artifactId>phoenix-common-web</artifactId>
<version>${revision}</version>
</dependency>
<!-- 监控客户端父项目 -->
<dependency>
<groupId>com.gitee.pifeng</groupId>
<artifactId>phoenix-client</artifactId>
<version>${revision}</version>
</dependency>
<!-- 监控客户端基础模块 -->
<dependency>
<groupId>com.gitee.pifeng</groupId>
<artifactId>phoenix-client-core</artifactId>
<version>${revision}</version>
</dependency>
<!-- 监控客户端与springboot集成的starter -->
<dependency>
<groupId>com.gitee.pifeng</groupId>
<artifactId>phoenix-client-spring-boot-starter</artifactId>
<version>${revision}</version>
</dependency>
<!-- 监控客户端与springmvc集成的integrator -->
<dependency>
<groupId>com.gitee.pifeng</groupId>
<artifactId>phoenix-client-spring-mvc-integrator</artifactId>
<version>${revision}</version>
</dependency>
<!-- 监控代理端 -->
<dependency>
<groupId>com.gitee.pifeng</groupId>
<artifactId>phoenix-agent</artifactId>
<version>${revision}</version>
</dependency>
<!-- 监控服务端 -->
<dependency>
<groupId>com.gitee.pifeng</groupId>
<artifactId>phoenix-server</artifactId>
<version>${revision}</version>
</dependency>
<!-- 监控UI端 -->
<dependency>
<groupId>com.gitee.pifeng</groupId>
<artifactId>phoenix-ui</artifactId>
<version>${revision}</version>
</dependency>
<!-- alibaba的fastjson依赖 -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
</dependency>
<!-- jackson数据解析工具依赖 -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.version}</version>
</dependency>
<!-- joda-time时间日期依赖 -->
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>${joda-time.version}</version>
</dependency>
<!-- guava基本工具依赖 -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<!-- liferay.portal工具依赖 -->
<dependency>
<groupId>com.liferay.portal</groupId>
<artifactId>com.liferay.portal.kernel</artifactId>
<version>${com.liferay.portal.kernel.version}</version>
</dependency>
<!-- commons工具包依赖 -->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>${commons-collections.version}</version>
</dependency>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>${commons-net.version}</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>${commons-logging.version}</version>
</dependency>
<!-- sigar依赖 -->
<dependency>
<groupId>org.fusesource</groupId>
<artifactId>sigar</artifactId>
<version>${sigar.version}</version>
</dependency>
<!-- oshi依赖 -->
<dependency>
<groupId>com.github.oshi</groupId>
<artifactId>oshi-core</artifactId>
<version>${oshi-core.version}</version>
</dependency>
<!-- jna依赖 -->
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>${jna.version}</version>
</dependency>
<!-- jna-platform依赖 -->
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
<version>${jna-platform.version}</version>
</dependency>
<!-- Hutool工具包依赖 -->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>${hutool-all.version}</version>
</dependency>
<!-- easypoi工具包依赖 -->
<dependency>
<groupId>cn.afterturn</groupId>
<artifactId>easypoi-spring-boot-starter</artifactId>
<version>${easypoi-spring-boot-starter.version}</version>
</dependency>
<!-- cglib动态代理依赖 -->
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>${cglib.version}</version>
</dependency>
<!-- servlet依赖 -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>${servlet-api.version}</version>
<scope>provided</scope>
</dependency>
<!-- knife4j文档依赖 -->
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
<version>${knife4j.version}</version>
</dependency>
<!-- mybatis-plus依赖 -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>${mybatis-plus-boot-starter.version}</version>
</dependency>
<!-- mybatis-plus代码生成器依赖 -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-generator</artifactId>
<version>${mybatis-plus-generator.version}</version>
</dependency>
<!-- velocity模板引擎依赖 -->
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity-engine-core</artifactId>
<version>${velocity-engine-core.version}</version>
</dependency>
<!-- bouncy castle加解密依赖 -->
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>${bcprov-jdk15on.version}</version>
</dependency>
<!-- alibaba的druid数据库连接池依赖 -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>${druid-spring-boot-starter.version}</version>
</dependency>
<!-- pagehelper分页插件依赖 -->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>${pagehelper.version}</version>
</dependency>
<!-- oracle数据库驱动 -->
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>${ojdbc6.version}</version>
<scope>runtime</scope>
</dependency>
<!-- redis数据库驱动 -->
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>${jedis.version}</version>
</dependency>
<!-- mongodb驱动 -->
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<version>${mongo-java-driver.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<!-- 构建 -->
<build>
<defaultGoal>package</defaultGoal>
<!-- 资源 -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<!-- 为了解决mybatis sql 配置文件的编译问题 -->
<include>**/*.xml</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<!-- 如果加了上面的配置,必须加入这个配置,不然resources目录下的东西不会进编译目录 -->
<include>**/*.*</include>
</includes>
</resource>
</resources>
<!-- 插件管理 -->
<pluginManagement>
<plugins>
<!--编译插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
<compilerArgs>
<!-- 编译器会保留方法参数名,使得在AOP或反射等场景下能够获取到方法的真实参数名 -->
<arg>-parameters</arg>
</compilerArgs>
</configuration>
</plugin>
<!--单元测试插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<!--打包插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<!-- 指定输出路径-->
<outputDirectory>
${session.executionRootDirectory}/target
</outputDirectory>
</configuration>
</plugin>
<!-- springboot插件 -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot-maven-plugin.version}</version>
<configuration>
<layout>ZIP</layout>
<fork>true</fork>
<!-- 这个配置非常重要,使打包好的jar包具备可执行权限 -->
<executable>true</executable>
<!-- 指定输出路径-->
<outputDirectory>
${session.executionRootDirectory}/target
</outputDirectory>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
<executions>
<execution>
<goals>
<!--可以把依赖的包都打包到生成的Jar包中 -->
<goal>repackage</goal>
<goal>build-info</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 定制化打包插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
<configuration>
<outputDirectory>${session.executionRootDirectory}/target</outputDirectory>
</configuration>
</plugin>
<!-- sonatype的staging插件 -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus-staging-maven-plugin.version}</version>
</plugin>
<!-- docker插件 -->
<!-- https://www.cnblogs.com/jpfss/p/10945324.html -->
<plugin>
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>${docker-maven-plugin.version}</version>
<configuration>
<!-- 指定生成的镜像名,前面的那个名字你随便改,后面的引用,不能动 -->
<imageName>${myproject.name}/${project.artifactId}</imageName>
<!-- 指定 Dockerfile 路径 -->
<dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
<!--指定docker镜像的版本号-->
<imageTags>
<!--使用maven项目的版本号-->
<imageTag>${project.version}</imageTag>
</imageTags>
<resources>
<resource>
<targetPath>/</targetPath>
<!-- jar包所在的路径 -->
<!--suppress UnresolvedMavenProperty -->
<directory>
${session.executionRootDirectory}/target
</directory>
<!-- 需要包含的jar包,这里对应的是 Dockerfile 中添加的文件名 -->
<include>${project.build.finalName}.jar</include>
</resource>
</resources>
</configuration>
<!-- 将插件绑定在某个phase执行 -->
<!--<executions>-->
<!--<execution>-->
<!--<id>build-image</id>-->
<!--将插件绑定在package这个phase上。也就是说,用户只需执行mvn package,就会自动执行mvn docker:build-->
<!--<phase>package</phase>-->
<!--<goals>-->
<!--<goal>build</goal>-->
<!--</goals>-->
<!--</execution>-->
<!--</executions>-->
</plugin>
</plugins>
</pluginManagement>
<!-- 插件 -->
<plugins>
<!-- maven clean插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven-clean-plugin.version}</version>
<configuration>
<!-- 当配置true时,只清理filesets里的文件,构建目录中得文件不被清理,默认是flase -->
<excludeDefaultDirectories>false</excludeDefaultDirectories>
<filesets>
<fileset>
<directory>${project.basedir}/liblog4phoenix</directory>
</fileset>
</filesets>
</configuration>
</plugin>
<!-- 生成java doc插件 -->
<!-- http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<additionalJOptions>
<additionalJOption>-J-Xmx180m</additionalJOption>
</additionalJOptions>
<charset>${project.build.sourceEncoding}</charset>
<encoding>${project.build.sourceEncoding}</encoding>
<docencoding>${project.build.sourceEncoding}</docencoding>
<destDir>target/javadoc</destDir>
<show>private</show>
<!-- 解析自定义注释 -->
<!-- MAVEN_OPTS=-Dfile.encoding=UTF-8;JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 -->
<tags>
<tag>
<name>custom.date</name>
<placement>a</placement>
<head>时间</head>
</tag>
</tags>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>deploy</phase>
<goals>
<!-- 生成聚合的javadoc -->
<goal>aggregate</goal>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 打包发布源码插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- gpg签名插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>deploy</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- sonatype的staging插件 -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
<autoDropAfterRelease>false</autoDropAfterRelease>
</configuration>
</plugin>
</plugins>
</build>
<!-- 仓库 -->
<repositories>
<!-- 私有仓库 -->
<repository>
<id>huaweiCloud</id>
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
<releases>
<!-- 是否激活 -->
<enabled>true</enabled>
<!-- 更新策略,maven将比较本地(存储在仓库的maven-metadata文件中)和远端的POM时间戳, -->
<!-- 配置选项可以设置:always、daily(一天一次,默认),interval:x(x为一整数,单位分钟),never -->
<updatePolicy>always</updatePolicy>
<!-- maven部署文件到仓库时,也会部署对应的校验和文件,你可以设置:ignore、fail或者warn用于当校验和文件不存在或者检验失败时的处理策略 -->
<checksumPolicy>fail</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
</repository>
</repositories>
<!-- 仓库插件 -->
<pluginRepositories>
<pluginRepository>
<id>huaweiCloud</id>
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
<!-- 发布 -->
<distributionManagement>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<!-- 发布的时候,是否为Snapshot版本分配一个包含时间戳的构建号 -->
<!-- <uniqueVersion>false</uniqueVersion> -->
</snapshotRepository>
</distributionManagement>
<!--许可证信息-->
<licenses>
<license>
<name>GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007</name>
<url>https://www.gnu.org/licenses/gpl-3.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<!--托管仓库信息-->
<scm>
<url>https://gitee.com/monitoring-platform/phoenix</url>
<connection>scm:git:https://gitee.com/monitoring-platform/phoenix.git</connection>
<developerConnection>scm:git:https://gitee.com/monitoring-platform/phoenix</developerConnection>
</scm>
<!-- 开发者 -->
<developers>
<developer>
<name>皮锋</name>
<organization>monitoring-platform</organization>
<email>709343767@qq.com</email>
<url>https://gitee.com/pifeng</url>
<roles>
<role>developer</role>
</roles>
<timezone>+8</timezone>
</developer>
</developers>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/xinyu_1996/phoenix.git
git@gitee.com:xinyu_1996/phoenix.git
xinyu_1996
phoenix
phoenix
master

搜索帮助