For making War
./gradlew “-Pvaadin.productionMode=true” bootWar --no-build-cache
./gradlew “-Pvaadin.productionMode=true” --no-build-cache bootWar
Both works sometime and fail with same error sometime
PS D:\jmixflow\sheelonline> ./gradlew "-Pvaadin.productionMode=true" --no-build-cache bootWar
[Incubating] Problems report is available at: file:///D:/jmixflow/sheelonline/build/reports/problems/problems-report.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.12.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD SUCCESSFUL in 15s
8 actionable tasks: 5 executed, 3 up-to-date
PS D:\jmixflow\sheelonline> ./gradlew "-Pvaadin.productionMode=true" --no-build-cache bootWar
> Task :vaadinBuildFrontend FAILED
[Incubating] Problems report is available at: file:///D:/jmixflow/sheelonline/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':vaadinBuildFrontend'.
> com.vaadin.flow.server.ExecutionFailedException: PWA icons generation failed
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.12.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 4s
6 actionable tasks: 4 executed, 2 up-to-date
I run same command two times, onetime it is successful and other time failed.