Repository navigation
ci: install processor's reactor dependencies for fork Sonar classpath - #411
Merged
AndreasIgel merged 2 commits intoNov 15, 2026
Merged
Conversation
dependency:build-classpath resolves the full dependency graph of the processor module, which since the codegen module extraction includes codegen-core, simple-processor, codegen-roaster and codegen-testing SNAPSHOTs. Those artifacts exist only in the checkout, so resolution failed on a clean runner before the classpath could be computed. Installing processor with -am puts all required sibling modules into the local repository and stays correct if processor's module deps change again. Also exclude the io.github.java-helpers.codegen group from the computed library list so internal modules are not reported as external libraries. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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.
Summary
Fork SonarCloud (manual approval)workflow: thesonarjob dies in"Resolve dependency classpath from the trusted base pom" because
mvn -pl processor dependency:build-classpathcannot resolve processor'ssibling SNAPSHOTs (
codegen-core,simple-processor,codegen-roaster,codegen-testing) — they exist only in the checkout, not in any remoterepository or the runner's local repository.
mvn -pl core install, which installs onlycore. It was not updated when the codegen modules were extracted(codegen: extract codegen modules (codegen-core, codegen-roaster, simple-processor, codegen-testing) #368) and
codegen-testingwas consumed as a test dependency (build: consume test dependencies through codegen-testing #392, issue Testing helpers should be moved to own project too #375).processorwith-amso all of its in-reactor dependenciesare built and installed from the trusted base checkout. This stays correct if
processor's module dependencies change again.
io.github.java-helpers.codegengroup (introduced by the moduleextraction) to
-DexcludeGroupIds, so internal modules are not reported asexternal libraries in
sonar.java.libraries.Failure reference: https://github.com/java-helpers/simple-builders/actions/runs/43754992648