Declare the Axon Framework 5 modules of the annotations AxonIQ adds

Proprietary

AxonIQ's recipes annotate events, commands and queries with Axon Framework 5's @Event, @EventTag, @Command and @Query. A module that only held those classes, such as a shared API module, often declared no Axon dependency in Axon Framework 4, or only axon-modelling, so it no longer compiles. Such a module gets axon-messaging or axon-eventsourcing where it uses their types and doesn't already have them on its classpath.

io.moderne.axon.DeclareAxon5AnnotationModules
mod run . --recipe=io.moderne.axon.DeclareAxon5AnnotationModules

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.