diff --git a/README.md b/README.md
index ee83c6dd..9151fe15 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ Java Dns Cache Manipulator(DCM)
[](https://coveralls.io/r/alibaba/java-dns-cache-manipulator?branch=master)
[](https://maven-badges.herokuapp.com/maven-central/com.alibaba/dns-cache-manipulator/)
[](https://github.com/alibaba/java-dns-cache-manipulator/releases)
-[](https://www.versioneye.com/user/projects/553a2f981d2989f7ee0000a7)
+[](https://www.versioneye.com/user/projects/55eb1377a65c8c000e044a1c)
[](https://github.com/alibaba/java-dns-cache-manipulator/issues)
[](https://www.apache.org/licenses/LICENSE-2.0.html)
diff --git a/library/README.md b/library/README.md
index 5ce601a3..38b75205 100644
--- a/library/README.md
+++ b/library/README.md
@@ -6,7 +6,7 @@ Java Dns Cache Manipulator(DCM) Library
[](https://coveralls.io/r/alibaba/java-dns-cache-manipulator?branch=master)
[](https://maven-badges.herokuapp.com/maven-central/com.alibaba/dns-cache-manipulator/)
[](https://github.com/alibaba/java-dns-cache-manipulator/releases)
-[](https://www.versioneye.com/user/projects/553a2f981d2989f7ee0000a7)
+[](https://www.versioneye.com/user/projects/55eb1371a65c8c000e0449d3)
[](https://github.com/alibaba/java-dns-cache-manipulator/issues)
[](https://www.apache.org/licenses/LICENSE-2.0.html)
@@ -53,7 +53,7 @@ Java Dns Cache Manipulator(DCM) Library
```java
DnsCacheManipulator.setDnsCache("www.hello.com", "192.168.1.1");
-DnsCacheManipulator.setDnsCache("www.world.com", "1234:5678:0:0:0:0:0:200e"); // 支持IPv6设备
+DnsCacheManipulator.setDnsCache("www.world.com", "1234:5678:0:0:0:0:0:200e"); // 支持IPv6地址
// 之后Java代码中使用到域名都会解析成上面指定的IP。
// 下面是一个简单获取域名对应的IP,演示一下:
@@ -200,7 +200,7 @@ PS:
com.alibaba
dns-cache-manipulator
- 1.4.1
+ 1.5.0
```
diff --git a/library/pom.xml b/library/pom.xml
index 4bd0bd3f..977d81a3 100644
--- a/library/pom.xml
+++ b/library/pom.xml
@@ -4,7 +4,7 @@
com.alibaba
dns-cache-manipulator
- 1.5.0-SNAPSHOT
+ 1.6.0-SNAPSHOT
jar
Java Dns Cache Manipulator(DCM) Lib
A simple 0-dependency thread-safe lib for setting dns programmatically without touching host file, make unit/integration test portable.
@@ -111,7 +111,7 @@
org.sonatype.plugins
nexus-staging-maven-plugin
- 1.6.5
+ 1.6.6
true
ossrh
@@ -119,6 +119,14 @@
true
+
+ com.versioneye
+ versioneye-maven-plugin
+ 3.5.1
+
+ ${basedir}/versioneye.properties
+
+
@@ -145,7 +153,7 @@
org.eluder.coveralls
coveralls-maven-plugin
- 3.1.0
+ 4.0.0
diff --git a/library/src/test/java/com/alibaba/dcm/internal/IpParserUtilTest.java b/library/src/test/java/com/alibaba/dcm/internal/IpParserUtilTest.java
index d555db35..42efbb09 100644
--- a/library/src/test/java/com/alibaba/dcm/internal/IpParserUtilTest.java
+++ b/library/src/test/java/com/alibaba/dcm/internal/IpParserUtilTest.java
@@ -63,7 +63,7 @@ public void test_ip2ByteArray_ipv4_exception() throws Exception {
@Test
public void test_ip2ByteArray_ipv6_exception() throws Exception {
- // ipv4 with char
+ // ipv6 with char
try {
IpParserUtil.ip2ByteArray("2404:6800:4005:80a:0:0:0:200z");
fail();
@@ -71,7 +71,7 @@ public void test_ip2ByteArray_ipv6_exception() throws Exception {
expected.printStackTrace();
}
- // ipv4_minus
+ // ipv6 minus
try {
IpParserUtil.ip2ByteArray("-2404:6800:4005:80a:0:0:0:200e");
fail();
@@ -79,7 +79,7 @@ public void test_ip2ByteArray_ipv6_exception() throws Exception {
expected.printStackTrace();
}
- // ipv4 too long
+ // ipv6 too long
try {
IpParserUtil.ip2ByteArray("2404:6800:4005:80a:0:0:0:200:123");
fail();
diff --git a/library/versioneye.properties b/library/versioneye.properties
new file mode 100644
index 00000000..93cf6263
--- /dev/null
+++ b/library/versioneye.properties
@@ -0,0 +1,3 @@
+# Properties for http://www.VersionEye.com
+#Sun Sep 06 00:08:18 CST 2015
+project_id=55eb1371a65c8c000e0449d3
diff --git a/pom.xml b/pom.xml
index cee780fb..b7ec718e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.alibaba
dns-cache-manipulator-parent
- 1.5.0-SNAPSHOT
+ 1.6.0-SNAPSHOT
pom
${project.artifactId}
2015
@@ -39,6 +39,19 @@
UTF-8
+
+
+
+ com.versioneye
+ versioneye-maven-plugin
+ 3.5.1
+
+ ${basedir}/versioneye.properties
+
+
+
+
+
travis
@@ -63,7 +76,7 @@
org.eluder.coveralls
coveralls-maven-plugin
- 3.1.0
+ 4.0.0
diff --git a/tool/README.md b/tool/README.md
index 1870ef98..b5bb4dd5 100644
--- a/tool/README.md
+++ b/tool/README.md
@@ -5,7 +5,7 @@ Java Dns Cache Manipulator Tool
[](https://ci.appveyor.com/project/oldratlee/java-dns-cache-manipulator)
[](https://coveralls.io/r/alibaba/java-dns-cache-manipulator?branch=master)
[](https://github.com/alibaba/java-dns-cache-manipulator/releases)
-[](https://www.versioneye.com/user/projects/553a2f981d2989f7ee0000a7)
+[](https://www.versioneye.com/user/projects/55eb1374a65c8c000e0449fb)
[](https://github.com/alibaba/java-dns-cache-manipulator/issues)
[](https://www.apache.org/licenses/LICENSE-2.0.html)
@@ -26,7 +26,7 @@ Java Dns Cache Manipulator Tool
下载
----------
-在[项目Release页面](https://github.com/alibaba/java-dns-cache-manipulator/releases)下载文件`dcm-tool-x.x.x.tar.gz`。
+在[项目Release页面](https://github.com/alibaba/java-dns-cache-manipulator/releases)下载文件`dcm-x.x.x.tar.gz`。
解压后,运行`bin`目录下的`dcm`脚本(`Shell脚本`)。
diff --git a/tool/pom.xml b/tool/pom.xml
index 3eb4098f..f080bde4 100644
--- a/tool/pom.xml
+++ b/tool/pom.xml
@@ -4,7 +4,7 @@
com.alibaba
dns-cache-manipulator-tool
- 1.5.0-SNAPSHOT
+ 1.6.0-SNAPSHOT
jar
Java Dns Cache Manipulator(DCM) Tool
2015
@@ -26,7 +26,7 @@
commons-cli
commons-cli
- 1.3
+ 1.3.1
commons-io
@@ -80,7 +80,11 @@
maven-assembly-plugin
- 2.5.4
+ 2.5.5
+
+ dcm-${project.version}
+ false
+
tgz-assembly
@@ -96,6 +100,14 @@
+
+ com.versioneye
+ versioneye-maven-plugin
+ 3.5.1
+
+ ${basedir}/versioneye.properties
+
+
@@ -123,7 +135,7 @@
org.eluder.coveralls
coveralls-maven-plugin
- 3.1.0
+ 4.0.0
diff --git a/tool/versioneye.properties b/tool/versioneye.properties
new file mode 100644
index 00000000..a76c552e
--- /dev/null
+++ b/tool/versioneye.properties
@@ -0,0 +1,3 @@
+# Properties for http://www.VersionEye.com
+#Sun Sep 06 00:08:18 CST 2015
+project_id=55eb1374a65c8c000e0449fb
diff --git a/versioneye.properties b/versioneye.properties
new file mode 100644
index 00000000..cd0deede
--- /dev/null
+++ b/versioneye.properties
@@ -0,0 +1,3 @@
+# Properties for http://www.VersionEye.com
+#Sun Sep 06 00:08:18 CST 2015
+project_id=55eb1377a65c8c000e044a1c