Skip to content

fix(examples): remove mavenLocal now that dependencies are released - #42

Merged
Arc-E-Tect merged 1 commit into
mainfrom
fix/remove-maven-local-examples
Jul 18, 2026
Merged

fix(examples): remove mavenLocal now that dependencies are released#42
Arc-E-Tect merged 1 commit into
mainfrom
fix/remove-maven-local-examples

Conversation

@Arc-E-Tect

@Arc-E-Tect Arc-E-Tect commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Removes mavenLocal() from the six new hexagonal-spring-* example projects (both build.gradle and settings.gradle's pluginManagement) and from examples/sedr-library/jacoco-marker/build.gradle.
  • Pins the six examples to the now-released architecture-validator-hexagonal-spring-rules = 0.5.0 and architecture-validator = 0.7.2, replacing the local-only 1.0.0-PRERELEASE / 0.0.1 versions that only ever existed in one machine's ~/.m2 cache.
  • Removes jacoco-marker's now-stale "publish sedr-library locally first" instructions — sedr-library has been on Maven Central since 0.4.5.

These were flagged during review of #41: examples in this repo shouldn't depend on mavenLocal(), since that only works on the machine that happened to publish locally and silently fails for anyone else cloning the repo. That dependency existed only because the underlying artifacts weren't released yet; now that they are (0.5.0 and 0.7.2), it can go away.

hexagonal-spring-rules 0.5.0 and the architecture-validator plugin
0.7.2 are both now published (Maven Central and the Gradle Plugin
Portal respectively), so the six new example projects and jacoco-marker
no longer need mavenLocal() as a fallback repository. Pin to the real
released versions and remove the local-only repository entries so
these examples build for anyone from a clean checkout, not just this
machine's local Maven cache.

Verified every example still produces its documented failure set with
mavenLocal() fully absent from the repositories list (forcing
resolution purely from Maven Central / Gradle Plugin Portal).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@Arc-E-Tect
Arc-E-Tect merged commit 9b20913 into main Jul 18, 2026
@Arc-E-Tect
Arc-E-Tect deleted the fix/remove-maven-local-examples branch July 18, 2026 19:39
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.

1 participant