Is it possible to create a fat jar that includes all files needed in a vaadin project.
A jar that is created with mvn package -Pproduction must be run inside target folder because needs several generated files or dirs in target directory.
When this jar run outside target directory, it will complain that it cant find several generated files.
mvn package -Pproduction will produce an artifact with all necessary resources needed by Vaadin.
The fat jar is produced by the spring-boot maven plugin.
Usually, with the default configuration of Vaadin and spring-boot maven plugins, the produced fat-jar has all it needs to be executed.