forked from mathibodeau/petstore
-
Notifications
You must be signed in to change notification settings - Fork 25
Build Profiles
testinfected edited this page Nov 1, 2011
·
9 revisions
The maven build uses 3 different profiles, described next. The profiles and their configurations can be found in the top level pom.xml. In that file, you can configure database username, password, connection url, server port, log file location, etc.
This is the default profile, used for development. You will typically run the web application using this profile (see section Starting the web application).
- The associated database is petstore_dev
- The log file is petstore/logs/development.log
- The default server port is 8080
You will typically activate this profile when deploying the application in the production environment.
- The associated database is petstore
- The log file is petstore/logs/production.log
- The default server port used is 8280
This profile is only available when running the system tests (see section Running the system tests). It is typically used on the integration server to run the system tests against your target application server (e.g. Tomcat).
- The associated database is named petstore_test
- The log file is petstore/logs/test.log
- The default server port used is 8180