Querying neo4j graph database with multiple versions

Dears,

I made a maven project with multiple modules, each module has an implementation to request data from the graph database using a different neo4j java driver.

unfortunately, one java driver is loaded not all of them.

1- the question is how to use different java drivers within the same project, I mean is there a factory version or API that receives the version of the driver?

and what if I upgrade my dependencies to the latest version and I was using a method that has been removed from newer versions.

2- how to handle this without code modifications?
3- Is the driver version related to neo4j desktop version?
thanks