添加: scm git pom.xml信息. 添加: README.md 说明
This commit is contained in:
parent
e6048df46a
commit
e8f5e36842
23
README.md
23
README.md
|
@ -15,7 +15,7 @@
|
||||||
- [createKeys方法 创建keys. 也可以使用 setWithCreate](#createkeys方法-创建keys-也可以使用-setwithcreate)
|
- [createKeys方法 创建keys. 也可以使用 setWithCreate](#createkeys方法-创建keys-也可以使用-setwithcreate)
|
||||||
- [remove方法. 删除key. 和map删除原理一样](#remove方法-删除key-和map删除原理一样)
|
- [remove方法. 删除key. 和map删除原理一样](#remove方法-删除key-和map删除原理一样)
|
||||||
- [非默认group.dataId方法](#非默认groupdataid方法)
|
- [非默认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
24
pom.xml
|
@ -2,7 +2,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.yuandian.common</groupId>
|
<groupId>com.yuandian.common</groupId>
|
||||||
<artifactId>config</artifactId>
|
<artifactId>config</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>config</name>
|
<name>config</name>
|
||||||
<url>http://yuandian.com</url>
|
<url>http://yuandian.com</url>
|
||||||
|
@ -63,6 +63,14 @@
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</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>
|
<distributionManagement>
|
||||||
<snapshotRepository>
|
<snapshotRepository>
|
||||||
|
@ -77,7 +85,21 @@
|
||||||
</repository>
|
</repository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
<build>
|
<build>
|
||||||
|
|
||||||
|
|
||||||
<plugins>
|
<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>
|
<plugin>
|
||||||
<groupId>org.sonatype.plugins</groupId>
|
<groupId>org.sonatype.plugins</groupId>
|
||||||
<artifactId>nxrm3-maven-plugin</artifactId>
|
<artifactId>nxrm3-maven-plugin</artifactId>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user