Unable to connect to my SQL Server database

I want to use Camunda Workflow engine and connect it to MS SQL Server database. For that I changed the database credentials in the camunda.cfg.prefix.xml file inside the ‘processEngineConfiguration’ bean in the following four properties:
jdbcUrl
jdbcPassword
jdbcUsername
jdbcDriver ,

Also i added mssql-jdbc version 6.1.0.jre8 dependency in my pom.
Still it is getting connected to in-memory h2 database.
How can I connect it to my ms sql server database??