|
54 | 54 | <tag>HEAD</tag> |
55 | 55 | </scm> |
56 | 56 |
|
| 57 | + <issueManagement> |
| 58 | + <system>GitHub Issues</system> |
| 59 | + <url>https://github.com/Devskiller/jfairy/issues</url> |
| 60 | + </issueManagement> |
| 61 | + |
| 62 | + <ciManagement> |
| 63 | + <system>GitHub Actions</system> |
| 64 | + <url>https://github.com/SkillPanel/jfairy/actions</url> |
| 65 | + </ciManagement> |
| 66 | + |
57 | 67 | <distributionManagement> |
58 | 68 | <repository> |
59 | 69 | <id>central</id> |
|
67 | 77 | </snapshotRepository> |
68 | 78 | </distributionManagement> |
69 | 79 |
|
70 | | - <issueManagement> |
71 | | - <system>GitHub Issues</system> |
72 | | - <url>https://github.com/Devskiller/jfairy/issues</url> |
73 | | - </issueManagement> |
74 | | - |
75 | | - <ciManagement> |
76 | | - <system>GitHub Actions</system> |
77 | | - <url>https://github.com/SkillPanel/jfairy/actions</url> |
78 | | - </ciManagement> |
79 | | - |
80 | 80 | <properties> |
81 | 81 | <revision>0.8.3-SNAPSHOT</revision> |
82 | 82 |
|
|
117 | 117 | <dep.plugin.jar.version>3.5.0</dep.plugin.jar.version> |
118 | 118 | <dep.plugin.release.version>3.3.1</dep.plugin.release.version> |
119 | 119 | <dep.plugin.resources.version>3.5.0</dep.plugin.resources.version> |
| 120 | + <dep.plugin.sortpom.version>4.0.0</dep.plugin.sortpom.version> |
120 | 121 | <dep.plugin.source.version>3.4.0</dep.plugin.source.version> |
121 | 122 | <dep.plugin.surefire.version>3.5.5</dep.plugin.surefire.version> |
122 | 123 | <dep.plugin.versions.version>2.21.0</dep.plugin.versions.version> |
|
197 | 198 |
|
198 | 199 | <defaultGoal>clean verify</defaultGoal> |
199 | 200 |
|
| 201 | + <pluginManagement> |
| 202 | + <plugins> |
| 203 | + <plugin> |
| 204 | + <groupId>com.github.ekryd.sortpom</groupId> |
| 205 | + <artifactId>sortpom-maven-plugin</artifactId> |
| 206 | + <version>${dep.plugin.sortpom.version}</version> |
| 207 | + <configuration> |
| 208 | + <createBackupFile>false</createBackupFile> |
| 209 | + <expandEmptyElements>false</expandEmptyElements> |
| 210 | + <nrOfIndentSpace>-1</nrOfIndentSpace> |
| 211 | + </configuration> |
| 212 | + </plugin> |
| 213 | + </plugins> |
| 214 | + </pluginManagement> |
| 215 | + |
200 | 216 | <plugins> |
201 | 217 | <plugin> |
202 | 218 | <groupId>org.apache.maven.plugins</groupId> |
|
210 | 226 | <executions> |
211 | 227 | <execution> |
212 | 228 | <id>add-test-source</id> |
213 | | - <phase>generate-test-sources</phase> |
214 | 229 | <goals> |
215 | 230 | <goal>add-test-source</goal> |
216 | 231 | </goals> |
| 232 | + <phase>generate-test-sources</phase> |
217 | 233 | <configuration> |
218 | 234 | <sources> |
219 | 235 | <source>${project.basedir}/src/test/java</source> |
|
262 | 278 | <groupId>org.codehaus.gmavenplus</groupId> |
263 | 279 | <artifactId>gmavenplus-plugin</artifactId> |
264 | 280 | <version>${dep.plugin.gmavenplus.version}</version> |
265 | | - <executions> |
266 | | - <execution> |
267 | | - <goals> |
268 | | - <goal>compileTests</goal> |
269 | | - </goals> |
270 | | - </execution> |
271 | | - </executions> |
272 | 281 | <configuration> |
273 | 282 | <testSources> |
274 | 283 | <testSource> |
|
279 | 288 | </testSource> |
280 | 289 | </testSources> |
281 | 290 | </configuration> |
| 291 | + <executions> |
| 292 | + <execution> |
| 293 | + <goals> |
| 294 | + <goal>compileTests</goal> |
| 295 | + </goals> |
| 296 | + </execution> |
| 297 | + </executions> |
282 | 298 | </plugin> |
283 | 299 |
|
284 | 300 | <plugin> |
|
333 | 349 | <executions> |
334 | 350 | <execution> |
335 | 351 | <id>checkstyle-check</id> |
336 | | - <phase>verify</phase> |
337 | 352 | <goals> |
338 | 353 | <goal>check</goal> |
339 | 354 | </goals> |
| 355 | + <phase>verify</phase> |
340 | 356 | </execution> |
341 | 357 | </executions> |
342 | 358 | </plugin> |
|
381 | 397 | <executions> |
382 | 398 | <execution> |
383 | 399 | <id>flatten</id> |
384 | | - <phase>prepare-package</phase> |
385 | 400 | <goals> |
386 | 401 | <goal>flatten</goal> |
387 | 402 | </goals> |
| 403 | + <phase>prepare-package</phase> |
388 | 404 | </execution> |
389 | 405 | <execution> |
390 | 406 | <id>flatten-clean</id> |
391 | | - <phase>clean</phase> |
392 | 407 | <goals> |
393 | 408 | <goal>clean</goal> |
394 | 409 | </goals> |
| 410 | + <phase>clean</phase> |
395 | 411 | </execution> |
396 | 412 | </executions> |
397 | 413 | </plugin> |
|
471 | 487 | </properties> |
472 | 488 | </profile> |
473 | 489 |
|
474 | | - <!-- profile to fail the build on Error Prone findings |
| 490 | + <!-- profile to fail the build on Error Prone findings |
475 | 491 | mvn clean compile -D check.fail-errorprone=true |
476 | 492 | https://errorprone.info/bugpattern/IncompatibleModifiers --> |
477 | 493 | <profile> |
|
508 | 524 | <executions> |
509 | 525 | <execution> |
510 | 526 | <id>sign-artifacts</id> |
511 | | - <phase>verify</phase> |
512 | 527 | <goals> |
513 | 528 | <goal>sign</goal> |
514 | 529 | </goals> |
| 530 | + <phase>verify</phase> |
515 | 531 | </execution> |
516 | 532 | </executions> |
517 | 533 | </plugin> |
|
549 | 565 | <artifactId>central-publishing-maven-plugin</artifactId> |
550 | 566 | <version>${dep.plugin.central-publishing.version}</version> |
551 | 567 | <extensions>true</extensions> |
| 568 | + <configuration> |
| 569 | + <publishingServerId>central</publishingServerId> |
| 570 | + <autoPublish>true</autoPublish> |
| 571 | + <waitUntil>published</waitUntil> |
| 572 | + </configuration> |
552 | 573 | <executions> |
553 | 574 | <execution> |
554 | 575 | <id>central-publish</id> |
555 | | - <phase>deploy</phase> |
556 | 576 | <goals> |
557 | 577 | <goal>publish</goal> |
558 | 578 | </goals> |
| 579 | + <phase>deploy</phase> |
559 | 580 | </execution> |
560 | 581 | </executions> |
561 | | - <configuration> |
562 | | - <publishingServerId>central</publishingServerId> |
563 | | - <autoPublish>true</autoPublish> |
564 | | - <waitUntil>published</waitUntil> |
565 | | - </configuration> |
566 | 582 | </plugin> |
567 | 583 | </plugins> |
568 | 584 | </build> |
|
0 commit comments