The execution of this plugin's mojo can be bound to a phase of build lifecycle. Use the <dependencies> in <plugin> to specify the artifact that has your JDBC driver.
<project>
[...]
<build>
[...]
<plugins>
[...]
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>sql-maven-plugin</artifactId>
<version>1.1</version>
<dependencies>
<!-- specify the dependent jdbc driver here -->
<dependency>
<groupId></groupId>
<artifactId></artifactId>
<version></version>
</dependency>
</dependencies>
<!-- common configuration shared by all executions -->
<configuration>
<driver></driver>
<url></url>
<username></username>
<password></password>
[...]
</configuration>
<executions>
<execution>
<phase></phase>
<goals>
<goal></goal>
</goals>
<!-- specific configuration for this execution -->
<configuration>
<!-- specify your SQL commands, can be all of the following configurations -->
<fileset></fileset>
<sqlCommand></sqlCommand>
<srcFiles>
<srcFile></srcFile>
[...]
</srcFiles>
</configuration>
</execution>
<execution>
[...]
</execution>
[...]
</executions>
</plugin>
[...]
</plugins>
[...]
</build>
[...]
</project>