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] ------------------------------------------------------------------------ [INFO] Building Maven Stub Project (No POM) 1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-install-plugin:2.3.1:install-file (default-cli) @ standalone-pom --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.869s [INFO] Finished at: Mon Apr 23 17:05:11 BST 2012 [INFO] Final Memory: 3M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file (default-cli) on project standalone-pom: The artifact information is incomplete or not valid: [ERROR] [0] 'groupId' is missing. [ERROR] [1] 'artifactId' is missing. [ERROR] [2] 'packaging' is missing. [ERROR] [3] 'version' is missing. [ERROR] -> [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: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Which is the correct error when I miss all the require options for install:install-file. John On 23 April 2012 17:00, John Patrick <[email protected]> wrote: > 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 <[email protected]> wrote: >> 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. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
