Anirudh Vyas wrote:Hi,
I need oracle drivers for a maven project that i am working on. My question is how to install the drivers on the maven repository (local).
I am looking for complete command line thing for maven.I know that it goes something like:
mvn install:install-file -Dfile={Should i put complete path here?} -DgroupId=org.jdbc.OracleDriver <-- is this right?
I dont know what should come in artifact and version. Can someone give me the whole command line thing?
Any help would be appreciable.
Regards
Vyas, Anirudh
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.3.0 -Dpackaging=jar -Dfile=ojdbc.jar
1 I would like use "CD" to make ojdbc.jar in the current folder, then I can just use -Dfile=ojdbc.jar
2 -DgroupId=com.oracle -DartifactId=ojdbc14
They just identify , you can use whatever you want. we'd better use com.oracle ;org.jdbc.OracleDriver or oracle for DgroupId