|
8 | 8 | <version>3.0.x.20260630-SNAPSHOT</version> |
9 | 9 | <description>基于byte-buddy生成Spring MVC 框架的Controller</description> |
10 | 10 | <packaging>jar</packaging> |
11 | | - |
12 | 11 | <!-- 开源协议采用 Apache 2.0 协议 --> |
13 | 12 | <licenses> |
14 | 13 | <license> |
15 | 14 | <name>The Apache Software License, Version 2.0</name> |
16 | 15 | <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> |
17 | 16 | </license> |
18 | 17 | </licenses> |
19 | | - |
20 | 18 | <!-- 源码仓库(SCM)信息 --> |
21 | 19 | <scm> |
22 | 20 | <connection>scm:git:https://github.com/easy-4-java/${project.artifactId}.git</connection> |
23 | 21 | <developerConnection>scm:git:https://github.com/easy-4-java/${project.artifactId}.git</developerConnection> |
24 | 22 | <url>https://github.com/easy-4-java/${project.artifactId}</url> |
25 | 23 | <tag>${project.artifactId}</tag> |
26 | 24 | </scm> |
27 | | - |
28 | 25 | <!-- 开发者信息 --> |
29 | 26 | <developers> |
30 | 27 | <developer> |
|
37 | 34 | <timezone>+8</timezone> |
38 | 35 | </developer> |
39 | 36 | </developers> |
40 | | - |
41 | 37 | <profiles> |
42 | 38 | <profile> |
43 | 39 | <id>disable-javadoc-doclint</id> |
44 | 40 | <activation> |
45 | 41 | <jdk>[1.8,)</jdk> |
46 | 42 | </activation> |
47 | 43 | <properties> |
48 | | - <!-- Dependency versions --> |
| 44 | + <!-- Dependency versions --> |
49 | 45 | <additionalparam>-Xdoclint:none</additionalparam> |
50 | 46 | <maven.test.skip>true</maven.test.skip> |
51 | 47 | </properties> |
52 | 48 | </profile> |
53 | | - |
54 | 49 | <profile> |
55 | 50 | <id>release</id> |
56 | 51 | </profile> |
57 | | - |
58 | 52 | <profile> |
59 | 53 | <id>central</id> |
60 | 54 | </profile> |
61 | 55 | </profiles> |
62 | | - |
63 | 56 | <properties> |
64 | 57 | <!-- ═══ 第一段: 基础属性(自然排序)═══ --> |
65 | 58 | <java.version>21</java.version> |
|
105 | 98 | <maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version> |
106 | 99 | <maven-war-plugin.version>3.4.0</maven-war-plugin.version> |
107 | 100 | </properties> |
108 | | - |
109 | 101 | <dependencyManagement> |
110 | 102 | <dependencies> |
111 | | - |
112 | 103 | <dependency> |
113 | 104 | <groupId>org.projectlombok</groupId> |
114 | 105 | <artifactId>lombok</artifactId> |
115 | 106 | <version>${lombok.version}</version> |
116 | 107 | </dependency> |
117 | | - |
118 | 108 | <dependency> |
119 | 109 | <groupId>junit</groupId> |
120 | 110 | <artifactId>junit</artifactId> |
121 | 111 | <version>${junit.version}</version> |
122 | 112 | </dependency> |
123 | | - |
124 | 113 | <dependency> |
125 | 114 | <groupId>org.slf4j</groupId> |
126 | 115 | <artifactId>slf4j-api</artifactId> |
127 | 116 | <version>${slf4j.version}</version> |
128 | 117 | </dependency> |
129 | | - |
130 | 118 | <dependency> |
131 | 119 | <groupId>org.slf4j</groupId> |
132 | 120 | <artifactId>slf4j-simple</artifactId> |
133 | 121 | <version>${slf4j.version}</version> |
134 | 122 | <scope>test</scope> |
135 | 123 | </dependency> |
136 | | - |
137 | 124 | <dependency> |
138 | 125 | <groupId>org.apache.commons</groupId> |
139 | 126 | <artifactId>commons-lang3</artifactId> |
140 | 127 | <version>${commons-lang3.version}</version> |
141 | 128 | </dependency> |
142 | | - |
143 | 129 | <dependency> |
144 | 130 | <groupId>commons-io</groupId> |
145 | 131 | <artifactId>commons-io</artifactId> |
146 | 132 | <version>${commons-io.version}</version> |
147 | 133 | </dependency> |
148 | | - |
149 | 134 | <dependency> |
150 | 135 | <groupId>commons-beanutils</groupId> |
151 | 136 | <artifactId>commons-beanutils</artifactId> |
152 | 137 | <version>${commons-beanutils.version}</version> |
153 | 138 | </dependency> |
154 | | - |
155 | 139 | <dependency> |
156 | 140 | <groupId>net.bytebuddy</groupId> |
157 | 141 | <artifactId>byte-buddy</artifactId> |
158 | 142 | <version>${byte-buddy.version}</version> |
159 | 143 | </dependency> |
160 | | - |
161 | 144 | <dependency> |
162 | 145 | <groupId>org.springframework</groupId> |
163 | 146 | <artifactId>spring-webmvc</artifactId> |
164 | 147 | <version>${spring.version}</version> |
165 | 148 | </dependency> |
166 | | - |
167 | 149 | <dependency> |
168 | 150 | <groupId>org.springframework</groupId> |
169 | 151 | <artifactId>spring-webflux</artifactId> |
170 | 152 | <version>${spring.version}</version> |
171 | 153 | </dependency> |
172 | | - |
173 | 154 | <dependency> |
174 | 155 | <groupId>org.springframework</groupId> |
175 | 156 | <artifactId>spring-context</artifactId> |
176 | 157 | <version>${spring.version}</version> |
177 | 158 | </dependency> |
178 | | - |
179 | 159 | <dependency> |
180 | 160 | <groupId>io.springfox</groupId> |
181 | 161 | <artifactId>springfox-core</artifactId> |
182 | 162 | <version>${springfox.version}</version> |
183 | 163 | </dependency> |
184 | | - |
185 | 164 | <dependency> |
186 | 165 | <groupId>io.swagger</groupId> |
187 | 166 | <artifactId>swagger-annotations</artifactId> |
188 | 167 | <version>${swagger.version}</version> |
189 | 168 | </dependency> |
190 | | - |
191 | 169 | <dependency> |
192 | 170 | <groupId>jakarta.servlet</groupId> |
193 | 171 | <artifactId>jakarta.servlet-api</artifactId> |
194 | 172 | <version>${jakarta-servlet.version}</version> |
195 | 173 | </dependency> |
196 | | - |
197 | 174 | <dependency> |
198 | 175 | <groupId>jakarta.validation</groupId> |
199 | 176 | <artifactId>jakarta.validation-api</artifactId> |
200 | 177 | <version>${jakarta-validation.version}</version> |
201 | 178 | </dependency> |
202 | 179 | </dependencies> |
203 | 180 | </dependencyManagement> |
204 | | - |
205 | 181 | <dependencies> |
206 | | - |
207 | 182 | <dependency> |
208 | 183 | <groupId>org.projectlombok</groupId> |
209 | 184 | <artifactId>lombok</artifactId> |
210 | 185 | <scope>provided</scope> |
211 | 186 | </dependency> |
212 | | - |
213 | 187 | <dependency> |
214 | 188 | <groupId>junit</groupId> |
215 | 189 | <artifactId>junit</artifactId> |
216 | 190 | <scope>test</scope> |
217 | 191 | </dependency> |
218 | | - |
219 | 192 | <dependency> |
220 | 193 | <groupId>org.slf4j</groupId> |
221 | 194 | <artifactId>slf4j-api</artifactId> |
222 | 195 | </dependency> |
223 | | - |
224 | 196 | <dependency> |
225 | 197 | <groupId>commons-io</groupId> |
226 | 198 | <artifactId>commons-io</artifactId> |
227 | 199 | <scope>test</scope> |
228 | 200 | </dependency> |
229 | | - |
230 | 201 | <dependency> |
231 | 202 | <groupId>commons-beanutils</groupId> |
232 | 203 | <artifactId>commons-beanutils</artifactId> |
233 | 204 | <scope>test</scope> |
234 | 205 | </dependency> |
235 | | - |
236 | 206 | <dependency> |
237 | 207 | <groupId>org.apache.commons</groupId> |
238 | 208 | <artifactId>commons-lang3</artifactId> |
239 | 209 | </dependency> |
240 | | - |
241 | 210 | <dependency> |
242 | 211 | <groupId>net.bytebuddy</groupId> |
243 | 212 | <artifactId>byte-buddy</artifactId> |
244 | 213 | </dependency> |
245 | | - |
246 | 214 | <dependency> |
247 | 215 | <groupId>org.springframework</groupId> |
248 | 216 | <artifactId>spring-webmvc</artifactId> |
249 | 217 | <scope>provided</scope> |
250 | 218 | </dependency> |
251 | | - |
252 | 219 | <dependency> |
253 | 220 | <groupId>org.springframework</groupId> |
254 | 221 | <artifactId>spring-webflux</artifactId> |
255 | 222 | <scope>provided</scope> |
256 | 223 | </dependency> |
257 | | - |
258 | 224 | <dependency> |
259 | 225 | <groupId>org.springframework</groupId> |
260 | 226 | <artifactId>spring-context</artifactId> |
261 | 227 | <scope>provided</scope> |
262 | 228 | </dependency> |
263 | | - |
264 | 229 | <dependency> |
265 | 230 | <groupId>io.springfox</groupId> |
266 | 231 | <artifactId>springfox-core</artifactId> |
267 | 232 | <scope>provided</scope> |
268 | 233 | </dependency> |
269 | | - |
270 | 234 | <dependency> |
271 | 235 | <groupId>io.swagger</groupId> |
272 | 236 | <artifactId>swagger-annotations</artifactId> |
273 | 237 | <scope>provided</scope> |
274 | 238 | </dependency> |
275 | | - |
276 | 239 | <dependency> |
277 | 240 | <groupId>jakarta.validation</groupId> |
278 | 241 | <artifactId>jakarta.validation-api</artifactId> |
|
295 | 258 | <finalName>${project.artifactId}</finalName> |
296 | 259 | <pluginManagement> |
297 | 260 | <plugins> |
298 | | - |
299 | 261 | <plugin> |
300 | | - |
301 | 262 | <groupId>org.apache.maven.plugins</groupId> |
302 | 263 | <artifactId>maven-compiler-plugin</artifactId> |
303 | 264 | <version>${maven-compiler-plugin.version}</version> |
304 | 265 | <configuration> |
305 | 266 | <release>${java.version}</release> |
306 | | - |
307 | 267 | <encoding>${project.build.sourceEncoding}</encoding> |
308 | | - |
309 | 268 | <maxmem>512M</maxmem> |
310 | 269 | </configuration> |
311 | 270 | </plugin> |
312 | | - |
313 | 271 | <plugin> |
314 | | - |
315 | 272 | <groupId>org.apache.maven.plugins</groupId> |
316 | 273 | <artifactId>maven-deploy-plugin</artifactId> |
317 | 274 | <version>${maven-deploy-plugin.version}</version> |
318 | 275 | </plugin> |
319 | | - |
320 | 276 | <plugin> |
321 | | - |
322 | 277 | <groupId>org.apache.maven.plugins</groupId> |
323 | 278 | <artifactId>maven-enforcer-plugin</artifactId> |
324 | 279 | <version>${maven-enforcer-plugin.version}</version> |
|
337 | 292 | </requireMavenVersion> |
338 | 293 | <requireJavaVersion> |
339 | 294 | <message> |
340 | | - You are running an older version of Java. This application requires at least JDK ${java.version}. |
341 | | - </message> |
| 295 | + You are running an older version of Java. This application requires at least JDK ${java.version}. |
| 296 | + </message> |
342 | 297 | <version>[${java.version}.0,)</version> |
343 | 298 | </requireJavaVersion> |
344 | 299 | </rules> |
345 | 300 | </configuration> |
346 | 301 | </execution> |
347 | 302 | </executions> |
348 | 303 | </plugin> |
349 | | - |
350 | 304 | <plugin> |
351 | | - |
352 | 305 | <groupId>org.apache.maven.plugins</groupId> |
353 | 306 | <artifactId>maven-gpg-plugin</artifactId> |
354 | 307 | <version>${maven-gpg-plugin.version}</version> |
|
362 | 315 | </execution> |
363 | 316 | </executions> |
364 | 317 | </plugin> |
365 | | - |
366 | 318 | <plugin> |
367 | | - |
368 | 319 | <groupId>org.apache.maven.plugins</groupId> |
369 | 320 | <artifactId>maven-install-plugin</artifactId> |
370 | 321 | <version>${maven-install-plugin.version}</version> |
371 | 322 | </plugin> |
372 | | - |
373 | 323 | <plugin> |
374 | | - |
375 | 324 | <groupId>org.apache.maven.plugins</groupId> |
376 | 325 | <artifactId>maven-resources-plugin</artifactId> |
377 | 326 | <version>${maven-resources-plugin.version}</version> |
378 | 327 | <configuration> |
379 | 328 | <encoding>${project.build.sourceEncoding}</encoding> |
380 | 329 | </configuration> |
381 | 330 | </plugin> |
382 | | - |
383 | 331 | <plugin> |
384 | | - |
385 | 332 | <groupId>org.apache.maven.plugins</groupId> |
386 | 333 | <artifactId>maven-release-plugin</artifactId> |
387 | 334 | <version>${maven-release-plugin.version}</version> |
|
393 | 340 | <goals>deploy</goals> |
394 | 341 | </configuration> |
395 | 342 | </plugin> |
396 | | - |
397 | 343 | <plugin> |
398 | | - |
399 | 344 | <groupId>org.apache.maven.plugins</groupId> |
400 | 345 | <artifactId>maven-source-plugin</artifactId> |
401 | 346 | <version>${maven-source-plugin.version}</version> |
|
411 | 356 | </execution> |
412 | 357 | </executions> |
413 | 358 | </plugin> |
414 | | - |
415 | 359 | <plugin> |
416 | | - |
417 | 360 | <groupId>org.apache.maven.plugins</groupId> |
418 | 361 | <artifactId>maven-surefire-plugin</artifactId> |
419 | 362 | <version>${maven-surefire-plugin.version}</version> |
|
432 | 375 | </excludes> |
433 | 376 | </configuration> |
434 | 377 | </plugin> |
435 | | - |
436 | 378 | <plugin> |
437 | | - |
438 | 379 | <groupId>org.apache.maven.plugins</groupId> |
439 | 380 | <artifactId>maven-jar-plugin</artifactId> |
440 | 381 | <version>${maven-jar-plugin.version}</version> |
|
450 | 391 | </archive> |
451 | 392 | </configuration> |
452 | 393 | </plugin> |
453 | | - |
454 | 394 | <plugin> |
455 | | - |
456 | 395 | <groupId>org.apache.maven.plugins</groupId> |
457 | 396 | <artifactId>maven-javadoc-plugin</artifactId> |
458 | 397 | <version>${maven-javadoc-plugin.version}</version> |
|
471 | 410 | </execution> |
472 | 411 | </executions> |
473 | 412 | </plugin> |
474 | | - |
475 | 413 | <plugin> |
476 | 414 | <groupId>org.sonatype.plugins</groupId> |
477 | 415 | <artifactId>nexus-staging-maven-plugin</artifactId> |
|
489 | 427 | </plugins> |
490 | 428 | </pluginManagement> |
491 | 429 | <plugins> |
492 | | - |
493 | 430 | <plugin> |
494 | | - |
495 | 431 | <groupId>org.jacoco</groupId> |
496 | 432 | <artifactId>jacoco-maven-plugin</artifactId> |
497 | 433 | <version>${maven-jacoco-plugin.version}</version> |
|
533 | 469 | </execution> |
534 | 470 | </executions> |
535 | 471 | </plugin> |
536 | | - |
537 | 472 | <plugin> |
538 | | - |
539 | 473 | <groupId>org.apache.maven.plugins</groupId> |
540 | 474 | <artifactId>maven-compiler-plugin</artifactId> |
541 | 475 | <version>${maven-compiler-plugin.version}</version> |
542 | 476 | <configuration> |
543 | 477 | <release>${java.version}</release> |
544 | | - |
545 | 478 | <parameters>true</parameters> |
546 | 479 | <encoding>${project.build.sourceEncoding}</encoding> |
547 | 480 | <maxmem>512M</maxmem> |
|
0 commit comments