|
Although the relevant plugins in the archetypes have a dependency configured that allows switching of the database driver using the properties no such dependency exists for the build itself. The MySql driver is inherited from the AppFuse dependencies, but this will not be the case when users want to use another database.
The following needs to be added as a dependency to the pom of all archetypes to allow users to switch databases by changing the relevant properties:
<dependency>
<groupId>${jdbc.groupId}</groupId>
<artifactId>${jdbc.artifactId}</artifactId>
<version>${jdbc.version}</version>
</dependency>
|