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 projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building ojdbc6 11.1.0.7.0 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-install-plugin:2.3.1:install-file (default-cli) @ ojdbc6 --- [INFO] Installing C:\CGSI\apache-maven-3.0.4\lib\ojdbc6 to C:\Users\emeanavallin\.m2\repository\com\ojdbc6\11\ojdbc6-11. jar [INFO] Installing C:\Users\EMEANA~1\AppData\Local\Temp\mvninstall5076381426630896449.pom to C:\Users\emeanavallin\.m2\re pository\com\ojdbc6\11\ojdbc6-11.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building ojdbc6 11.1.0.7.0 [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.862s [INFO] Finished at: Wed Apr 25 11:34:43 CEST 2012 [INFO] Final Memory: 2M/15M [INFO] ------------------------------------------------------------------------ [ERROR] Unknown lifecycle phase ".jar". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix> :<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, i nitialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate- test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [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/LifecyclePhaseNotFoundException could you help me please...? -- View this message in context: http://maven.40175.n5.nabble.com/Help-to-add-Oracle-JDBC-driver-tp5659525p5664349.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]
