GitHub user jsarman opened a pull request: https://github.com/apache/wicket/pull/44
Added Optional Declarative Configuration to Cdi Module The user can choose at application initialization whether to force the Cdi Injector to use a declarative approach to Injecting. If forceDeclarative is set in the CdiConfigurator before configuration, then only objects annotated with CdiAware will be passed to the beanManager for injection. This will eliminate Weld 2.0 related warning messages. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jsarman/wicket cdi-declarative Alternatively you can review and apply these changes as the patch at: https://github.com/apache/wicket/pull/44.patch ---- ----