在http://search.maven.org中搜不到informix的驱动,
搜了半天,在这呢: http://ebr.springsource.com/repository/app/bundle/version/detail?name=com.springsource.com.informix.jdbc&version=3.0.0.JC3
原来在spring这里的仓库中。
在pom.xml中,加入
<repositories> <repository> <id>com.springsource.repository.bundles.release</id> <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name> <url>http://repository.springsource.com/maven/bundles/release</url> </repository>
<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> </repository> </repositories>
保证<repositories>和<dependencies>是平级的,然后再加入
<dependency> <groupId>com.informix.jdbc</groupId> <artifactId>com.springsource.com.informix.jdbc</artifactId> <version>3.0.0.JC3</version> </dependency>
保存就OK了。
|