These steps can be used to install OSGI wrapped Oracle driver to Spring Roo's cache dir
-
install oracle driver (eg ojdbc6.jar) to your local maven repository
-
use the pom file in a new osgi-ojdbc project from above or create one using roo's addon create wrapper
If you create using ROO's add on, make sure the tag has the content from above pom.xml
-
Run mvn bundle:bundle on the project osgi-ojdbc to create osgi jar
-
Go to roo and install osgi jar to your roo installation using the command. osgi install --url file:///c:\osgi-ojdbc\target\oracle.ojdbc6-11.2.0.3.0001.jar
-
Now you can do database introspection for oracle driver using the following in a roo project database introspect --schema deployer