maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From copyto27 <cop...@gmail.com>
Subject Help to add Oracle JDBC driver
Date Mon, 23 Apr 2012 14:23:13 GMT
Hi,

I'm traying to add the Oracle JDBC driver to my maven local repository with
this commad:

mvn install:install-file
-Dfile=C:\apache-maven-3.0.4\lib\ojdbc6-11.1.0.7.0.jar -DgroupId=com.oracle
-DartifactId=ojdbc6 -Dversion=11.1.0.7.0 -Dpackaging=jar

but maven return the next error:

[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.249s
[INFO] Finished at: Mon Apr 23 16:06:48 CEST 2012
[INFO] Final Memory: 1M/15M
[INFO]
------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no
POM in this directory (C:\). Please verify
you invoked Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:


What am I doing wrong?

thanks!!

--
View this message in context: http://maven.40175.n5.nabble.com/Help-to-add-Oracle-JDBC-driver-tp5659525p5659525.html
Sent from the Maven Developers mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message