I am using oracle and downloaded version 11.2.0.4 from the recommended page  
http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html.

and did a manual mvm install  with  -Dversion=11.2.0.4
looking under ~/.m2     I find

> find ~/.m2/repository/com/oracle/ojdbc6 -type f
/Users/monikam/.m2/repository/com/oracle/ojdbc6/11.2.0.4/_remote.repositories
/Users/monikam/.m2/repository/com/oracle/ojdbc6/11.2.0.4/ojdbc6-11.2.0.4.jar
/Users/monikam/.m2/repository/com/oracle/ojdbc6/11.2.0.4/ojdbc6-11.2.0.4.pom
/Users/monikam/.m2/repository/com/oracle/ojdbc6/maven-metadata-local.xml

I modified the root pom.xml file as follows:
<dependency>
            <groupId>com.oracle</groupId>
            <artifactId>ojdbc6</artifactId>
            <version>11.2.0.4</version>
         </dependency>

mvn -U clean package    finished successfully
But it does not add the ojdbc6-11.2.0.4.jar file to 
dspace/target/dspace-3.3-SNAPSHOT-build/lib

When I manually add ojdbc6-11.2.0.4.jar and then do an ant update I end up with 
a functioning installation (at least as far as db connectivity is concerned). 
If I don’t I get a java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver

For some reason mvm refuses to add the ojdbc6-11.2.0.4.jar even though it does 
add postgresql-9.1-901-1.jdbc4.jar. Where should I look for an explanation ?

Monika


________________
Monika Mevenkamp
phone: 609-258-4161
693 Alexander Road, Princeton University, Princeton, NJ 08544


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to