Compare commits

...

7 Commits

Author SHA1 Message Date
eson
cf3ae04b13 去掉SNAPSHOT 2022-06-28 14:42:35 +08:00
eson
6fd4b05af0 Merge branch 'release/v1.0.3' 2022-06-28 14:38:07 +08:00
eson
1a3c386274 修改 java版本17 -> 8 2022-06-28 14:37:29 +08:00
eson
72265193ca 修改Readme.md. 修改logback的一些不可见字符上问题 2022-06-27 13:45:52 +08:00
eson
5c6d98be29 start 1.0.3 2022-06-21 16:27:43 +08:00
eson
cd99c43254 修改 logback.xml 格式 2022-06-21 16:24:14 +08:00
eson
4dbd98be5f [maven-release-plugin] prepare for next development iteration 2022-06-20 16:05:04 +08:00
5 changed files with 11 additions and 9 deletions

View File

@ -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
View File

@ -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>

View File

@ -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();
}

View File

@ -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>

View File

@ -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)