Hello ! I`m trying to install DSpace 1.5.1 on Linux (Red Hat 5), with a database Oracle at a university. I 'm on step six of the installation documentation, with "mvn -Ddb.name=oracle package", but it fails .
I enclosed the files of the output , also with -e option (files step6 and step6_e). I also have configured my file dspace.cfg with: db.name=oracle db.url=jdbc:oracle:thin:@//my_host:1521/sid db.driver=oracle.jdbc.OracleDriver I did on step 3, "mvn install:install-file -Dfile=ojdbc14.jar -DgroupId=com.oracle -DartifactId=ojdbc14 -Dpackaging=jar -DgeneratePom=true" . I first did with 10.2.0.4, but later I changed it with the same version as manual (guide), 10.2.0.2.0. I began with jdk 6, and i`ve change it to five. I did also indicate my proxy, and tryed with quotes. My version of maven is 2.0.9. I don`t know what else to do. It´s somthing urgent.If you can help me, or indicate any web to visit, I`ll be thankfull. María Gómez http://www.nabble.com/file/p20419170/step6 step6 http://www.nabble.com/file/p20419170/step6_e step6_e ------------------------------------------- ------------------------------------------- María Isabel López Sánchez-Huete wrote: > > Hi, Martin. > > You are my hero! I have some tears in my eyes! I spend the last days > thinking about this. You are right: there were two stupid "quotation > marks". I only quoted the argument "install:install-file", and then > (...) > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 31 seconds > [INFO] Finished at: Wed Jul 02 12:37:26 CEST 2008 > [INFO] Final Memory: 3M/124M > [INFO] > ------------------------------------------------------------------------ > > Thank you very much! > > Marisa. > > Martin Höller escribió: >> One more idea: what shell are you using? Try "echo $SHELL" to find out. >> Maybe the colon sign ":" is interpreted by it? Try putting all arguments >> in >> quotes like this: >> >> mvn "install:install-file" "-Dfile=ojdbc14.jar" "-DgroupId=..." >> >> - martin >> >> On Wednesday 02 July 2008 María Isabel López Sánchez-Huete wrote: >>> Hi, Martin >>> >>> Yes, that works fine: >>> >>> $ mvn -version >>> Maven version: 2.0.9 >>> Java version: 1.5.0_06 >>> OS name: "sunos" version: "5.10" arch: "sparc" Family: "unix" >>> >>> It's the way I probe that maven was correctly installed in my computer. >>> >>> Marisa. >>> >>> Martin Höller escribió: >>>> You don't need a pom.xml file for installing an artifact. Jörg just >>>> suspected there existed one which could be the cause for your problems. >>>> >>>> The problems you are facing is not really maven related. Maven gets the >>>> wrong arguments somehow. Does a 'mvn -version' (without quotes) work? >>>> What does it say? It should say something like >>>> >>>> $ mvn -version >>>> Maven version: 2.0.9 >>>> Java version: 1.5.0_15 >>>> OS name: "linux" version: "2.4.34.5-xss-std" arch: "i386" Family: >>>> "unix" >>>> >>>> - martin >>>> >>>> On Wednesday 02 July 2008 María Isabel López Sánchez-Huete wrote: >>>>> Hi, Jörg >>>>> >>>>> No, I don´t have any pom.xml in my current directory. I don´t know >>>>> how maven works, and I only follow exactly the instalation instruction >>>>> of dspace: >>>>> ---------------- >>>>> Setting up oracle is a bit different now. You will need still need to >>>>> get a Copy of the oracle JDBC driver, but instead of copying it into a >>>>> lib directory you will need to install it into your local Maven >>>>> repository. You'll need to download it first from this location: >>>>> http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/j >>>>> dbc _10201.html >>>>> >>>>> $ mvn install:install-file -Dfile=ojdbc14.jar -DgroupId=com.oracle \ >>>>> -DartifactId=ojdbc14 -Dversion=10.2.0.2.0 -Dpackaging=jar >>>>> -DgeneratePom=true ----------------- >>>>> >>>>> There don´t talk about any pom.xml file. Do I must create it? What >>>>> must I write in it? >>>>> >>>>> Thanks, >>>>> >>>>> Marisa. >>>>> >>>>> Jörg Schaible escribió: >>>>>> Hi María, >>>>>> >>>>>> María Isabel López Sánchez-Huete wrote: >>>>>>> Hi, Martin. >>>>>>> >>>>>>> This is the commandline: >>>>>>> >>>>>>> $ mvn -e install:install-file -Dfile=ojdbc14.jar >>>>>>> -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.2.0 >>>>>>> -Dpackaging=jar >>>>>>> -DgeneratePom=true >>>>>>> >>>>>>> It´s the same command tath appears in the installation >>>>>>> instruction of >>>>>>> Dspace. >>>>>>> >>>>>>> Do I mistaked something? >>>>>> Is in your current directory already a pom.xml that might be >>>>>> implicitly loaded also? >>>>>> >>>>>> - Jörg >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> 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] >>> --------------------------------------------------------------------- >>> 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] > > > -- View this message in context: http://www.nabble.com/problem-installing-the-oracle-library-ojdbc14.jar-tp18214538p20419170.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
