Hi,
It works!!
thansk!
--
View this message in context:
http://maven.40175.n5.nabble.com/Help-to-add-Oracle-JDBC-driver-tp5659525p5675284.html
Sent from the Maven Developers mailing list archive at Nabble.com.
-
To
Hi,
searching in google i found the solutiĆ³n for the error. but now i have a new
error :(
PS C:\CGSI\apache-maven-3.0.4\lib mvn install:install-file
-Dfile=ojdbc6.jar -DgroupId=com.oracle -DartifactId=ojdbc6 -
Dversion=11.1.0.7.0 -Dpackaging=jar -DgeneratePom=true
[INFO] Scanning for
I created a new directory
Copied the oracle jar into that new directory
Renamed the oracle jar to match your filename
Copied and pasted your command line, as a single line
I get the following below...
The only thing I notice which is different is, that I get:
[INFO] ---
Hi john
I tried all you told me, but i continue with the same error
the result of the mvn -version command
PS C:\ mvn -version
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: C:\CGSI\apache-maven-3.0.4\bin\..
Java version: 1.6.0_31, vendor: Sun Microsystems Inc.
Java home:
Your Java home points to a JRE .. Maven is a Java development tool and
therefore needs the JDK.
On Tue, April 24, 2012 12:57 am, copyto27 wrote:
Hi john
I tried all you told me, but i continue with the same error
the result of the mvn -version command
PS C:\ mvn -version
Apache Maven
I think it might be as simple as add -DgeneratePom=true.
I would suggest not doing it my hand on the command line but create a
separate pom, maybe a module for your project or maybe for your
company where command 3rd party jars can be installed.
i.e.
[...]
build
plugins
plugin
Hi John
I tried too with -DgeneratePom=true but i have the same problem
:(
--
View this message in context:
http://maven.40175.n5.nabble.com/Help-to-add-Oracle-JDBC-driver-tp5659525p5659746.html
Sent from the Maven Developers mailing list archive at Nabble.com.
Try going into the directory which contains the jar, so it's just ...
-Dfile=ojdbc6-11.1.0.7.0.jar ...
On 23 April 2012 16:55, copyto27 cop...@gmail.com wrote:
Hi John
I tried too with -DgeneratePom=true but i have the same problem
:(
--
View this message in context:
If you still get errors can you send over the output from mvn -version
Also if you do the following in a new directory what does it say, mine does:
$ mkdir qwerty-20120423
$ cd qwerty-20120423
$ mvn install:install-file -Dfile=qwerty
[INFO] Scanning for projects...
[INFO]
[INFO]