Skip to content

Commit b239321

Browse files
committed
format xml files
1 parent 6f816b5 commit b239321

File tree

2 files changed

+84
-98
lines changed

2 files changed

+84
-98
lines changed

pom.xml

Lines changed: 83 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -1,97 +1,85 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
3-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5-
6-
<modelVersion>4.0.0</modelVersion>
7-
8-
<parent>
9-
<groupId>cn.yusiwen</groupId>
10-
<artifactId>java-base-parent</artifactId>
11-
<version>6</version>
12-
<relativePath /> <!-- lookup parent from repository -->
13-
</parent>
14-
15-
<artifactId>nettymvc</artifactId>
16-
<version>1.0.0-SNAPSHOT</version>
17-
18-
<name>nettymvc</name>
19-
<description>Netty MVC</description>
20-
<url>https://github.com/yusiwen/nettymvc</url>
21-
22-
<licenses>
23-
<license>
24-
<name>The Apache Software License, Version 2.0</name>
25-
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
26-
</license>
27-
</licenses>
28-
29-
<scm>
30-
<connection>scm:git:https:github.com/yusiwen/${project.artifactId}.git</connection>
31-
<developerConnection>scm:git:https:github.com/yusiwen/${project.artifactId}.git</developerConnection>
32-
<url>https:github.com/yusiwen/${project.artifactId}</url>
33-
<tag>HEAD</tag>
34-
</scm>
35-
36-
<developers>
37-
<developer>
38-
<name>Siwen Yu</name>
39-
<email>[email protected]</email>
40-
<roles>
41-
<role>developer</role>
42-
</roles>
43-
<timezone>+8</timezone>
44-
</developer>
45-
</developers>
46-
47-
<properties>
48-
<netty.version>4.1.79.Final</netty.version>
49-
<caffeine.verison>2.9.3</caffeine.verison>
50-
<reactor.version>3.4.21</reactor.version>
51-
<slf4j.version>1.7.36</slf4j.version>
52-
<spring.version>5.3.22</spring.version>
53-
</properties>
54-
55-
<dependencies>
56-
<dependency>
57-
<groupId>org.slf4j</groupId>
58-
<artifactId>slf4j-api</artifactId>
59-
<version>${slf4j.version}</version>
60-
</dependency>
61-
<dependency>
62-
<groupId>io.netty</groupId>
63-
<artifactId>netty-handler</artifactId>
64-
<version>${netty.version}</version>
65-
</dependency>
66-
<dependency>
67-
<groupId>com.github.ben-manes.caffeine</groupId>
68-
<artifactId>caffeine</artifactId>
69-
<version>${caffeine.verison}</version>
70-
</dependency>
71-
<dependency>
72-
<groupId>io.projectreactor</groupId>
73-
<artifactId>reactor-core</artifactId>
74-
<version>${reactor.version}</version>
75-
</dependency>
76-
<dependency>
77-
<groupId>org.springframework</groupId>
78-
<artifactId>spring-context</artifactId>
79-
<version>${spring.version}</version>
80-
<scope>provided</scope>
81-
</dependency>
82-
83-
<dependency>
84-
<groupId>org.apache.logging.log4j</groupId>
85-
<artifactId>log4j-slf4j-impl</artifactId>
86-
<version>2.17.2</version>
87-
<scope>test</scope>
88-
</dependency>
89-
<dependency>
90-
<groupId>org.apache.logging.log4j</groupId>
91-
<artifactId>log4j-core</artifactId>
92-
<version>2.17.2</version>
93-
<scope>test</scope>
94-
</dependency>
95-
</dependencies>
96-
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<parent>
5+
<groupId>cn.yusiwen</groupId>
6+
<artifactId>java-base-parent</artifactId>
7+
<version>6</version>
8+
<relativePath/>
9+
<!-- lookup parent from repository -->
10+
</parent>
11+
<artifactId>nettymvc</artifactId>
12+
<version>1.0.0-SNAPSHOT</version>
13+
<name>nettymvc</name>
14+
<description>Netty MVC</description>
15+
<url>https://github.com/yusiwen/nettymvc</url>
16+
<licenses>
17+
<license>
18+
<name>The Apache Software License, Version 2.0</name>
19+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
20+
</license>
21+
</licenses>
22+
<scm>
23+
<connection>scm:git:https:github.com/yusiwen/${project.artifactId}.git</connection>
24+
<developerConnection>scm:git:https:github.com/yusiwen/${project.artifactId}.git</developerConnection>
25+
<url>https:github.com/yusiwen/${project.artifactId}</url>
26+
<tag>HEAD</tag>
27+
</scm>
28+
<developers>
29+
<developer>
30+
<name>Siwen Yu</name>
31+
<email>[email protected]</email>
32+
<roles>
33+
<role>developer</role>
34+
</roles>
35+
<timezone>+8</timezone>
36+
</developer>
37+
</developers>
38+
<properties>
39+
<netty.version>4.1.79.Final</netty.version>
40+
<caffeine.verison>2.9.3</caffeine.verison>
41+
<reactor.version>3.4.21</reactor.version>
42+
<slf4j.version>1.7.36</slf4j.version>
43+
<spring.version>5.3.22</spring.version>
44+
</properties>
45+
<dependencies>
46+
<dependency>
47+
<groupId>org.slf4j</groupId>
48+
<artifactId>slf4j-api</artifactId>
49+
<version>${slf4j.version}</version>
50+
</dependency>
51+
<dependency>
52+
<groupId>io.netty</groupId>
53+
<artifactId>netty-handler</artifactId>
54+
<version>${netty.version}</version>
55+
</dependency>
56+
<dependency>
57+
<groupId>com.github.ben-manes.caffeine</groupId>
58+
<artifactId>caffeine</artifactId>
59+
<version>${caffeine.verison}</version>
60+
</dependency>
61+
<dependency>
62+
<groupId>io.projectreactor</groupId>
63+
<artifactId>reactor-core</artifactId>
64+
<version>${reactor.version}</version>
65+
</dependency>
66+
<dependency>
67+
<groupId>org.springframework</groupId>
68+
<artifactId>spring-context</artifactId>
69+
<version>${spring.version}</version>
70+
<scope>provided</scope>
71+
</dependency>
72+
<dependency>
73+
<groupId>org.apache.logging.log4j</groupId>
74+
<artifactId>log4j-slf4j-impl</artifactId>
75+
<version>2.17.2</version>
76+
<scope>test</scope>
77+
</dependency>
78+
<dependency>
79+
<groupId>org.apache.logging.log4j</groupId>
80+
<artifactId>log4j-core</artifactId>
81+
<version>2.17.2</version>
82+
<scope>test</scope>
83+
</dependency>
84+
</dependencies>
9785
</project>

src/test/resources/log4j2.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Configuration status="WARN">
3-
43
<Appenders>
54
<Console name="Console" target="SYSTEM_OUT">
65
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t][%-5p][%c{3}][%L]%msg%n"/>
76
</Console>
87
</Appenders>
9-
108
<Loggers>
119
<Root level="info">
1210
<AppenderRef ref="Console"/>
1311
</Root>
1412
</Loggers>
15-
</Configuration>
13+
</Configuration>

0 commit comments

Comments
 (0)