-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Production Build using Vaadin 24.5.6 starts in Development Mode when started from IDE #20581
Comments
Any particular reason why you would expect it to start in production mode in your IDE because you made a build outside the IDE? The production artifact is the jar file in the |
Since it was the behavior thus far :) It would however be nice to be able to start the application in production mode with all the same configurations as in development mode (i.e. Spring Profiles etc.). If I enable the
Even adding |
You can do that by going to your target folder and execute java -jar "your arguments" app.jar |
I know, but |
Description of the bug
When building a Vaadin application using the production profile and starting it from an IDE, it will start up in Development Mode.
Tested with Eclipse and IntelliJ.
Expected behavior
The application starts in production mode. As is the case with Vaadin 24.4.18.
Minimal reproducible example
mvn install -Pproduction
(in IDE or otherwise)Using Vaadin 24.4.18, when following the same steps, the application starts in Production Mode
Using plain
mvn install -Pproduction
andjava -jar
ormvn spring-boot:run -Pproduction
works fine.Versions
The text was updated successfully, but these errors were encountered: