Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apollo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
apollo
Commits
bd502e16
Commit
bd502e16
authored
Apr 16, 2016
by
Yiming Liu
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #101 from yiming187/build_fix
Fix spring test no logback config issue
parents
954a562e
a4adecda
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
81 additions
and
1 deletion
+81
-1
logback-test.xml
apollo-adminservice/src/test/resources/logback-test.xml
+16
-0
logback-test.xml
apollo-biz/src/test/resources/logback-test.xml
+16
-0
logback-test.xml
apollo-configservice/src/test/resources/logback-test.xml
+16
-0
logback-test.xml
apollo-portal/src/test/resources/logback-test.xml
+16
-0
pom.xml
pom.xml
+17
-1
No files found.
apollo-adminservice/src/test/resources/logback-test.xml
0 → 100644
View file @
bd502e16
<?xml version="1.0" encoding="UTF-8"?>
<configuration
scan=
"true"
>
<appender
name=
"CONSOLE"
class=
"ch.qos.logback.core.ConsoleAppender"
>
<encoder>
<charset>
utf-8
</charset>
<Pattern>
[%p] %c - %m%n
</Pattern>
</encoder>
</appender>
<logger
name=
"org.springframework.test"
level=
"OFF"
/>
<root
level=
"INFO"
>
<appender-ref
ref=
"CONSOLE"
/>
</root>
</configuration>
\ No newline at end of file
apollo-biz/src/test/resources/logback-test.xml
0 → 100644
View file @
bd502e16
<?xml version="1.0" encoding="UTF-8"?>
<configuration
scan=
"true"
>
<appender
name=
"CONSOLE"
class=
"ch.qos.logback.core.ConsoleAppender"
>
<encoder>
<charset>
utf-8
</charset>
<Pattern>
[%p] %c - %m%n
</Pattern>
</encoder>
</appender>
<logger
name=
"org.springframework.test"
level=
"OFF"
/>
<root
level=
"INFO"
>
<appender-ref
ref=
"CONSOLE"
/>
</root>
</configuration>
\ No newline at end of file
apollo-configservice/src/test/resources/logback-test.xml
0 → 100644
View file @
bd502e16
<?xml version="1.0" encoding="UTF-8"?>
<configuration
scan=
"true"
>
<appender
name=
"CONSOLE"
class=
"ch.qos.logback.core.ConsoleAppender"
>
<encoder>
<charset>
utf-8
</charset>
<Pattern>
[%p] %c - %m%n
</Pattern>
</encoder>
</appender>
<logger
name=
"org.springframework.test"
level=
"OFF"
/>
<root
level=
"INFO"
>
<appender-ref
ref=
"CONSOLE"
/>
</root>
</configuration>
\ No newline at end of file
apollo-portal/src/test/resources/logback-test.xml
0 → 100644
View file @
bd502e16
<?xml version="1.0" encoding="UTF-8"?>
<configuration
scan=
"true"
>
<appender
name=
"CONSOLE"
class=
"ch.qos.logback.core.ConsoleAppender"
>
<encoder>
<charset>
utf-8
</charset>
<Pattern>
[%p] %c - %m%n
</Pattern>
</encoder>
</appender>
<logger
name=
"org.springframework.test"
level=
"OFF"
/>
<root
level=
"INFO"
>
<appender-ref
ref=
"CONSOLE"
/>
</root>
</configuration>
\ No newline at end of file
pom.xml
View file @
bd502e16
...
...
@@ -137,6 +137,11 @@
<version>
19.0
</version>
</dependency>
<dependency>
<groupId>
ch.qos.logback
</groupId>
<artifactId>
logback-classic
</artifactId>
<version>
1.1.7
</version>
</dependency>
<dependency>
<groupId>
org.eclipse.jetty
</groupId>
<artifactId>
jetty-server
</artifactId>
<version>
${jetty.version}
</version>
...
...
@@ -252,6 +257,18 @@
<failOnError>
false
</failOnError>
</configuration>
</plugin>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
cobertura-maven-plugin
</artifactId>
<version>
2.7
</version>
<dependencies>
<dependency>
<groupId>
ch.qos.logback
</groupId>
<artifactId>
logback-classic
</artifactId>
<version>
1.1.7
</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
<plugins>
...
...
@@ -296,7 +313,6 @@
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
cobertura-maven-plugin
</artifactId>
<version>
2.7
</version>
<configuration>
<format>
xml
</format>
<maxmem>
256m
</maxmem>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment