Repository navigation
BUILD: Stop publishing the example modules - #281
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.ps1now allows an unpublished module inside a published tree and complains if a published pom depends on one.Set-PomVersionsversions 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 andmvn -o validatepasses. Dry run at 54c97dc is green.