File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- distributionUrl =https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.0/apache-maven-3.5.0-bin.zip
1+ wrapperVersion =3.3.4
2+ distributionType =only-script
3+ distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.16/apache-maven-3.9.16-bin.zip
Original file line number Diff line number Diff line change 8686 <artifactId >maven-compiler-plugin</artifactId >
8787 <version >${maven-compiler-plugin.version} </version >
8888 <configuration >
89- <!-- 源代码编译版本 -->
90- <source >${java.version} </source >
91- <!-- 目标平台编译版本 -->
92- <target >${java.version} </target >
9389 <!-- 字符集编码 -->
9490 <encoding >${project.build.sourceEncoding} </encoding >
9591 <!-- 编译最大内存 -->
338334 <artifactId >maven-compiler-plugin</artifactId >
339335 <version >${maven-compiler-plugin.version} </version >
340336 <configuration >
341- <source >${java.version} </source >
342- <target >${java.version} </target >
343337 <!-- 保留方法参数名,支持 Spring MVC 按参数名绑定 -->
344338 <parameters >true</parameters >
345339 <encoding >${project.build.sourceEncoding} </encoding >
507501
508502 <!-- 版本属性定义:Java 版本、依赖版本与 Maven 插件版本统一管理 -->
509503 <properties >
510- <java .version>8</java .version>
504+ <!-- ═══ 第一段: 基础属性(自然排序)═══ -->
505+ <java .version>1.8</java .version>
511506 <maven .compiler.release>${java.version} </maven .compiler.release>
512- <maven .compiler.source>${java.version} </maven .compiler.source>
513- <maven .compiler.target>${java.version} </maven .compiler.target>
514- <maven .version>3.0</maven .version>
507+ <maven .version>3.9.16</maven .version>
515508 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
516509 <!-- Dependency versions -->
517510 <antlr4 .version>4.7.1</antlr4 .version>
You can’t perform that action at this time.
0 commit comments