Wednesday, March 3, 2010

springsource tool suite oracle jdbc driver + maven2 depend


<repository>

<id>repo1 maven org</id>

<name>repo1 maven org</name>

<url>http://repo1.maven.org/maven2</url>

</repository>



<dependency>

<groupid>ojdbc</groupid>

<artifactid>ojdbc</artifactid>

<version>14</version>

</dependency>




Then you have to download ojdbc14.jar from oracle website (or wherever) and do:
mvn install:install-file -DgroupId=ojdbc -DartifactId=ojdbc -Dversion=14 -Dpackaging=jar -Dfile=/path/to/ojdbc14.jar

Xml re-generated using http://www.simplebits.com/cgi-bin/simplecode.pl?mode=process

1 comment:

  1. The XML got kind of munged up -- maby dropping some important punctuation.

    ReplyDelete