From a4adecdaa2cac56a00362410d7813ce6c9346d6b Mon Sep 17 00:00:00 2001 From: Yiming Liu Date: Sat, 16 Apr 2016 10:08:24 +0800 Subject: [PATCH] Fix spring test no logback config issue --- .../src/test/resources/logback-test.xml | 15 +++++++++++++++ apollo-biz/src/test/resources/logback-test.xml | 15 +++++++++++++++ .../src/test/resources/logback-test.xml | 15 +++++++++++++++ .../src/test/resources/logback-test.xml | 15 +++++++++++++++ pom.xml | 18 +++++++++++++++++- 5 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 apollo-adminservice/src/test/resources/logback-test.xml create mode 100644 apollo-biz/src/test/resources/logback-test.xml create mode 100644 apollo-configservice/src/test/resources/logback-test.xml create mode 100644 apollo-portal/src/test/resources/logback-test.xml diff --git a/apollo-adminservice/src/test/resources/logback-test.xml b/apollo-adminservice/src/test/resources/logback-test.xml new file mode 100644 index 000000000..9d289de3b --- /dev/null +++ b/apollo-adminservice/src/test/resources/logback-test.xml @@ -0,0 +1,15 @@ + + + + + utf-8 + [%p] %c - %m%n + + + + + + + + + \ No newline at end of file diff --git a/apollo-biz/src/test/resources/logback-test.xml b/apollo-biz/src/test/resources/logback-test.xml new file mode 100644 index 000000000..9d289de3b --- /dev/null +++ b/apollo-biz/src/test/resources/logback-test.xml @@ -0,0 +1,15 @@ + + + + + utf-8 + [%p] %c - %m%n + + + + + + + + + \ No newline at end of file diff --git a/apollo-configservice/src/test/resources/logback-test.xml b/apollo-configservice/src/test/resources/logback-test.xml new file mode 100644 index 000000000..9d289de3b --- /dev/null +++ b/apollo-configservice/src/test/resources/logback-test.xml @@ -0,0 +1,15 @@ + + + + + utf-8 + [%p] %c - %m%n + + + + + + + + + \ No newline at end of file diff --git a/apollo-portal/src/test/resources/logback-test.xml b/apollo-portal/src/test/resources/logback-test.xml new file mode 100644 index 000000000..9d289de3b --- /dev/null +++ b/apollo-portal/src/test/resources/logback-test.xml @@ -0,0 +1,15 @@ + + + + + utf-8 + [%p] %c - %m%n + + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 9fc030794..c43185a2d 100644 --- a/pom.xml +++ b/pom.xml @@ -136,6 +136,11 @@ guava 19.0 + + ch.qos.logback + logback-classic + 1.1.7 + org.eclipse.jetty jetty-server @@ -252,6 +257,18 @@ false + + org.codehaus.mojo + cobertura-maven-plugin + 2.7 + + + ch.qos.logback + logback-classic + 1.1.7 + + + @@ -296,7 +313,6 @@ org.codehaus.mojo cobertura-maven-plugin - 2.7 xml 256m -- GitLab