1 Star 0 Fork 11

yangya/hhrpc

forked from 李飞/hhrpc 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pom.xml 6.69 KB
一键复制 编辑 原始数据 按行查看 历史
Li Fei 提交于 2024-05-10 01:31 . Step13:整合Apollo配置中心
<?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>io.gitee.hefren</groupId>
<artifactId>hhrpc</artifactId>
<version>${hhrpc.version}</version>
<name>hhrpc</name>
<description>hhrpc</description>
<packaging>pom</packaging>
<url>https://gitee.com/hefren/hhrpc</url>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<issueManagement>
<system>github</system>
<url>https://gitee.com/hefren/hhrpc/issues</url>
</issueManagement>
<scm>
<connection>scm:git:https://gitee.com/hefren/hhrpc.git</connection>
<developerConnection>scm:git:https://gitee.com/hefren/hhrpc.git</developerConnection>
<url>https://gitee.com/hefren/hhrpc</url>
</scm>
<developers>
<developer>
<name>hefrankeleyn</name>
<email>[email protected]</email>
<url>https://gitee.com/hefren/hhrpc</url>
</developer>
</developers>
<properties>
<java.version>17</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<springboot.version>3.2.3</springboot.version>
<maven-surefire-plugin.version>3.2.3</maven-surefire-plugin.version>
<junit.version>4.13.2</junit.version>
<hhrpc.version>0.0.1-SNAPSHOT</hhrpc.version>
</properties>
<modules>
<module>hhrpc-core</module>
<module>hhrpc-demo-api</module>
<module>hhrpc-demo-provider</module>
<module>hhrpc-demo-consumer</module>
</modules>
<build>
<plugins>
<!-- 将包扁平化 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.5.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>oss</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<goals>
<goal>flatten</goal>
</goals>
<phase>process-resources</phase>
</execution>
<execution>
<id>flatten.clean</id>
<goals>
<goal>clean</goal>
</goals>
<phase>clean</phase>
</execution>
</executions>
</plugin>
<!-- 打包源码-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.1.0</version>
<inherited>true</inherited>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<excludeResources>true</excludeResources>
<useDefaultExcludes>true</useDefaultExcludes>
</configuration>
</plugin>
<!-- 打包javadoc-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.0</version>
<inherited>true</inherited>
<executions>
<execution>
<id>bundle-sources</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<maxmemory>1024</maxmemory>
<encoding>UTF-8</encoding>
<show>protected</show>
<notree>true</notree>
<!-- Avoid running into Java 8's very restrictive doclint issues -->
<failOnError>false</failOnError>
<doclint>none</doclint>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<!-- 发布: https://central.sonatype.org/publish/publish-portal-maven/ -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.4.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<tokenAuth>true</tokenAuth>
<autoPublish>true</autoPublish>
<excludeArtifacts>
<excludeArtifact>hhrpc-demo-api</excludeArtifact>
<excludeArtifact>hhrpc-demo-provider</excludeArtifact>
<excludeArtifact>hhrpc-demo-consumer</excludeArtifact>
</excludeArtifacts>
</configuration>
</plugin>
<!-- GPG 签名-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yangya66/hhrpc.git
[email protected]:yangya66/hhrpc.git
yangya66
hhrpc
hhrpc
master

搜索帮助