
[id='configuring-the-jdbc-driver-manually_{context}']
= Configuring the JDBC driver manually

[discrete]
== Prerequisites

* A Maven-based application.
* The `module.xml` file created according to relevant {WildFly} instructions.
  This file is necessary to expose the driver through JBoss Modules.

[discrete]
== Procedure

. Edit the `project-defaults.yml` file to define the driver information.
+
In the `swarm` -> `datasources` -> `jdbc-drivers` tree, define the driver by
key, which will be used later for connecting it to the datasource.
+
[source,yaml]
----
swarm:
  datasources:
    jdbc-drivers:
include::src/main/resources/project-defaults.yml[tag=driver,indent=6]
----

