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 <[EMAIL PROTECTED]>
> 
>>
>> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to