Vaadin 14: не генерирует stats.json
Пытаюсь задеплоить spring boot + vaadin 14 на wildfly поставленный на debian. Настроил ci через gitlab.
build:
stage: build
tags: [runner-production]
script: ./mvnw -e -X clean vaadin:prepare-frontend vaadin:build-frontend
production:
stage: deploy
tags: [runner-production]
script:
./mvnw -e -X wildfly:deploy
Когда maven делает vaadin:build-frontend в логах пишет
Updated /home/gitlab-runner/builds/a41nNuzA/0/a.charov/admin/target/frontend/generated-flow-imports-fallback.js
[INFO] Updated /home/gitlab-runner/builds/a41nNuzA/0/a.charov/admin/target/frontend/generated-flow-imports.js
Emitted /home/gitlab-runner/builds/a41nNuzA/0/a.charov/admin/target/classes/META-INF/VAADIN/config/stats.json
Build проходит успешно, но файлы в этих директориях не появляются. Когда обращаюсь к сайту получаю Internal server error. В логах wildfly
java.io.IOException: The stats file from webpack (stats.json) was not found.
The application is running in production mode.Verify that build-frontend task has executed successfully
and that stats.json is on the classpath.Or switch application to development mode
Как починить подобное?