install driver oracle ojdbc14-9i ke dalam maven repo

Oracle,, lisensinya mana,, waw

q> Bismillah ,

q> Ketika mau nambah repo untuk driver oracle ojdbc14-9i ke dalam pom.xml,

<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>9i</version>
</dependency>

q> terus kasih jurus ini pada project

mvn eclipse:eclipse

q> ops muncul ini orang :

[INFO] Unable to read jar manifest from /home/glassfish/.m2/repository/oracle/jdbc/ojdbc14/9i/ojdbc14-9i.jar

q> Cari cari jurus lain ketemu [1] dan [2]

q> Yuk implementasi jurus-jurus yang sudah di dapat,🙂

q> donlod dulu Ojdbc14-9i.jar nya, taruh di direktory sembarang, example : /home/saifiahmada/JARS/
q> masuk ke direktori project
q> gunakan jurus ini :
q>

mvn install:install-file -Dfile=/home/glassfish/JARS/ojdbc14-9i.jar -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=9i -Dpackaging=jar

q> setelah BUILD SUCCESFULL
q> tambahin dependency ke pom.xml

<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>9i</version>
</dependency>

q> truss ,, gunakan jurus terakhir , masuk ke direktory project

maven eclipse:eclipse

Selection_072

Selection_073

q> bi khoir , alhamdulillah

Sumber::
[1] http://www.mkyong.com/maven/how-to-add-oracle-jdbc-driver-in-your-maven-local-repository/
[2] http://stackoverflow.com/questions/1074869/find-oracle-jdbc-driver-in-maven-repository

Published by

saifiahmada

Begin a big Process with a bit trying

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s