Hello, all!
I am in troubles and would like to share a scenario here. Hopefully someone has already faced this situation and got a solution. I am using Vaadin 7.1.11 ang generated the app from the archetype (command line interface).
The problem: the widget sets in my application are compiled during Maven compilation’s phase and the generated sources were placed under the source folder (under VAADIN directory, as usual). I believe it has something to do with this configuration in the POM file (which comes from the archetype):
<webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets</webappDirectory>
<hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets</hostedWebapp>
Without these lines, however (when I remove them from the POM), the generated sources are put under the
target
directory instead, not under
src
anymore.
Here comes the problem:
- Letting the generated sources being saved under the
src
folder makes the Maven release plug-in fail (the premise/convention for it to work is to have everything committed to the repository, which is not true to the just generated sources, not yet included because they are fresh stuff) - Letting the generated sources being saved under the
target
folder makes the application complain about the widget set. It says the widget set could not find the widget set.
Do you guys have any idea of how to configure this stuff in order to get Maven release plug-in and vaadin-maven-plugin work together?
Thanks in advance, any help is really welcome!
Regards,
Pedro