Skip to content

A leiningen plugin that enables retrieving dependencies from the Oracle Maven Repository

License

Notifications You must be signed in to change notification settings

chimpymike/lein-oramvn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lein-oramvn

A leiningen plugin that enables retrieving dependencies from the Oracle Maven Repository

Due to licensing issues Oracle artifacts (such as JDBC Driver JARs) are only available from Oracle's Maven Repository. Unfortunately, this also means that authentication is required and is, of course, a pain. This plugin tries to make it easier to get Oracle artifact dependencies into your Clojure project easier.

Usage

Put [lein-oramvn "1.0.0"] into the :plugins vector of your project.clj.

Then put the Oracle Maven Repository into the :repositories vector of your project.clj:

:repositories [["releases" {:url "oramvn:https://maven.oracle.com"
                            :username your_oracle_sso_username
                            :password your_oracle_sso_password}]]

Note the oramvn:https:// in the repository url. This replaces https:// and is required for leiningen to use the plugins custom http wagon when retrieving project dependencies.

In this example, Oracle account username and password are referenced directly in the project.clj file. This is not recommended. See the leiningen deploy documentation for more info on how to configure repository authentication. Any supported leinengen authentication configuration can be used.

License

Copyright © 2017 Mike Callahan

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

A leiningen plugin that enables retrieving dependencies from the Oracle Maven Repository

Resources

License

Stars

Watchers

Forks

Packages

No packages published