chore: Improve documentation about creating a JDBC driver library extension
Refer to using the Maven wrapper in docs to make sure that the build is successful.
Add some information how to add the correct system path when custom driver file has been copied.
@@ -40,12 +40,14 @@ driver into the `syndesis-library-jdbc-driver/lib` folder.
for this extension.
... Update the value of the `Description` element to provide helpful
information about this extension.
+... If you have copied the driver into `syndesis-library-jdbc-driver/lib`
+ensure that the `systemPath` in `pom.xml` points to that driver file. Optionally change
+the `groupId`, `artifactId` and `version` to reflect proper values according to the driver.
... If the driver is in a Maven repository, ensure that a reference to
-that Maven repository is in the `pom.xml` file.
+that Maven dependency is in the `pom.xml` file.
... Examine the rest of the content of the `pom.xml` file and change
any relevant metadata as needed.
-.. In the `syndesis-library-jdbc-driver` folder, execute `mvn clean package`
-to build the extension.
+.. Execute `./mvnw -pl :syndesis-library-jdbc-driver clean package` to build the extension.
The generated `.jar` file is in the `syndesis-library-jdbc-driver/target`
folder. Provide this `.jar` file for uploading to {prodname}.
