Repository navigation
build: depend on Roaster only in codegen-roaster (#374) - #394
Merged
AndreasIgel merged 1 commit intoNov 10, 2026
Merged
AndreasIgel merged 1 commit into
AndreasIgel merged 1 commit into
Conversation
processor declared roaster-api and roaster-jdt itself although it uses no Roaster class; both now arrive transitively through codegen-roaster. The unused roaster.version property is removed from processor, simple-processor, codegen-core and codegen-testing.
5 tasks
devin-ai-integration
Bot
deleted the
devin/1794290057-roaster-transitive
branch
November 22, 2026 14:24
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.
Closes #374.
What was wrong
processor(simple-builder) declaredroaster-apiandroaster-jdtitself, although none of its classes uses a Roaster type. Four modules also still carried aroaster.versionproperty that onlycodegen-roasterneeds.Change
processor/pom.xml: remove the directorg.jboss.forge.roaster:roaster-apiandroaster-jdtdependencies.processor,simple-processor,codegen-core,codegen-testing: remove the unusedroaster.versionproperty.POM-only, 16 deleted lines. No source changes were needed: no file outside
codegen-roasterimportsorg.jboss.forge.roaster.*.Result
mvn dependency:tree -Dincludes=org.jboss.forge.roaster:codegen-roasterroaster-apicompile,roaster-jdtruntime)simple-processorcodegen-roasterprocessorcodegen-roastercore,codegen-core,codegen-testingVerification
mvn clean installis green (568 tests), and the generated example sources are unchanged.Not in this PR
processorstill declares the internal modulecodegen-roasterdirectly. Its main code only names it in one javadoc;RoasterCodeGeneratorResilienceTestusesRoasterCodeGeneratordirectly. That test is a candidate to move tocodegen-roasterunder #390, after which the direct declaration can go.