You can use maven install plugin to install the jar into your local repository.

Check this guide 
https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html 
<https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html>


> On 13 Jan 2020, at 15:19, Anders Hammar <and...@hammar.net> wrote:
> 
> The only version currently available in Central repository is 19.3.0.0.
> It's in a different groupId though.
> More info here:
> https://medium.com/oracledevs/oracle-jdbc-drivers-on-maven-central-64fcf724d8b
> 
> /Anders (mobile)
> 
> Den mån 13 jan. 2020 22:02Eng. Bilal Ghayad <bi...@ghayad.com> skrev:
> 
>> Hello;
>> 
>> 
>> 
>> I am facing the error: missing artifact com.oracle:ojdbc8:jar:12.2.0.1 when
>> I add the below oracle dependency in the pom, can someone advise the reason
>> for this?
>> 
>> My eclipse is running on Windows 10 and below is the related pom
>> configuration:
>> 
>> 
>> 
>>       <properties>
>> 
>>             <java-version>1.8</java-version>
>> 
>> 
>> <org.springframework-version>3.1.1.RELEASE</org.springframework-version>
>> 
>>             <org.aspectj-version>1.8.13</org.aspectj-version>
>> 
>>             <org.slf4j-version>1.7.30</org.slf4j-version>
>> 
>>             <hibernate.version>4.3.5.Final</hibernate.version>
>> 
>>       </properties>
>> 
>>       <dependencies>
>> 
>> 
>> 
>>       <dependency>
>> 
>>             <groupId>com.oracle</groupId>
>> 
>>             <artifactId>ojdbc8</artifactId>
>> 
>>             <version>12.2.0.1</version>
>> 
>>             </dependency>
>> 
>> 
>> 
>>             <!-- Hibernate -->
>> 
>>        <dependency>
>> 
>>            <groupId>org.hibernate</groupId>
>> 
>>            <artifactId>hibernate-core</artifactId>
>> 
>>            <version>${hibernate.version}</version>
>> 
>>        </dependency>
>> 
>> 
>> 
>>        <dependency>
>> 
>>                    <groupId>org.hibernate</groupId>
>> 
>>                    <artifactId>hibernate-entitymanager</artifactId>
>> 
>>                    <version>${hibernate.version}</version>
>> 
>>       </dependency>
>> 
>> 
>> 
>> Regards
>> 
>> Bilal
>> 
>> 

Reply via email to