tomivirkki/cdi-mvp — pull request #4 by viljoenp (2014-10-23 19:59:34+00:00)
Title: Updated for vaadin-cdi (1.0.0.beta4 ) 

I'm not sure if this is an optimal solution to the problem, but here goes.

The issue (at least with Glassfish 4.1 and WELD 2.2.5.final ) when you try to implement a MVPView for the Vaadin ViewDisplay and Vaadin Navigator Views as MVPViews ,the application fails to deploy with an error that one (or multiple) of the Presenters have multiple Stereotypes .

To address this in an application I'm working on I changed the AbstractMVPView & AbstractMVPPresener to @ViewScopedStereotype. To accommodate MVPViews that are not ViewScoped I added AbstractUIScopedMVPView & AbstractUIScopedMVPPresenter with the original UIScopedStereotype.

NOTE , I cannot get the one test to work on my setup , it fails with 'Could not find beans for Type=class org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder'

Will have to look into that issue.
My application however does work and deploys & runs properly.