February 2019
Intermediate to advanced
442 pages
11h 46m
English
The profile is a set of configurations for a specific environment, like development, testing, production, and so on. JHipster supports profile management, and comes with two profiles—dev and prod—out of the box. By default, it uses the dev profile. JHipster provides a separate application properties file for each profile.
In production, you need to enable the production profile with the ./mvnw -Pprod command for Maven and the ./gradlew -Pprod command for Gradle. If you need to export an executable WAR file in production, you can use the command ./mvnw -Pprod package for Maven, and ./gradlew -Pprod package for Gradle.