How to add oracle jdbc driver dependency to JIRA plugin?

I tried this

<dependency>
    <groupId>com.oracle</groupId>
    <artifactId>ojdbc6</artifactId>
    <version>${ojdbc6.version}</version>
    <scope>compile</scope>
</dependency>

but with no success.
I failed because of absence of ora18n, I added it also, but it failed with another oracle dependency, etc.

How to add it?