So your POM needs an entry like this (sorry if this is teaching you how to suck eggs, but you didn't post your POM):
Code:
<project ...
...
<dependencies>
<dependency>
<groupId>com.ibm</groupId>
<artifactId>db2jcc</artifactId>
<version>3.50.152</version>
</dependency>
</dependencies>
...
</project>
The other thing you can check is whether the install-file goal actually saved the driver as <user_home>/.m2/repository/com/ibm/db2jcc/3.50.152/db2jcc-3.50.152.jar.
Andrew Swan
"Now is the EJB of our discontent made glorious Spring"