Code Monkey home page Code Monkey logo

oraclejbcmavensbt's Introduction

oracle jdbc via sbt or maven

How can I configure maven or oracle to correctly download the oracle JDBC driver jar? http://stackoverflow.com/questions/43950455/sbt-download-artifact-from-password-protected-repository-oracle-jdbc-driver-as

mvn -s settings.xml package

fails with unauthorized error:

Could not resolve dependencies for project attma:ora:jar:1.0-SNAPSHOT: Failed to collect dependencies at com.oracle.jdbc:ojdbc8:jar:12.2.0.1: Failed to read artifact descriptor for com.oracle.jdbc:ojdbc8:jar:12.2.0.1: Could not transfer artifact com.oracle.jdbc:ojdbc8:pom:12.2.0.1 from/to maven.oracle.com (https://maven.oracle.com): Not authorized , ReasonPhrase:Unauthorized.

but the same credentials can be used to successfully login at https://login.oracle.com/mysso/signon.jsp

in SBT

sbt assembly

will error out with

[error] Unable to find credentials for [OAM 11g @ login.oracle.com].
[error]   Is one of these realms misspelled for host [login.oracle.com]:
[error]   * WebLogic Server

for credentials of credentials += Credentials("WebLogic Server", "login.oracle.com", "[email protected]", "12345678GroßKlein")

but when choosing OAM 11g as realm like

credentials += Credentials("OAM 11g", "login.oracle.com", "[email protected]", "12345678GroßKlein")

it fails with the same error.

oraclejbcmavensbt's People

Contributors

geoheil avatar

Stargazers

Abdelhakim MOUSLIH avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

sgrillon14

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.