Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Help with multi-module Maven: production profile does not compile my addon
Hi,
I'm using a multi module maven project create with vaadin archetype
myproject
myproject-ui
myproject-widgetset
myproject-production
I have developed an addon inside myproject-widgetset
myproject-widgetset declares other addons
mvn clean package
compiles both theme and widgeset and create a war with all working addon
mvn -Pproduction clean package
re-compiles both theme and widgeset but when I start application, my addon is missing
The Error is very common:
Widgetset does not contain implementation for MyAddOn. Check its component connector's @Connect mapping, widgetsets GWT module description file and re-compile your widgetset. In case you have downloaded a vaadin add-on package, you might want to refer to add-on instructions.
Widgetset is compiled correctly in war from myproject-ui
Using production profile, it seems that gwt compiler does not consider my addon
Where can I find any clue to understand such behaviour ?
mvn -X output is pretty huge to understand
Eventually I modified production profile to avoid widgetset re-compilation and the war is working
Regards
I have the same problem, can u fix this?
I put my dependencies em myproject-widgetset and when I try to run, the add on dont show.
tks
mvn vaadin:update-widgetset install
run this in myproject
Hi,
I think I've a different issue, my addon does not show in a war build with "production" profile.
Such profile re-compile widgetset optimizing its size so it does not care if widgeset is already compiled