Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
cf3ae04b13 | ||
|
6fd4b05af0 | ||
|
1a3c386274 | ||
|
72265193ca | ||
|
5c6d98be29 | ||
|
cd99c43254 | ||
|
4dbd98be5f |
|
@ -191,5 +191,7 @@ Config.UseConfig("org.fortest", (cnf)->{
|
|||
http://mvn.yuandian.com/repository/maven-releases
|
||||
http://mvn.yuandian.com/repository/maven-snapshots
|
||||
|
||||
如: 192.168.1.113 mvn.yuandian.com
|
||||
|
||||
如: host上修改 192.168.1.113 mvn.yuandian.com
|
||||
如: dns服务器指向 192.168.1.113
|
||||
```
|
||||
|
|
11
pom.xml
11
pom.xml
|
@ -2,15 +2,15 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.yuandian.common</groupId>
|
||||
<artifactId>config</artifactId>
|
||||
<version>1.0.1</version>
|
||||
<version>1.0.3</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>config</name>
|
||||
<url>http://yuandian.com</url>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>17</maven.compiler.target>
|
||||
<java.version>17</java.version>
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
<java.version>8</java.version>
|
||||
<nacos.version>2.1.0</nacos.version>
|
||||
<snakeyaml.version>1.30</snakeyaml.version>
|
||||
<logback.version>1.2.11</logback.version>
|
||||
|
@ -69,10 +69,9 @@
|
|||
<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>
|
||||
<tag>v1.0.1</tag>
|
||||
<tag>HEAD</tag>
|
||||
</scm>
|
||||
|
||||
|
||||
<distributionManagement>
|
||||
<snapshotRepository>
|
||||
<id>yuandian-nexus</id>
|
||||
|
|
|
@ -25,6 +25,7 @@ import com.alibaba.nacos.api.exception.NacosException;
|
|||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import lombok.var;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
/**
|
||||
|
@ -358,7 +359,6 @@ public class Config {
|
|||
return null;
|
||||
});
|
||||
} catch (Exception e) {
|
||||
//TODO: handle exception
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>
|
||||
%d{yyyyMMdd HH:mm:ss.SSS} %-5level[%thread\(%file:%line\)]: %msg%n
|
||||
%d{yyyyMMdd HH:mm:ss.SSS} %-5level%thread\(%file:%line\): %msg%n
|
||||
</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
|
|
@ -13,6 +13,7 @@ import org.junit.jupiter.api.TestMethodOrder;
|
|||
|
||||
import com.alibaba.nacos.api.exception.NacosException;
|
||||
|
||||
import lombok.var;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
@Slf4j
|
||||
@TestMethodOrder(OrderAnnotation.class)
|
||||
|
|
Loading…
Reference in New Issue
Block a user