1
+ <!--
2
+ Copyright © 2021 IOT Technical Guide - The MQTTv5 brokerAuthors
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+ Unless required by applicable law or agreed to in writing, software
9
+ distributed under the License is distributed on an "AS IS" BASIS,
10
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ See the License for the specific language governing permissions and
12
+ limitations under the License.
13
+ -->
14
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
15
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
16
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
17
+ <modelVersion >4.0.0</modelVersion >
18
+
19
+ <groupId >iot-technology</groupId >
20
+ <artifactId >mqtt-broker</artifactId >
21
+ <name >IoT Technology MQTT Broker</name >
22
+ <packaging >pom</packaging >
23
+ <version >1.0-SNAPSHOT</version >
24
+
25
+ <modules >
26
+ <module >server</module >
27
+ <module >storage</module >
28
+ </modules >
29
+
30
+ <url >https://iot.mushuwei.cn/</url >
31
+ <inceptionYear >2021</inceptionYear >
32
+
33
+ <properties >
34
+ <maven .compiler.source>8</maven .compiler.source>
35
+ <maven .compiler.target>8</maven .compiler.target>
36
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
37
+ <lombok .version>1.18.18</lombok .version>
38
+ <mapstruct .version>1.3.1.Final</mapstruct .version>
39
+ <spring-boot .version>2.3.12.RELEASE</spring-boot .version>
40
+ <netty .version>4.1.70.Final</netty .version>
41
+ <slf4j .version>1.7.32</slf4j .version>
42
+ <logback .version>1.2.6</logback .version>
43
+ </properties >
44
+
45
+ <dependencies >
46
+ <dependency >
47
+ <groupId >org.projectlombok</groupId >
48
+ <artifactId >lombok</artifactId >
49
+ </dependency >
50
+ </dependencies >
51
+
52
+ <dependencyManagement >
53
+ <dependencies >
54
+ <dependency >
55
+ <groupId >org.springframework.boot</groupId >
56
+ <artifactId >spring-boot-starter-web</artifactId >
57
+ <version >${spring-boot.version} </version >
58
+ </dependency >
59
+ <dependency >
60
+ <groupId >io.netty</groupId >
61
+ <artifactId >netty-all</artifactId >
62
+ <version >${netty.version} </version >
63
+ </dependency >
64
+ <dependency >
65
+ <groupId >org.slf4j</groupId >
66
+ <artifactId >slf4j-api</artifactId >
67
+ <version >${slf4j.version} </version >
68
+ </dependency >
69
+ <dependency >
70
+ <groupId >org.slf4j</groupId >
71
+ <artifactId >log4j-over-slf4j</artifactId >
72
+ <version >${slf4j.version} </version >
73
+ </dependency >
74
+ <dependency >
75
+ <groupId >ch.qos.logback</groupId >
76
+ <artifactId >logback-core</artifactId >
77
+ <version >${logback.version} </version >
78
+ </dependency >
79
+ <dependency >
80
+ <groupId >ch.qos.logback</groupId >
81
+ <artifactId >logback-classic</artifactId >
82
+ <version >${logback.version} </version >
83
+ </dependency >
84
+ <dependency >
85
+ <groupId >org.projectlombok</groupId >
86
+ <artifactId >lombok</artifactId >
87
+ <version >${lombok.version} </version >
88
+ <scope >provided</scope >
89
+ </dependency >
90
+ </dependencies >
91
+ </dependencyManagement >
92
+
93
+ <build >
94
+ <pluginManagement >
95
+ <plugins >
96
+ <plugin >
97
+ <groupId >org.apache.maven.plugins</groupId >
98
+ <artifactId >maven-compiler-plugin</artifactId >
99
+ <version >3.8.1</version >
100
+ <configuration >
101
+ <showWarnings >true</showWarnings >
102
+ <showDeprecation >false</showDeprecation >
103
+ <source >${maven.compiler.source} </source >
104
+ <target >${maven.compiler.target} </target >
105
+ <encoding >${project.build.sourceEncoding} </encoding >
106
+ <!-- convert依赖包 -->
107
+ <annotationProcessorPaths >
108
+ <path >
109
+ <groupId >org.mapstruct</groupId >
110
+ <artifactId >mapstruct-processor</artifactId >
111
+ <version >${mapstruct.version} </version >
112
+ </path >
113
+ <path >
114
+ <groupId >org.projectlombok</groupId >
115
+ <artifactId >lombok</artifactId >
116
+ <version >${lombok.version} </version >
117
+ </path >
118
+ </annotationProcessorPaths >
119
+ </configuration >
120
+ </plugin >
121
+ <plugin >
122
+ <groupId >org.apache.maven.plugins</groupId >
123
+ <artifactId >maven-source-plugin</artifactId >
124
+ <version >3.2.1</version >
125
+ <executions >
126
+ <execution >
127
+ <id >attach-sources</id >
128
+ <goals >
129
+ <goal >jar</goal >
130
+ </goals >
131
+ </execution >
132
+ </executions >
133
+ </plugin >
134
+ <plugin >
135
+ <groupId >org.apache.maven.plugins</groupId >
136
+ <artifactId >maven-javadoc-plugin</artifactId >
137
+ <version >3.1.1</version >
138
+ <configuration >
139
+ <additionalOptions >
140
+ <additionalOption >-Xdoclint:none</additionalOption >
141
+ </additionalOptions >
142
+ </configuration >
143
+ <executions >
144
+ <execution >
145
+ <id >attach-javadocs</id >
146
+ <goals >
147
+ <goal >jar</goal >
148
+ </goals >
149
+ </execution >
150
+ </executions >
151
+ </plugin >
152
+ </plugins >
153
+ </pluginManagement >
154
+ </build >
155
+
156
+ <distributionManagement >
157
+ <repository >
158
+ <id >maven-ali</id >
159
+ <name >maven alibaba</name >
160
+ <url >http://maven.aliyun.com/nexus/content/groups/public/</url >
161
+ </repository >
162
+ </distributionManagement >
163
+
164
+ <repositories >
165
+ <repository >
166
+ <id >central</id >
167
+ <url >https://repo1.maven.org/maven2/</url >
168
+ </repository >
169
+ <repository >
170
+ <id >spring-snapshots</id >
171
+ <name >Spring Snapshots</name >
172
+ <url >https://repo.spring.io/snapshot</url >
173
+ <snapshots >
174
+ <enabled >true</enabled >
175
+ </snapshots >
176
+ </repository >
177
+ <repository >
178
+ <id >spring-milestones</id >
179
+ <name >Spring Milestones</name >
180
+ <url >https://repo.spring.io/milestone</url >
181
+ <snapshots >
182
+ <enabled >false</enabled >
183
+ </snapshots >
184
+ </repository >
185
+ <repository >
186
+ <id >typesafe</id >
187
+ <name >Typesafe Repository</name >
188
+ <url >https://repo.typesafe.com/typesafe/releases/</url >
189
+ </repository >
190
+ <repository >
191
+ <id >sonatype</id >
192
+ <url >https://oss.sonatype.org/content/groups/public</url >
193
+ </repository >
194
+ </repositories >
195
+
196
+
197
+ </project >
0 commit comments