添加: scm git pom.xml信息. 添加: README.md 说明

This commit is contained in:
eson 2022-06-20 16:04:06 +08:00
parent e6048df46a
commit e8f5e36842
2 changed files with 43 additions and 4 deletions

View File

@ -15,7 +15,7 @@
- [createKeys方法 创建keys. 也可以使用 setWithCreate](#createkeys方法-创建keys-也可以使用-setwithcreate)
- [remove方法. 删除key. 和map删除原理一样](#remove方法-删除key-和map删除原理一样)
- [非默认group.dataId方法](#非默认groupdataid方法)
- [Usage](#usage)
- [开发者](#开发者)
## 关于
@ -173,6 +173,23 @@ Config.UseConfig("org.fortest", (cnf)->{
## Usage
## 开发者
Add notes about how to use the system.
需要在settings.xml
```xml
<server>
<id>yuandian-nexus</id>
<username>${帐号}</username>
<password>${密码}</password>
</server>
```
设置好公司nexus域名
```txt
http://mvn.yuandian.com/repository/maven-releases
http://mvn.yuandian.com/repository/maven-snapshots
如: 192.168.1.113 mvn.yuandian.com
```

24
pom.xml
View File

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.yuandian.common</groupId>
<artifactId>config</artifactId>
<version>1.0.0</version>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>config</name>
<url>http://yuandian.com</url>
@ -63,6 +63,14 @@
<scope>provided</scope>
</dependency>
</dependencies>
<scm>
<connection>scm:git:http://git.yuandian.com/project/yd-common-config.git</connection>
<url>http://git.yuandian.com/project/yd-common-config.git</url>
<developerConnection>scm:git:http://git.yuandian.com/project/yd-common-config.git</developerConnection>
</scm>
<distributionManagement>
<snapshotRepository>
@ -77,7 +85,21 @@
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<tagNameFormat>v@{project.version}</tagNameFormat>
<autoVersionSubmodules>true</autoVersionSubmodules>
<releaseProfiles>releases</releaseProfiles>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nxrm3-maven-plugin</artifactId>