Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Commit

Permalink
removed EBR as a repository and added instructions for adding Oracle …
Browse files Browse the repository at this point in the history
…jars manually
  • Loading branch information
Thomas Risberg committed Jan 4, 2011
1 parent efe2141 commit dc35d65
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 22 deletions.
47 changes: 47 additions & 0 deletions readme.txt
@@ -0,0 +1,47 @@
Install Oracle dependencies
===========================

Download from Oracle Technology Network (registration is required) and then install the downloaded jars into your local Maven repository.
(The versions used are the ones that we use for building and testing - you should be able to substitute for more recent versions, especially when building your own applications)


1) Oracle JDBC driver version 10.2.0.2 -- com.oracle.jdbc:oracle.jdbc:jar:10.2.0.2

Download from: http://download.oracle.com/otn/utilities_drivers/jdbc/10201/ojdbc14.jar

Then, install it using the command:
mvn install:install-file -DgroupId=com.oracle.jdbc -DartifactId=oracle.jdbc -Dversion=10.2.0.2 -Dpackaging=jar -Dfile=/path/to/ojdbc14.jar


2) Oracle AQ support version 10.1.0.1 from Oracle Containers for J2EE 10g (OC4J) version 10.1.3.5.0 -- com.oracle.aq:oracle.aq:jar:10.1.0.1

Download from: http://download.oracle.com/otn/java/oc4j/101350/oc4j_extended_101350.zip

Extract the archive - we need:
rdbms/jlib/aqapi.jar

Then, install it using the command:
mvn install:install-file -DgroupId=com.oracle.aq -DartifactId=oracle.aq -Dversion=10.1.0.1 -Dpackaging=jar -Dfile=/path/to/aqapi.jar


3) Oracle XML Developers Kit version 10.2.0.2 -- com.oracle.xdb:oracle.xdb:jar:10.2.0.2 and com.oracle.xml:oracle.xml:jar:10.2.0.2

Download from: http://www.oracle.com/technetwork/database/features/xmldb/java-utilsoft-087831.html

Extract the archive - we need:
lib/xdb.jar
lib/xmlparserv2.jar

Then, install using the commands:
mvn install:install-file -DgroupId=com.oracle.xdb -DartifactId=oracle.xdb -Dversion=10.2.0.2 -Dpackaging=jar -Dfile=/path/to/xdb.jar
mvn install:install-file -DgroupId=com.oracle.xml -DartifactId=oracle.xml -Dversion=10.2.0.2 -Dpackaging=jar -Dfile=/path/to/xmlparserv2.jar


4) Oracle ONS 10.2.0.1 (only needed when using RAC) -- com.oracle.ons:oracle.ons:jar:10.2.0.1

Download from: http://download.oracle.com/otn/utilities_drivers/jdbc/10201/ons.jar

Then, install it using the command:
mvn install:install-file -DgroupId=com.oracle.ons -DartifactId=oracle.ons -Dversion=10.2.0.1 -Dpackaging=jar -Dfile=/path/to/ons.jar


27 changes: 14 additions & 13 deletions spring-data-oracle-test/pom.xml
Expand Up @@ -106,42 +106,43 @@
<!-- External libraries -->
<dependency>
<groupId>javax.jms</groupId>
<artifactId>com.springsource.javax.jms</artifactId>
<version>1.1.0</version>
<artifactId>jms-api</artifactId>
<version>1.1-rev-1</version>
</dependency>
<dependency>
<groupId>com.oracle.jdbc</groupId>
<artifactId>com.springsource.oracle.jdbc</artifactId>
<artifactId>oracle.jdbc</artifactId>
<version>10.2.0.2</version>
</dependency>
<dependency>
<groupId>com.oracle.aq</groupId>
<artifactId>com.springsource.oracle.aq</artifactId>
<artifactId>oracle.aq</artifactId>
<version>10.1.0.1</version>
</dependency>
<dependency>
<groupId>com.oracle.xdb</groupId>
<artifactId>com.springsource.oracle.xdb</artifactId>
<artifactId>oracle.xdb</artifactId>
<version>10.2.0.2</version>
</dependency>
<dependency>
<groupId>net.sourceforge.cglib</groupId>
<artifactId>com.springsource.net.sf.cglib</artifactId>
<version>2.2.0</version>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>javax.transaction</groupId>
<artifactId>com.springsource.javax.transaction</artifactId>
<version>1.1.0</version>
<artifactId>transaction-api</artifactId>
<version>1.1-rev-1</version>
</dependency>

</dependencies>

<repositories>
<repository>
<id>com.springsource.repository.bundles.external</id>
<name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
<url>http://repository.springsource.com/maven/bundles/external</url>
<id>java.net-glassfish</id>
<name>Java.net Repository for Glassfish</name>
<url>http://download.java.net/maven/glassfish/</url>
<layout>default</layout>
</repository>
</repositories>

Expand Down
25 changes: 16 additions & 9 deletions spring-data-oracle/pom.xml
Expand Up @@ -125,34 +125,41 @@
<!-- External libraries -->
<dependency>
<groupId>javax.jms</groupId>
<artifactId>com.springsource.javax.jms</artifactId>
<version>1.1.0</version>
<artifactId>jms-api</artifactId>
<version>1.1-rev-1</version>
</dependency>
<dependency>
<groupId>com.oracle.jdbc</groupId>
<artifactId>com.springsource.oracle.jdbc</artifactId>
<artifactId>oracle.jdbc</artifactId>
<version>10.2.0.2</version>
</dependency>
<dependency>
<groupId>com.oracle.aq</groupId>
<artifactId>com.springsource.oracle.aq</artifactId>
<artifactId>oracle.aq</artifactId>
<version>10.1.0.1</version>
</dependency>
<dependency>
<groupId>com.oracle.xdb</groupId>
<artifactId>com.springsource.oracle.xdb</artifactId>
<artifactId>oracle.xdb</artifactId>
<version>10.2.0.2</version>
</dependency>
<dependency>
<groupId>com.oracle.xml</groupId>
<artifactId>oracle.xml</artifactId>
<version>10.2.0.2</version>
</dependency>

</dependencies>


<repositories>
<repository>
<id>com.springsource.repository.bundles.external</id>
<name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
<url>http://repository.springsource.com/maven/bundles/external</url>
<id>java.net-glassfish</id>
<name>Java.net Repository for Glassfish</name>
<url>http://download.java.net/maven/glassfish/</url>
<layout>default</layout>
</repository>
</repositories>
</repositories>

<build>
<plugins>
Expand Down

0 comments on commit dc35d65

Please sign in to comment.