|
7 | 7 | <artifactId>faceplusplus-java-sdk</artifactId> |
8 | 8 | <version>3.0.x.20260630-SNAPSHOT</version> |
9 | 9 | <packaging>jar</packaging> |
10 | | - |
11 | 10 | <!-- 开源协议采用 Apache 2.0 协议 --> |
12 | 11 | <licenses> |
13 | 12 | <license> |
14 | 13 | <name>The Apache Software License, Version 2.0</name> |
15 | 14 | <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> |
16 | 15 | </license> |
17 | 16 | </licenses> |
18 | | - |
19 | 17 | <!-- 源码仓库(SCM)信息 --> |
20 | 18 | <scm> |
21 | 19 | <connection>scm:git:https://github.com/easy-4-java/${project.artifactId}.git</connection> |
22 | 20 | <developerConnection>scm:git:https://github.com/easy-4-java/${project.artifactId}.git</developerConnection> |
23 | 21 | <url>https://github.com/easy-4-java/${project.artifactId}</url> |
24 | 22 | <tag>${project.artifactId}</tag> |
25 | 23 | </scm> |
26 | | - |
27 | 24 | <!-- 开发者信息 --> |
28 | 25 | <developers> |
29 | 26 | <developer> |
|
36 | 33 | <timezone>+8</timezone> |
37 | 34 | </developer> |
38 | 35 | </developers> |
39 | | - |
40 | 36 | <!-- 版本属性定义:Java 版本、依赖版本与 Maven 插件版本统一管理 --> |
41 | 37 | <properties> |
42 | 38 | <!-- ═══ 第一段: 基础属性(自然排序)═══ --> |
|
60 | 56 | <maven-jacoco-plugin.version>0.8.15</maven-jacoco-plugin.version> |
61 | 57 | <maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version> |
62 | 58 | <maven-source-plugin.version>3.4.0</maven-source-plugin.version> |
63 | | - |
64 | 59 | </properties> |
65 | | - |
66 | 60 | <!-- 依赖版本统一管理(dependencyManagement) --> |
67 | 61 | <dependencyManagement> |
68 | 62 | <dependencies> |
|
113 | 107 | </dependency> |
114 | 108 | </dependencies> |
115 | 109 | </dependencyManagement> |
116 | | - |
117 | 110 | <!-- 项目依赖(dependencies) --> |
118 | 111 | <dependencies> |
119 | 112 | <!-- For Lombok --> |
|
153 | 146 | <artifactId>fastjson</artifactId> |
154 | 147 | </dependency> |
155 | 148 | </dependencies> |
156 | | - |
157 | 149 | <!-- 构建配置(Build) --> |
158 | 150 | <build> |
159 | 151 | <pluginManagement> |
160 | 152 | <plugins> |
161 | | - |
162 | 153 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin --> |
163 | 154 | <plugin> |
164 | 155 | <!-- 编译插件:编译主代码至主输出目录 --> |
165 | 156 | <groupId>org.apache.maven.plugins</groupId> |
166 | 157 | <artifactId>maven-compiler-plugin</artifactId> |
167 | 158 | <version>${maven-compiler-plugin.version}</version> |
168 | 159 | <configuration> |
169 | | - </configuration> |
| 160 | + </configuration> |
170 | 161 | </plugin> |
171 | 162 | </plugins> |
172 | 163 | </pluginManagement> |
173 | 164 | <plugins> |
174 | | - |
175 | 165 | <!-- https://mvnrepository.com/artifact/org.jacoco/jacoco-maven-plugin --> |
176 | 166 | <plugin> |
177 | 167 | <!-- 覆盖率插件:生成覆盖率报告并校验测试覆盖率(目标 90%) --> |
|
216 | 206 | </execution> |
217 | 207 | </executions> |
218 | 208 | </plugin> |
219 | | - |
220 | 209 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin --> |
221 | 210 | <plugin> |
222 | 211 | <!-- 编译插件:编译主代码至主输出目录 --> |
|
239 | 228 | </annotationProcessorPaths> |
240 | 229 | </configuration> |
241 | 230 | </plugin> |
242 | | - |
243 | 231 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin --> |
244 | 232 | <plugin> |
245 | 233 | <!-- 文档插件:发布时自动生成 Javadoc 并发布 --> |
|
259 | 247 | </execution> |
260 | 248 | </executions> |
261 | 249 | </plugin> |
262 | | - |
263 | 250 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin --> |
264 | 251 | <plugin> |
265 | 252 | <!-- 源码插件:发布时自动将源码同时发布 --> |
|
277 | 264 | </plugin> |
278 | 265 | </plugins> |
279 | 266 | </build> |
280 | | - |
281 | 267 | <!-- 制品发布仓库配置(distributionManagement) --> |
282 | 268 | <distributionManagement> |
283 | 269 | <repository> |
|
289 | 275 | <url>https://packages.aliyun.com/6927b116e6c3e0425dbdf60d/maven/2624322-snapshot-3eoov3</url> |
290 | 276 | </snapshotRepository> |
291 | 277 | </distributionManagement> |
292 | | - |
293 | 278 | <!-- 构建 Profile 配置 --> |
294 | 279 | <profiles> |
295 | 280 | <!-- 发布到 Maven Central Portal:mvn -Pcentral deploy(GPG 签名 + 源码 + Javadoc + Central 发布插件) --> |
296 | | - |
297 | 281 | <profile> |
298 | 282 | <id>central</id> |
299 | 283 | <build> |
300 | 284 | <plugins> |
301 | | - |
302 | 285 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-gpg-plugin --> |
303 | 286 | <plugin> |
304 | 287 | <!-- 签名插件:对制品进行 PGP 签名 --> |
|
315 | 298 | </execution> |
316 | 299 | </executions> |
317 | 300 | </plugin> |
318 | | - |
319 | 301 | <!-- https://mvnrepository.com/artifact/org.sonatype.central/central-publishing-maven-plugin --> |
320 | 302 | <plugin> |
321 | 303 | <!-- 发布插件:将制品发布到 Maven Central Portal --> |
|
0 commit comments