|
4 | 4 |
|
5 | 5 | <groupId>io.github.easy4j</groupId> |
6 | 6 | <artifactId>opencode-java-sdk</artifactId> |
| 7 | + <name>${project.groupId}:${project.artifactId}</name> |
| 8 | + <url>https://github.com/easy-4-java/${project.artifactId}</url> |
7 | 9 | <description>OpenCode Java SDK - JDK 17 line</description> |
8 | 10 | <version>2.0.x.20260630-SNAPSHOT</version> |
9 | 11 | <name>${project.groupId}:${project.artifactId}</name> |
|
48 | 50 | </distributionManagement> |
49 | 51 |
|
50 | 52 | <properties> |
51 | | - <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version> |
| 53 | + <central-publishing-maven-plugin.version>0.11.0</central-publishing-maven-plugin.version> |
52 | 54 | <java.version>17</java.version> |
53 | 55 | <maven.compiler.release>${java.version}</maven.compiler.release> |
54 | 56 | <maven.compiler.source>${java.version}</maven.compiler.source> |
|
78 | 80 | <maven-resources-plugin.version>3.5.0</maven-resources-plugin.version> |
79 | 81 | <maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version> |
80 | 82 | <maven-source-plugin.version>3.4.0</maven-source-plugin.version> |
81 | | - <maven-central-publishing-plugin.version>0.10.0</maven-central-publishing-plugin.version> |
82 | | - </properties> |
| 83 | + <maven-central-publishing-plugin.version>0.11.0</maven-central-publishing-plugin.version> |
| 84 | + <jacoco-maven-plugin.version>0.8.15</jacoco-maven-plugin.version> |
| 85 | + </properties> |
83 | 86 |
|
84 | 87 | <dependencyManagement> |
85 | 88 | <dependencies> |
|
322 | 325 | </plugin> |
323 | 326 | </plugins> |
324 | 327 | </pluginManagement> |
| 328 | + <plugins> |
| 329 | + <plugin> |
| 330 | + <groupId>org.jacoco</groupId> |
| 331 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 332 | + <version>${jacoco-maven-plugin.version}</version> |
| 333 | + <executions> |
| 334 | + <execution> |
| 335 | + <id>prepare-agent</id> |
| 336 | + <goals> |
| 337 | + <goal>prepare-agent</goal> |
| 338 | + </goals> |
| 339 | + </execution> |
| 340 | + <execution> |
| 341 | + <id>report</id> |
| 342 | + <phase>verify</phase> |
| 343 | + <goals> |
| 344 | + <goal>report</goal> |
| 345 | + </goals> |
| 346 | + </execution> |
| 347 | + <execution> |
| 348 | + <id>check</id> |
| 349 | + <phase>verify</phase> |
| 350 | + <goals> |
| 351 | + <goal>check</goal> |
| 352 | + </goals> |
| 353 | + <configuration> |
| 354 | + <haltOnFailure>false</haltOnFailure> |
| 355 | + <rules> |
| 356 | + <rule> |
| 357 | + <element>BUNDLE</element> |
| 358 | + <limits> |
| 359 | + <limit> |
| 360 | + <counter>LINE</counter> |
| 361 | + <value>COVEREDRATIO</value> |
| 362 | + <minimum>0.90</minimum> |
| 363 | + </limit> |
| 364 | + </limits> |
| 365 | + </rule> |
| 366 | + </rules> |
| 367 | + </configuration> |
| 368 | + </execution> |
| 369 | + </executions> |
| 370 | + </plugin> |
| 371 | +<plugin> |
| 372 | + <groupId>org.apache.maven.plugins</groupId> |
| 373 | + <artifactId>maven-compiler-plugin</artifactId> |
| 374 | + <version>${maven-compiler-plugin.version}</version> |
| 375 | + <configuration> |
| 376 | + <source>${java.version}</source> |
| 377 | + <target>${java.version}</target> |
| 378 | + <parameters>true</parameters> |
| 379 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 380 | + <maxmem>512M</maxmem> |
| 381 | + <annotationProcessorPaths> |
| 382 | + <path> |
| 383 | + <groupId>org.projectlombok</groupId> |
| 384 | + <artifactId>lombok</artifactId> |
| 385 | + <version>${lombok.version}</version> |
| 386 | + </path> |
| 387 | + </annotationProcessorPaths> |
| 388 | + </configuration> |
| 389 | + </plugin> |
| 390 | + </plugins> |
325 | 391 | </build> |
326 | 392 |
|
327 | 393 | <profiles> |
|
0 commit comments