Commit 87248d7
authored
fix: exclude samples from Maven Central publishing (#3537)
* fix: exclude the Kotlin sample from Maven Central publishing
The module has no Java sources, so maven-javadoc-plugin attaches no
javadoc jar to it and Central rejects the whole deployment with
"Javadocs must be provided but not found in entries", which is what
broke the 5.5.1 release. It only exists as a Kotlin interop E2E test,
so keep it out of the published bundle.
* fix: exclude all samples from Maven Central publishing
Replaces the skipPublishing property on the Kotlin sample with an
excludeArtifacts list on central-publishing-maven-plugin, so the
exclusion lives next to the publishing configuration, and extends it to
every sample module: they are demos and end-to-end tests, not artifacts
to depend on.1 parent 574718b commit 87248d7
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
645 | 659 | | |
646 | 660 | | |
647 | 661 | | |
| |||
0 commit comments