Hi!!
 
  I am using client_artifact_aliases.properties to change the dependeny. These are the steps I am following.
 
1)Deploy a dbpool sample using db2-8.2 jars.
2)launch the dependency viewer.
3)It shows a dependency on 8.2 jars.
4)Added the following in client_artifact_aliases.properties
com.ibm.db2/db2jcc/8.2/jar=com.ibm.db2/db2jcc/9.1/jar
com.ibm.db2/db2jcc_license_cu/8.2/jar =com.ibm.db2/db2jcc_license_cu/9.1/jar
5)Stop the server.
6)Restart the server.
7)launch the dependency viewer.
8)It shows a dependency on 8.2 jars