Skip to content

fix(#1054): Resolve split packages in validation sub-packages#1621

Closed
christophd wants to merge 1 commit into
mainfrom
fix/1054
Closed

fix(#1054): Resolve split packages in validation sub-packages#1621
christophd wants to merge 1 commit into
mainfrom
fix/1054

Conversation

@christophd

Copy link
Copy Markdown
Member

Summary

  • Resolves split packages between citrus-api and citrus-base for 5 validation sub-packages (validation.json, validation.xml, validation.ws, validation.script, validation.yaml)
  • Moves YamlMessageValidationContext to citrus-api (zero citrus-base dependencies)
  • Moves remaining 8 validation context implementation classes to new .support sub-packages in citrus-base
  • Updates all import statements across 114 files

This is Phase 1 of #1054 — 5 of 31 overlapping packages are resolved. The remaining 26 packages can be addressed in follow-up PRs using the same pattern.

Migration notes

The following classes have moved to new packages:

Class Old Package New Package
YamlMessageValidationContext o.c.validation.yaml (citrus-base) o.c.validation.yaml (citrus-api)
JsonMessageValidationContext o.c.validation.json o.c.validation.json.support
JsonPathMessageValidationContext o.c.validation.json o.c.validation.json.support
XmlMessageValidationContext o.c.validation.xml o.c.validation.xml.support
XpathMessageValidationContext o.c.validation.xml o.c.validation.xml.support
SoapFaultDetailValidationContext o.c.validation.ws o.c.validation.ws.support
SoapFaultValidationContext o.c.validation.ws o.c.validation.ws.support
DefaultScriptValidationContext o.c.validation.script o.c.validation.script.support
TemplateBasedScriptBuilder o.c.validation.script o.c.validation.script.support

Test plan

  • Full project build passes (./mvnw clean install -DskipTests)
  • CI runs full test suite

🤖 Generated with Claude Code

Move validation context implementation classes out of packages shared
between citrus-api and citrus-base to eliminate split packages flagged
by Quarkus SplitPackageProcessor.

Strategy:
- YamlMessageValidationContext: moved to citrus-api (zero base deps)
- Json contexts: moved to o.c.validation.json.support
- Xml contexts: moved to o.c.validation.xml.support
- WS contexts: moved to o.c.validation.ws.support
- Script contexts: moved to o.c.validation.script.support

This is Phase 1 — 5 of 31 overlapping packages resolved.

Closes #1054

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@christophd christophd closed this Jul 22, 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.

1 participant