Skip to content

BUILD: Stop publishing the example modules - #281

Merged
jwrosewell merged 3 commits into
rcfrom
build/stop-publishing-examples
Dec 3, 2026
Merged

jwrosewell merged 3 commits into
rcfrom
build/stop-publishing-examples

Conversation

@jwrosewell

@jwrosewell jwrosewell commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Stops publishing the Pipeline developer and geo-location examples to Maven Central. The spec says examples aren't shipped as artifacts. Those 15 modules still build and test, they just aren't uploaded.

ci/packages.ps1 now allows an unpublished module inside a published tree and complains if a published pom depends on one. Set-PomVersions versions the unpublished modules too, otherwise the publish build dies on "Non-resolvable parent POM".

New Pester tests in ci/packages.Tests.ps1. Ran the publish plan from a scratch clone and mvn -o validate passes. Dry run at 54c97dc is green.

jwrosewell and others added 3 commits December 3, 2026 07:18
The Pipeline developer examples and the geo-location examples are built and
tested as before, but no longer published to Maven Central. Their entries in
ci/packages.json have Publish false. The packages.json check accepts an
unpublished module in a published tree and names a published module that
refers to one. Set-PomVersions gives each unpublished module the versions of
the published packages it refers to and keeps its own, so the reactor that
builds the published modules still resolves every parent.
@jwrosewell
jwrosewell marked this pull request as ready for review December 3, 2026 17:11
@jwrosewell
jwrosewell merged commit 8830665 into rc Dec 3, 2026
6 checks passed
@jwrosewell
jwrosewell deleted the build/stop-publishing-examples branch December 3, 2026 17:11
@jwrosewell jwrosewell mentioned this pull request Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants