|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
3 |
| - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 |
| - <modelVersion>4.0.0</modelVersion> |
5 |
| - <parent> |
6 |
| - <groupId>org.springframework.boot</groupId> |
7 |
| - <artifactId>spring-boot-starter-parent</artifactId> |
8 |
| - <version>2.2.7.RELEASE</version> |
9 |
| - <relativePath/> <!-- lookup parent from repository --> |
10 |
| - </parent> |
11 |
| - <groupId>com.yoyling</groupId> |
12 |
| - <artifactId>blog-api</artifactId> |
13 |
| - <version>0.0.1</version> |
14 |
| - <name>blog-api</name> |
15 |
| - <url>https://yoyling.com/</url> |
16 |
| - <description>Blog API</description> |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + <parent> |
| 6 | + <groupId>org.springframework.boot</groupId> |
| 7 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 8 | + <version>2.2.7.RELEASE</version> |
| 9 | + <relativePath/> <!-- lookup parent from repository --> |
| 10 | + </parent> |
| 11 | + <groupId>com.rawchen</groupId> |
| 12 | + <artifactId>blog-api</artifactId> |
| 13 | + <version>0.0.1</version> |
| 14 | + <name>blog-api</name> |
| 15 | + <url>https://rawchen.com/</url> |
| 16 | + <description>Blog API</description> |
17 | 17 |
|
18 |
| - <properties> |
19 |
| - <java.version>1.8</java.version> |
20 |
| - <maven.compiler.target>1.8</maven.compiler.target> |
21 |
| - <maven.compiler.source>1.8</maven.compiler.source> |
22 |
| - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
23 |
| - </properties> |
| 18 | + <properties> |
| 19 | + <java.version>1.8</java.version> |
| 20 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 21 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 22 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 23 | + </properties> |
24 | 24 |
|
25 |
| - <dependencies> |
26 |
| - <!-- spring web --> |
27 |
| - <dependency> |
28 |
| - <groupId>org.springframework.boot</groupId> |
29 |
| - <artifactId>spring-boot-starter-web</artifactId> |
30 |
| - </dependency> |
31 |
| - <!-- spring security --> |
32 |
| - <dependency> |
33 |
| - <groupId>org.springframework.boot</groupId> |
34 |
| - <artifactId>spring-boot-starter-security</artifactId> |
35 |
| - </dependency> |
36 |
| - <!-- spring aop --> |
37 |
| - <dependency> |
38 |
| - <groupId>org.springframework.boot</groupId> |
39 |
| - <artifactId>spring-boot-starter-aop</artifactId> |
40 |
| - </dependency> |
41 |
| - <!-- mybatis --> |
42 |
| - <dependency> |
43 |
| - <groupId>org.mybatis.spring.boot</groupId> |
44 |
| - <artifactId>mybatis-spring-boot-starter</artifactId> |
45 |
| - <version>2.1.3</version> |
46 |
| - </dependency> |
47 |
| - <!-- mybatis分页插件 --> |
48 |
| - <dependency> |
49 |
| - <groupId>com.github.pagehelper</groupId> |
50 |
| - <artifactId>pagehelper-spring-boot-starter</artifactId> |
51 |
| - <version>1.2.12</version> |
52 |
| - </dependency> |
53 |
| - <!-- mysql --> |
54 |
| - <dependency> |
55 |
| - <groupId>mysql</groupId> |
56 |
| - <artifactId>mysql-connector-java</artifactId> |
57 |
| - <scope>runtime</scope> |
58 |
| - </dependency> |
59 |
| - <!-- lombok --> |
60 |
| - <dependency> |
61 |
| - <groupId>org.projectlombok</groupId> |
62 |
| - <artifactId>lombok</artifactId> |
63 |
| - <optional>true</optional> |
64 |
| - </dependency> |
65 |
| - <!-- jwt --> |
66 |
| - <dependency> |
67 |
| - <groupId>io.jsonwebtoken</groupId> |
68 |
| - <artifactId>jjwt</artifactId> |
69 |
| - <version>0.9.1</version> |
70 |
| - </dependency> |
71 |
| - <!-- Markdown 转 HTML --> |
72 |
| - <dependency> |
73 |
| - <groupId>com.atlassian.commonmark</groupId> |
74 |
| - <artifactId>commonmark</artifactId> |
75 |
| - <version>0.15.2</version> |
76 |
| - </dependency> |
77 |
| - <dependency> |
78 |
| - <groupId>com.atlassian.commonmark</groupId> |
79 |
| - <artifactId>commonmark-ext-heading-anchor</artifactId> |
80 |
| - <version>0.15.2</version> |
81 |
| - </dependency> |
82 |
| - <dependency> |
83 |
| - <groupId>com.atlassian.commonmark</groupId> |
84 |
| - <artifactId>commonmark-ext-gfm-tables</artifactId> |
85 |
| - <version>0.15.2</version> |
86 |
| - </dependency> |
87 |
| - <dependency> |
88 |
| - <groupId>com.atlassian.commonmark</groupId> |
89 |
| - <artifactId>commonmark-ext-gfm-strikethrough</artifactId> |
90 |
| - <version>0.15.2</version> |
91 |
| - </dependency> |
92 |
| - <dependency> |
93 |
| - <groupId>com.atlassian.commonmark</groupId> |
94 |
| - <artifactId>commonmark-ext-task-list-items</artifactId> |
95 |
| - <version>0.15.2</version> |
96 |
| - </dependency> |
97 |
| - <!-- redis --> |
98 |
| - <dependency> |
99 |
| - <groupId>org.springframework.boot</groupId> |
100 |
| - <artifactId>spring-boot-starter-data-redis</artifactId> |
101 |
| - </dependency> |
102 |
| - <!-- mail --> |
103 |
| - <dependency> |
104 |
| - <groupId>org.springframework.boot</groupId> |
105 |
| - <artifactId>spring-boot-starter-mail</artifactId> |
106 |
| - </dependency> |
107 |
| - <!-- quartz --> |
108 |
| - <dependency> |
109 |
| - <groupId>org.springframework.boot</groupId> |
110 |
| - <artifactId>spring-boot-starter-quartz</artifactId> |
111 |
| - </dependency> |
112 |
| - <!-- ip2region --> |
113 |
| - <dependency> |
114 |
| - <groupId>org.lionsoul</groupId> |
115 |
| - <artifactId>ip2region</artifactId> |
116 |
| - <version>1.7.2</version> |
117 |
| - </dependency> |
118 |
| - <!-- 解析客户端操作系统、浏览器 --> |
119 |
| - <dependency> |
120 |
| - <groupId>nl.basjes.parse.useragent</groupId> |
121 |
| - <artifactId>yauaa</artifactId> |
122 |
| - <version>5.20</version> |
123 |
| - </dependency> |
| 25 | + <dependencies> |
| 26 | + <!-- spring web --> |
| 27 | + <dependency> |
| 28 | + <groupId>org.springframework.boot</groupId> |
| 29 | + <artifactId>spring-boot-starter-web</artifactId> |
| 30 | + </dependency> |
| 31 | + <!-- spring security --> |
| 32 | + <dependency> |
| 33 | + <groupId>org.springframework.boot</groupId> |
| 34 | + <artifactId>spring-boot-starter-security</artifactId> |
| 35 | + </dependency> |
| 36 | + <!-- spring aop --> |
| 37 | + <dependency> |
| 38 | + <groupId>org.springframework.boot</groupId> |
| 39 | + <artifactId>spring-boot-starter-aop</artifactId> |
| 40 | + </dependency> |
| 41 | + <!-- mybatis --> |
| 42 | + <dependency> |
| 43 | + <groupId>org.mybatis.spring.boot</groupId> |
| 44 | + <artifactId>mybatis-spring-boot-starter</artifactId> |
| 45 | + <version>2.1.3</version> |
| 46 | + </dependency> |
| 47 | + <!-- mybatis分页插件 --> |
| 48 | + <dependency> |
| 49 | + <groupId>com.github.pagehelper</groupId> |
| 50 | + <artifactId>pagehelper-spring-boot-starter</artifactId> |
| 51 | + <version>1.2.12</version> |
| 52 | + </dependency> |
| 53 | + <!-- mysql --> |
| 54 | + <dependency> |
| 55 | + <groupId>mysql</groupId> |
| 56 | + <artifactId>mysql-connector-java</artifactId> |
| 57 | + <scope>runtime</scope> |
| 58 | + </dependency> |
| 59 | + <!-- lombok --> |
| 60 | + <dependency> |
| 61 | + <groupId>org.projectlombok</groupId> |
| 62 | + <artifactId>lombok</artifactId> |
| 63 | + <optional>true</optional> |
| 64 | + </dependency> |
| 65 | + <!-- jwt --> |
| 66 | + <dependency> |
| 67 | + <groupId>io.jsonwebtoken</groupId> |
| 68 | + <artifactId>jjwt</artifactId> |
| 69 | + <version>0.9.1</version> |
| 70 | + </dependency> |
| 71 | + <!-- Markdown 转 HTML --> |
| 72 | + <dependency> |
| 73 | + <groupId>com.atlassian.commonmark</groupId> |
| 74 | + <artifactId>commonmark</artifactId> |
| 75 | + <version>0.15.2</version> |
| 76 | + </dependency> |
| 77 | + <dependency> |
| 78 | + <groupId>com.atlassian.commonmark</groupId> |
| 79 | + <artifactId>commonmark-ext-heading-anchor</artifactId> |
| 80 | + <version>0.15.2</version> |
| 81 | + </dependency> |
| 82 | + <dependency> |
| 83 | + <groupId>com.atlassian.commonmark</groupId> |
| 84 | + <artifactId>commonmark-ext-gfm-tables</artifactId> |
| 85 | + <version>0.15.2</version> |
| 86 | + </dependency> |
| 87 | + <dependency> |
| 88 | + <groupId>com.atlassian.commonmark</groupId> |
| 89 | + <artifactId>commonmark-ext-gfm-strikethrough</artifactId> |
| 90 | + <version>0.15.2</version> |
| 91 | + </dependency> |
| 92 | + <dependency> |
| 93 | + <groupId>com.atlassian.commonmark</groupId> |
| 94 | + <artifactId>commonmark-ext-task-list-items</artifactId> |
| 95 | + <version>0.15.2</version> |
| 96 | + </dependency> |
| 97 | + <!-- redis --> |
| 98 | + <dependency> |
| 99 | + <groupId>org.springframework.boot</groupId> |
| 100 | + <artifactId>spring-boot-starter-data-redis</artifactId> |
| 101 | + </dependency> |
| 102 | + <!-- mail --> |
| 103 | + <dependency> |
| 104 | + <groupId>org.springframework.boot</groupId> |
| 105 | + <artifactId>spring-boot-starter-mail</artifactId> |
| 106 | + </dependency> |
| 107 | + <!-- quartz --> |
| 108 | + <dependency> |
| 109 | + <groupId>org.springframework.boot</groupId> |
| 110 | + <artifactId>spring-boot-starter-quartz</artifactId> |
| 111 | + </dependency> |
| 112 | + <!-- ip2region --> |
| 113 | + <dependency> |
| 114 | + <groupId>org.lionsoul</groupId> |
| 115 | + <artifactId>ip2region</artifactId> |
| 116 | + <version>1.7.2</version> |
| 117 | + </dependency> |
| 118 | + <!-- 解析客户端操作系统、浏览器 --> |
| 119 | + <dependency> |
| 120 | + <groupId>nl.basjes.parse.useragent</groupId> |
| 121 | + <artifactId>yauaa</artifactId> |
| 122 | + <version>5.20</version> |
| 123 | + </dependency> |
124 | 124 |
|
125 |
| - <!-- devtools --> |
126 |
| - <dependency> |
127 |
| - <groupId>org.springframework.boot</groupId> |
128 |
| - <artifactId>spring-boot-devtools</artifactId> |
129 |
| - <scope>runtime</scope> |
130 |
| - <optional>true</optional> |
131 |
| - </dependency> |
132 |
| - <dependency> |
133 |
| - <groupId>org.springframework.boot</groupId> |
134 |
| - <artifactId>spring-boot-starter-test</artifactId> |
135 |
| - <scope>test</scope> |
136 |
| - <exclusions> |
137 |
| - <exclusion> |
138 |
| - <groupId>org.junit.vintage</groupId> |
139 |
| - <artifactId>junit-vintage-engine</artifactId> |
140 |
| - </exclusion> |
141 |
| - </exclusions> |
142 |
| - </dependency> |
| 125 | + <!-- devtools --> |
| 126 | + <dependency> |
| 127 | + <groupId>org.springframework.boot</groupId> |
| 128 | + <artifactId>spring-boot-devtools</artifactId> |
| 129 | + <scope>runtime</scope> |
| 130 | + <optional>true</optional> |
| 131 | + </dependency> |
| 132 | + <dependency> |
| 133 | + <groupId>org.springframework.boot</groupId> |
| 134 | + <artifactId>spring-boot-starter-test</artifactId> |
| 135 | + <scope>test</scope> |
| 136 | + <exclusions> |
| 137 | + <exclusion> |
| 138 | + <groupId>org.junit.vintage</groupId> |
| 139 | + <artifactId>junit-vintage-engine</artifactId> |
| 140 | + </exclusion> |
| 141 | + </exclusions> |
| 142 | + </dependency> |
143 | 143 |
|
144 |
| - <!-- thymeleaf模板引擎 --> |
145 |
| - <dependency> |
146 |
| - <groupId>org.springframework.boot</groupId> |
147 |
| - <artifactId>spring-boot-starter-thymeleaf</artifactId> |
148 |
| - </dependency> |
149 |
| - </dependencies> |
| 144 | + <!-- thymeleaf模板引擎 --> |
| 145 | + <dependency> |
| 146 | + <groupId>org.springframework.boot</groupId> |
| 147 | + <artifactId>spring-boot-starter-thymeleaf</artifactId> |
| 148 | + </dependency> |
| 149 | + </dependencies> |
150 | 150 |
|
151 |
| - <build> |
152 |
| - <plugins> |
153 |
| - <plugin> |
154 |
| - <groupId>org.springframework.boot</groupId> |
155 |
| - <artifactId>spring-boot-maven-plugin</artifactId> |
156 |
| - </plugin> |
157 |
| - </plugins> |
158 |
| - </build> |
| 151 | + <build> |
| 152 | + <plugins> |
| 153 | + <plugin> |
| 154 | + <groupId>org.springframework.boot</groupId> |
| 155 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 156 | + </plugin> |
| 157 | + </plugins> |
| 158 | + </build> |
159 | 159 |
|
160 | 160 | </project>
|
0 commit comments