---
title: "maven 安装oracle driver"
author: "Jophy"
date: "2011-04-15T16:03:34Z"
tags: []
categories: ["研发管理"]
slug: "maven-oracle-driver"
draft: false
lastmod: "2011-04-15T16:03:34Z"
id: 1004331
url: "https://jophy.iteye.com/blog/1004331"
---

```java

mvn install:install-file -Dfile=classes12.jar -DgroupId=com.oracle
-DartifactId=classes12 -Dversion=10.2.0.4.0 -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -Dfile=ojdbc14.jar -DgroupId=com.oracle 
-DartifactId=ojdbc14 -Dversion=10.2.0.4.0 -Dpackaging=jar -DgeneratePom=true
```



```java

        <dependency>
            <groupId>com.oracle</groupId>
            <artifactId>ojdbc14</artifactId>
            <version>10.2.0.4.0</version>
        </dependency>

```