This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
documentation:software:webapi:webapi_installation_guide [2017/02/28 15:12] anthonysena |
documentation:software:webapi:webapi_installation_guide [2017/03/02 11:19] prijnbeek [Building the .war file] |
||
---|---|---|---|
Line 84: | Line 84: | ||
</profiles> | </profiles> | ||
</settings> | </settings> | ||
+ | |||
+ | Note: this file above is saved as /WebAPIConfig/settings.xml and will be referred to in the “Building the .war file section”. | ||
+ | |||
+ | **Download the appropriate JDBC driver** | ||
+ | |||
+ | For SQL Server, the driver is available from the Maven repository, so no additional steps are required. | ||
=== PostgreSQL === | === PostgreSQL === | ||
Line 180: | Line 186: | ||
//Make sure you point to a JDK, not a JRE. It is probably a good idea to stick to the same Java version that is running Tomcat// | //Make sure you point to a JDK, not a JRE. It is probably a good idea to stick to the same Java version that is running Tomcat// | ||
- | mvn clean package -s /WebAPIConfig/settings.xml -P {profile id} | + | mvn clean package -s WebAPIConfig/settings.xml -P {profile id} |
This will create the file WebAPI.war in the target subfolder. | This will create the file WebAPI.war in the target subfolder. |