Replace @DefaultBean with @Reserve

Apache 2.0

Replace ArC's @DefaultBean annotation with CDI 5.0's @Reserve annotation and add @Priority(0) if not already present. Also replace InjectableBean.isDefaultBean() with Bean.isReserve().

io.quarkus.updates.core.quarkus40.ArcDefaultBeanToReserve
mod run . --recipe=io.quarkus.updates.core.quarkus40.ArcDefaultBeanToReserve

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

Recipe list

It runs these recipes, in this order.

  1. Change type DefaultBean to Reserve
  2. Add @Priority(0) to beans annotated with @Reserve