You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by María Isabel López Sánchez-Huete <ma...@ugr.es> on 2008/07/01 13:42:16 UTC
problem installing the oracle library ojdbc14.jar
Hí,
I'm a beginner in this matter, and I'm lost. I expect somebody can
help me.
I´m trying to install dspace 1.5 on Solaris 10 in a SPARC computer.
I read the installation documentation, and follow the steps.
My problems is about installing the oracle library ojdbc14.jar. I
put in my current directory the ojdbc14.jar file, but when I run
mvn -e -X install:install-file -Dfile=ojdbc14.jar -DgroupId=com.oracle
-DartifactId=ojdbc14 -Dversion=10.2.0.2.0 -Dpackaging=jar -DgeneratePom=true
The following error appears (I reproduce only the first lines):
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: ' -X install'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven- -X install-plugin:
checking for updates from central
[WARNING] POM for 'org.apache.maven.plugins:maven- -X
install-plugin:pom:LATEST' is invalid. It will be ignored for artifact
resolution. Reason: Failed to validate POM for project
org.apache.maven.plugins:maven- -X install-plugin at Artifact
[org.apache.maven.plugins:maven- -X install-plugin:pom:LATEST]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.apache.maven.plugins
ArtifactId: maven- -X install-plugin
Version: LATEST
Reason: Unable to determine the latest version
org.apache.maven.plugins:maven- -X install-plugin:pom:LATEST
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build
project information for plugin 'org.apache.maven.plugins:maven- -X
install-plugin': POM 'org.apache.maven.plugins:maven- -X install-plugin'
not found in repository: Unable to determine the latest version
org.apache.maven.plugins:maven- -X install-plugin:pom:LATEST
(...)
Any idea? Thanks in advance.
--
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: "Re: problem installing the oracle library ojdbc14.jar"
Posted by Martin Höller <ma...@xss.co.at>.
On 10 Nov 2008, M Gomez wrote:
> 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 .
Which installation instructions? Please provide a link if possible.
> I enclosed the files of the output , also with -e option (files step6 and
> step6_e).
Attachments usually don't come through on this list and they didn't come
through this time, so we have no information about where your build
fails. Please copy and paste the relevant information into your next
mail, so we can look into it.
[...]
> It´s somthing urgent.
Only to you...
Phrases like this usually don't motivate any of the volunteers on this
list.
best regards,
- martin
Re: "Re: problem installing the oracle library ojdbc14.jar"
Posted by Wayne Fay <wa...@gmail.com>.
> 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 would strongly encourage you to work with the DSpace users list or
dev team to resolve your problems, rather than the Maven users list.
If you're having problems with the DSpace documentation, they need to
know this so they can fix it for future users of the tool who will
also (probably) run into the same problems -- if the DSpace devs need
help solving your problems, then I'd expect to see them asking
questions on this list, not their users.
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: "Re: problem installing the oracle library ojdbc14.jar"
Posted by Martin Höller <ma...@xss.co.at>.
On Thursday 13 November 2008 M Gomez wrote:
> Now I am stopped with the step 7, that gives me an error of compilation:
The error you gave us is not a compile error, it's a java exception
regarding database initialization.
Again, this has nothing to do with maven! Ask the DSpace guys!
- martin
Re: "Re: problem installing the oracle library ojdbc14.jar"
Posted by M Gomez <mg...@cic.upo.es>.
Hi all !
Finally I solved the problem with step 3/6, doing again step 3 with dspace
user, and changing the permissions of folder [dspace-source] .
Now I am stopped with the step 7, that gives me an error of compilation:
BUILD FAILED
[dspace-1.5.1-release]/dspace/target/dspace-1.5.1-build.dir/build.xml:380:
Java returned: 1
When I repeated the comand redirecting it to a file, I obtained this other:
-----------------------------------------------------------------------
Buildfile: build.xml
init_installation:
init_configs:
setup_database:
[java] 2008-11-12 11:52:19,805 INFO
org.dspace.core.ConfigurationManager @ Loading system provided config
property (-Ddspace.configuration): config/dspace.cfg
[java] 2008-11-12 11:52:19,820 INFO
org.dspace.core.ConfigurationManager @ Using default log4j provided log
configuration,if uninitended, check your dspace.cfg for (log.init.config)
[java] 2008-11-12 11:52:19,821 INFO
org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
[java] 2008-11-12 11:52:20,059 FATAL
org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
[java] java.sql.SQLException: Excepción de E/S: Got minus one from a
read call
[java] at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
[java] at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
[java] at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
[java] at
oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
[java] at
oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)
[java] at
oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
[java] at
oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
[java] at
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
[java] at
java.sql.DriverManager.getConnection(DriverManager.java:525)
[java] at
java.sql.DriverManager.getConnection(DriverManager.java:171)
[java] at
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:65)
[java] at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
[java] at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
[java] at
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:176)
[java] at
java.sql.DriverManager.getConnection(DriverManager.java:525)
[java] at
java.sql.DriverManager.getConnection(DriverManager.java:193)
[java] at
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:550)
[java] at
org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:923)
[java] at
org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:100)
----------------------------------------------------------------------------
Can you tell me why it fails?
Do I make it bad repeating the order when it fails?, Do I must execute
another command before repeat it again as "ant clean"?
Thanks, María
--
View this message in context: http://www.nabble.com/problem-installing-the-oracle-library-ojdbc14.jar-tp18214538p20478542.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: "Re: problem installing the oracle library ojdbc14.jar"
Posted by M Gomez <mg...@cic.upo.es>.
At first, when I tryed to install the ojdbc14.jar it failed due to the proxy
(I`d not configure it ).
Later it went right, and the file is in my local repository
.../.m2/repository/com/oracle/ojdbc14/ ...
I`m now asking the DSpace-tech list too, thanks.
María
matinh wrote:
>
> On Tuesday 11 November 2008 M Gomez wrote:
>> Hi !
>>
>> I`m using the guide of DSpace 1.5.1, in the
>> http://www.dspace.org/1_5_1Documentation/ . In the section 3.2.3.
>> Installation, I did the step 3, a) to install the ojdbc14.jar (with "mvn
>> install:install-file -Dfile=ojdbc14.jar ... "),
>
> According to the error message from below, this step (installation of
> ojdbc14.jar) went wrong. Did it bring up any errors? Do you have the
> ojdbc14-10.2.0.2.0.jar file in you local repository
> (~/.m2/repository/...)?
>
> As Wayne wrote in his mail, it's probably better to ask on a DSpace
> related
> list.
>
> hth,
> - martin
>
>
>
--
View this message in context: http://www.nabble.com/problem-installing-the-oracle-library-ojdbc14.jar-tp18214538p20435380.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: "Re: problem installing the oracle library ojdbc14.jar"
Posted by Martin Höller <ma...@xss.co.at>.
On Tuesday 11 November 2008 M Gomez wrote:
> Hi !
>
> I`m using the guide of DSpace 1.5.1, in the
> http://www.dspace.org/1_5_1Documentation/ . In the section 3.2.3.
> Installation, I did the step 3, a) to install the ojdbc14.jar (with "mvn
> install:install-file -Dfile=ojdbc14.jar ... "),
According to the error message from below, this step (installation of
ojdbc14.jar) went wrong. Did it bring up any errors? Do you have the
ojdbc14-10.2.0.2.0.jar file in you local repository (~/.m2/repository/...)?
As Wayne wrote in his mail, it's probably better to ask on a DSpace related
list.
hth,
- martin
Re: "Re: problem installing the oracle library ojdbc14.jar"
Posted by M Gomez <mg...@cic.upo.es>.
Hi !
I`m using the guide of DSpace 1.5.1, in the
http://www.dspace.org/1_5_1Documentation/ . In the section 3.2.3.
Installation, I did the step 3, a) to install the ojdbc14.jar (with "mvn
install:install-file -Dfile=ojdbc14.jar ... "), and I'm now in step 6 with
Oracle, to generate the dspace package, and it fails with "Failed to
resolved the artifact".
I've request my subscritpion to the maven developers list now, and to
DSpace-tech (thanks ;-) ).
I tryed to attach files in my previos message (at the end of the message,
with my name).
The text of the build error with -e option is the next:
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] DSpace Addon Modules
[INFO] DSpace XML-UI (Manakin) :: Web Application
[INFO] DSpace LNI :: Web Application
[INFO] DSpace OAI :: Web Application
[INFO] DSpace JSP-UI :: Web Application
[INFO] DSpace SWORD :: Web Application
[INFO] DSpace Assembly and Configuration
[INFO]
------------------------------------------------------------------------
[INFO] Building DSpace Addon Modules
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO]
------------------------------------------------------------------------
[INFO] Building DSpace XML-UI (Manakin) :: Web Application
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://repo1.maven.org/maven2/com/oracle/ojdbc14/10.2.0.2.0/ojdbc14-10.2.0.2.0.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) com.oracle:ojdbc14:jar:10.2.0.2.0
Try downloading the file manually from:
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
Then, install it using the command:
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14
-Dversion=10.2.0.2.0 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=com.oracle -DartifactId=ojdbc14
-Dversion=10.2.0.2.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1) org.dspace.modules:xmlui:war:1.5.1
2) com.oracle:ojdbc14:jar:10.2.0.2.0
----------
1 required artifact is missing.
for artifact:
org.dspace.modules:xmlui:war:1.5.1
from the specified remote repositories:
maven.dspace.org/snapshot (http://maven.dspace.org/snapshot),
central (http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
----------
1) com.oracle:ojdbc14:jar:10.2.0.2.0
Try downloading the file manually from:
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
Then, install it using the command:
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14
-Dversion=10.2.0.2.0 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=com.oracle -DartifactId=ojdbc14
-Dversion=10.2.0.2.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1) org.dspace.modules:xmlui:war:1.5.1
2) com.oracle:ojdbc14:jar:10.2.0.2.0
----------
1 required artifact is missing.
for artifact:
org.dspace.modules:xmlui:war:1.5.1
from the specified remote repositories:
maven.dspace.org/snapshot (http://maven.dspace.org/snapshot),
central (http://repo1.maven.org/maven2)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:575)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by:
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
Missing:
----------
1) com.oracle:ojdbc14:jar:10.2.0.2.0
Try downloading the file manually from:
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
Then, install it using the command:
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14
-Dversion=10.2.0.2.0 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=com.oracle -DartifactId=ojdbc14
-Dversion=10.2.0.2.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1) org.dspace.modules:xmlui:war:1.5.1
2) com.oracle:ojdbc14:jar:10.2.0.2.0
----------
1 required artifact is missing.
for artifact:
org.dspace.modules:xmlui:war:1.5.1
from the specified remote repositories:
maven.dspace.org/snapshot (http://maven.dspace.org/snapshot),
central (http://repo1.maven.org/maven2)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:324)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:288)
at
org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1415)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:405)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Thu Nov 06 13:26:02 CET 2008
[INFO] Final Memory: 11M/21M
[INFO]
------------------------------------------------------------------------
------------- End of the ouptput -------------------------------------------
Baptiste MATHUS-4 wrote:
>
> Well, I have difficulties to understand what your problem is. From your
> subject, I seem to understand you can't install oracle jdbc driver jar,
> but
> what you describe doesn't match imo.
> What is your problem? Maybe you also try to attach files? If so, then it
> might have been deleted by the ML system. So try and give the relevant
> information so we can help you.
>
> Cheers.
>
> 2008/11/10 M Gomez <mg...@cic.upo.es>
>
>>
>> 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.
>>
> FILES attached ? :
>
>> María Gómez http://www.nabble.com/file/p20419170/step6 step6
>> http://www.nabble.com/file/p20419170/step6_e step6_e
>
>>
>> -------------------------------------------
>> -------------------------------------------
>>
>
> --
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor !
>
>
--
View this message in context: http://www.nabble.com/problem-installing-the-oracle-library-ojdbc14.jar-tp18214538p20435063.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: "Re: problem installing the oracle library ojdbc14.jar"
Posted by Baptiste MATHUS <ml...@batmat.net>.
Well, I have difficulties to understand what your problem is. From your
subject, I seem to understand you can't install oracle jdbc driver jar, but
what you describe doesn't match imo.
What is your problem? Maybe you also try to attach files? If so, then it
might have been deleted by the ML system. So try and give the relevant
information so we can help you.
Cheers.
2008/11/10 M Gomez <mg...@cic.upo.es>
>
> 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: users-unsubscribe@maven.apache.org
> >>>>>> For additional commands, e-mail: users-help@maven.apache.org
> >>>>> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>>>> For additional commands, e-mail: users-help@maven.apache.org
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
>
> --
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !
"Re: problem installing the oracle library ojdbc14.jar"
Posted by M Gomez <mg...@cic.upo.es>.
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: users-unsubscribe@maven.apache.org
>>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: problem installing the oracle library ojdbc14.jar
Posted by María Isabel López Sánchez-Huete <ma...@ugr.es>.
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: users-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: problem installing the oracle library ojdbc14.jar
Posted by Martin Höller <ma...@xss.co.at>.
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: users-unsubscribe@maven.apache.org
> >>> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
Re: problem installing the oracle library ojdbc14.jar
Posted by María Isabel López Sánchez-Huete <ma...@ugr.es>.
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/jdbc
>> _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: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: problem installing the oracle library ojdbc14.jar
Posted by Martin Höller <ma...@xss.co.at>.
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/jdbc
>_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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
Re: problem installing the oracle library ojdbc14.jar
Posted by María Isabel López Sánchez-Huete <ma...@ugr.es>.
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/jdbc_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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: problem installing the oracle library ojdbc14.jar
Posted by Jörg Schaible <Jo...@Elsag-Solutions.com>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: problem installing the oracle library ojdbc14.jar
Posted by María Isabel López Sánchez-Huete <ma...@ugr.es>.
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?
Martin Höller escribió:
> On Wednesday 02 July 2008 María Isabel López Sánchez-Huete wrote:
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>> GroupId: org.apache.maven.plugins
>> ArtifactId: maven- install-plugin
>> Version: LATEST
>> Reason: Unable to determine the latest version
>> org.apache.maven.plugins:maven- install-plugin:pom:LATEST
>
> The ArtifactId should be "maven-install-plugin" not "maven- install-plugin".
> Note the additional whitespace!
>
> What _exactly_ is your commandline? Did you put quotes around "install"? Or
> did you specify the install plugin somewhere in your pom.xml?
>
> hth,
> - martin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: problem installing the oracle library ojdbc14.jar
Posted by Martin Höller <ma...@xss.co.at>.
On Wednesday 02 July 2008 María Isabel López Sánchez-Huete wrote:
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> GroupId: org.apache.maven.plugins
> ArtifactId: maven- install-plugin
> Version: LATEST
> Reason: Unable to determine the latest version
> org.apache.maven.plugins:maven- install-plugin:pom:LATEST
The ArtifactId should be "maven-install-plugin" not "maven- install-plugin".
Note the additional whitespace!
What _exactly_ is your commandline? Did you put quotes around "install"? Or
did you specify the install plugin somewhere in your pom.xml?
hth,
- martin
Re: problem installing the oracle library ojdbc14.jar
Posted by María Isabel López Sánchez-Huete <ma...@ugr.es>.
Hi, Stefan
The firts time I executed without the -X optión.
I try one more time, and this is the output:
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: ' install'.
[WARNING] POM for 'org.apache.maven.plugins:maven-
install-plugin:pom:LATEST' is invalid. It will be ignored for artifact
resolution. Reason: Failed to validate POM for project
org.apache.maven.plugins:maven- install-plugin at Artifact
[org.apache.maven.plugins:maven- install-plugin:pom:LATEST]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.apache.maven.plugins
ArtifactId: maven- install-plugin
Version: LATEST
Reason: Unable to determine the latest version
org.apache.maven.plugins:maven- install-plugin:pom:LATEST
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build
project information for plugin 'org.apache.maven.plugins:maven-
install-plugin': POM 'org.apache.maven.plugins:maven- install-plugin'
not found in repository: Unable to determine the latest version
org.apache.maven.plugins:maven- install-plugin:pom:LATEST
for project org.apache.maven.plugins:maven- install-plugin
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1542)
(...)
Thanks again.
Stefan Seidel escribió:
> Ok, it just seemed to be because the output is very weird:
>
> >>> [INFO] Searching repository for plugin with prefix: ' -X install'.
> >>> [INFO] org.apache.maven.plugins: checking for updates from central
> >>> [INFO] org.codehaus.mojo: checking for updates from central
> >>> [INFO] artifact org.apache.maven.plugins:maven- -X install-plugin:
> >>> checking for updates from central
> >>> [WARNING] POM for 'org.apache.maven.plugins:maven- -X
> >>> install-plugin:pom:LATEST' is invalid. It will be ignored for
> >>> artifact resolution. Reason: Failed to validate POM for project
> >>> org.apache.maven.plugins:maven- -X install-plugin at Artifact
> >>> [org.apache.maven.plugins:maven- -X install-plugin:pom:LATEST]
>
> Do you see all the "-X"? it seemed to search for a "maven- -X
> install-plugin" and it surely won't find that.
>
> Stefan
>
> María Isabel López Sánchez-Huete wrote:
>> Thank you, for your rapid answer.
>>
>> I guess it´s not the problem. These options only shows a more
>> detailled error message. The build error is the same without these
>> options.
>>
>> Any other idea?
>>
>> Stefan Seidel escribió:
>>> hi,
>>>
>>> the problem seems to be your -X. Try without -e and without -X.
>>>
>>> Stefan
>>>
>>> María Isabel López Sánchez-Huete wrote:
>>>> Hí,
>>>>
>>>> I'm a beginner in this matter, and I'm lost. I expect somebody
>>>> can help me.
>>>>
>>>> I´m trying to install dspace 1.5 on Solaris 10 in a SPARC computer.
>>>>
>>>> I read the installation documentation, and follow the steps.
>>>>
>>>> My problems is about installing the oracle library ojdbc14.jar.
>>>> I put in my current directory the ojdbc14.jar file, but when I run
>>>> mvn -e -X install:install-file -Dfile=ojdbc14.jar
>>>> -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.2.0
>>>> -Dpackaging=jar -DgeneratePom=true
>>>> The following error appears (I reproduce only the first lines):
>>>> + Error stacktraces are turned on.
>>>> [INFO] Scanning for projects...
>>>> [INFO] Searching repository for plugin with prefix: ' -X install'.
>>>> [INFO] org.apache.maven.plugins: checking for updates from central
>>>> [INFO] org.codehaus.mojo: checking for updates from central
>>>> [INFO] artifact org.apache.maven.plugins:maven- -X install-plugin:
>>>> checking for updates from central
>>>> [WARNING] POM for 'org.apache.maven.plugins:maven- -X
>>>> install-plugin:pom:LATEST' is invalid. It will be ignored for
>>>> artifact resolution. Reason: Failed to validate POM for project
>>>> org.apache.maven.plugins:maven- -X install-plugin at Artifact
>>>> [org.apache.maven.plugins:maven- -X install-plugin:pom:LATEST]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>> [INFO] Failed to resolve artifact.
>>>> GroupId: org.apache.maven.plugins
>>>> ArtifactId: maven- -X install-plugin
>>>> Version: LATEST
>>>> Reason: Unable to determine the latest version
>>>> org.apache.maven.plugins:maven- -X install-plugin:pom:LATEST
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>> [INFO] Trace
>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to
>>>> build project information for plugin
>>>> 'org.apache.maven.plugins:maven- -X install-plugin': POM
>>>> 'org.apache.maven.plugins:maven- -X install-plugin' not found in
>>>> repository: Unable to determine the latest version
>>>> org.apache.maven.plugins:maven- -X install-plugin:pom:LATEST
>>>> (...)
>>>>
>>>> Any idea? Thanks in advance.
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: problem installing the oracle library ojdbc14.jar
Posted by Stefan Seidel <ss...@vub.de>.
Ok, it just seemed to be because the output is very weird:
>>> [INFO] Searching repository for plugin with prefix: ' -X install'.
>>> [INFO] org.apache.maven.plugins: checking for updates from central
>>> [INFO] org.codehaus.mojo: checking for updates from central
>>> [INFO] artifact org.apache.maven.plugins:maven- -X install-plugin:
>>> checking for updates from central
>>> [WARNING] POM for 'org.apache.maven.plugins:maven- -X
>>> install-plugin:pom:LATEST' is invalid. It will be ignored for
>>> artifact resolution. Reason: Failed to validate POM for project
>>> org.apache.maven.plugins:maven- -X install-plugin at Artifact
>>> [org.apache.maven.plugins:maven- -X install-plugin:pom:LATEST]
Do you see all the "-X"? it seemed to search for a "maven- -X
install-plugin" and it surely won't find that.
Stefan
María Isabel López Sánchez-Huete wrote:
> Thank you, for your rapid answer.
>
> I guess it´s not the problem. These options only shows a more
> detailled error message. The build error is the same without these options.
>
> Any other idea?
>
> Stefan Seidel escribió:
>> hi,
>>
>> the problem seems to be your -X. Try without -e and without -X.
>>
>> Stefan
>>
>> María Isabel López Sánchez-Huete wrote:
>>> Hí,
>>>
>>> I'm a beginner in this matter, and I'm lost. I expect somebody
>>> can help me.
>>>
>>> I´m trying to install dspace 1.5 on Solaris 10 in a SPARC computer.
>>>
>>> I read the installation documentation, and follow the steps.
>>>
>>> My problems is about installing the oracle library ojdbc14.jar. I
>>> put in my current directory the ojdbc14.jar file, but when I run
>>> mvn -e -X install:install-file -Dfile=ojdbc14.jar
>>> -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.2.0
>>> -Dpackaging=jar -DgeneratePom=true
>>> The following error appears (I reproduce only the first lines):
>>> + Error stacktraces are turned on.
>>> [INFO] Scanning for projects...
>>> [INFO] Searching repository for plugin with prefix: ' -X install'.
>>> [INFO] org.apache.maven.plugins: checking for updates from central
>>> [INFO] org.codehaus.mojo: checking for updates from central
>>> [INFO] artifact org.apache.maven.plugins:maven- -X install-plugin:
>>> checking for updates from central
>>> [WARNING] POM for 'org.apache.maven.plugins:maven- -X
>>> install-plugin:pom:LATEST' is invalid. It will be ignored for
>>> artifact resolution. Reason: Failed to validate POM for project
>>> org.apache.maven.plugins:maven- -X install-plugin at Artifact
>>> [org.apache.maven.plugins:maven- -X install-plugin:pom:LATEST]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Failed to resolve artifact.
>>> GroupId: org.apache.maven.plugins
>>> ArtifactId: maven- -X install-plugin
>>> Version: LATEST
>>> Reason: Unable to determine the latest version
>>> org.apache.maven.plugins:maven- -X install-plugin:pom:LATEST
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Trace
>>> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to
>>> build project information for plugin 'org.apache.maven.plugins:maven-
>>> -X install-plugin': POM 'org.apache.maven.plugins:maven- -X
>>> install-plugin' not found in repository: Unable to determine the
>>> latest version
>>> org.apache.maven.plugins:maven- -X install-plugin:pom:LATEST
>>> (...)
>>>
>>> Any idea? Thanks in advance.
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: problem installing the oracle library ojdbc14.jar
Posted by María Isabel López Sánchez-Huete <ma...@ugr.es>.
Thank you, for your rapid answer.
I guess it´s not the problem. These options only shows a more
detailled error message. The build error is the same without these options.
Any other idea?
Stefan Seidel escribió:
> hi,
>
> the problem seems to be your -X. Try without -e and without -X.
>
> Stefan
>
> María Isabel López Sánchez-Huete wrote:
>> Hí,
>>
>> I'm a beginner in this matter, and I'm lost. I expect somebody
>> can help me.
>>
>> I´m trying to install dspace 1.5 on Solaris 10 in a SPARC computer.
>>
>> I read the installation documentation, and follow the steps.
>>
>> My problems is about installing the oracle library ojdbc14.jar. I
>> put in my current directory the ojdbc14.jar file, but when I run
>> mvn -e -X install:install-file -Dfile=ojdbc14.jar
>> -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.2.0
>> -Dpackaging=jar -DgeneratePom=true
>> The following error appears (I reproduce only the first lines):
>> + Error stacktraces are turned on.
>> [INFO] Scanning for projects...
>> [INFO] Searching repository for plugin with prefix: ' -X install'.
>> [INFO] org.apache.maven.plugins: checking for updates from central
>> [INFO] org.codehaus.mojo: checking for updates from central
>> [INFO] artifact org.apache.maven.plugins:maven- -X install-plugin:
>> checking for updates from central
>> [WARNING] POM for 'org.apache.maven.plugins:maven- -X
>> install-plugin:pom:LATEST' is invalid. It will be ignored for
>> artifact resolution. Reason: Failed to validate POM for project
>> org.apache.maven.plugins:maven- -X install-plugin at Artifact
>> [org.apache.maven.plugins:maven- -X install-plugin:pom:LATEST]
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>> GroupId: org.apache.maven.plugins
>> ArtifactId: maven- -X install-plugin
>> Version: LATEST
>> Reason: Unable to determine the latest version
>> org.apache.maven.plugins:maven- -X install-plugin:pom:LATEST
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to
>> build project information for plugin 'org.apache.maven.plugins:maven-
>> -X install-plugin': POM 'org.apache.maven.plugins:maven- -X
>> install-plugin' not found in repository: Unable to determine the
>> latest version
>> org.apache.maven.plugins:maven- -X install-plugin:pom:LATEST
>> (...)
>>
>> Any idea? Thanks in advance.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: problem installing the oracle library ojdbc14.jar
Posted by Stefan Seidel <ss...@vub.de>.
hi,
the problem seems to be your -X. Try without -e and without -X.
Stefan
María Isabel López Sánchez-Huete wrote:
> Hí,
>
> I'm a beginner in this matter, and I'm lost. I expect somebody can
> help me.
>
> I´m trying to install dspace 1.5 on Solaris 10 in a SPARC computer.
>
> I read the installation documentation, and follow the steps.
>
> My problems is about installing the oracle library ojdbc14.jar. I
> put in my current directory the ojdbc14.jar file, but when I run
> mvn -e -X install:install-file -Dfile=ojdbc14.jar -DgroupId=com.oracle
> -DartifactId=ojdbc14 -Dversion=10.2.0.2.0 -Dpackaging=jar
> -DgeneratePom=true
> The following error appears (I reproduce only the first lines):
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: ' -X install'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [INFO] org.codehaus.mojo: checking for updates from central
> [INFO] artifact org.apache.maven.plugins:maven- -X install-plugin:
> checking for updates from central
> [WARNING] POM for 'org.apache.maven.plugins:maven- -X
> install-plugin:pom:LATEST' is invalid. It will be ignored for artifact
> resolution. Reason: Failed to validate POM for project
> org.apache.maven.plugins:maven- -X install-plugin at Artifact
> [org.apache.maven.plugins:maven- -X install-plugin:pom:LATEST]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> GroupId: org.apache.maven.plugins
> ArtifactId: maven- -X install-plugin
> Version: LATEST
> Reason: Unable to determine the latest version
> org.apache.maven.plugins:maven- -X install-plugin:pom:LATEST
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build
> project information for plugin 'org.apache.maven.plugins:maven- -X
> install-plugin': POM 'org.apache.maven.plugins:maven- -X install-plugin'
> not found in repository: Unable to determine the latest version
> org.apache.maven.plugins:maven- -X install-plugin:pom:LATEST
> (...)
>
> Any idea? Thanks in advance.
--
best regards,
Stefan Seidel
software developer
________________________
VUB Printmedia GmbH
Chopinstraße 4
D-04103 Leipzig
Germany
tel. +49 (341) 9 60 50 07
fax. +49 (341) 9 60 50 92
mail. sseidel@vub.de
web. www.vub.de
HRB Köln 24015
UStID DE 122 649 251
GF Dr. Achim Preuss Neudorf,
Dr. Christian Preuss Neudorf
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org