Skip to content

Build DBGit From Source

DBgit edited this page Jul 2, 2019 · 16 revisions

Build From Source

Linux

To create distribution files run from project root directory:

$ mvn package appassembler:assemble

After that you will get target/dbgit folder that contains the tool ready to install

You need to have Oracle JDBC driver in your local Maven repository to build dbgit. For this:

download ojdbc8-18.3.0.0.jar by the next link (Oracle account required):

https://www.oracle.com/content/secure/maven/content/com/oracle/jdbc/ojdbc8/18.3.0.0/ojdbc8-18.3.0.0.jar

run the next command:

mvn install:install-file -DgroupId=com.oracle.jdbc -DartifactId=ojdbc8 -Dversion=18.3.0.0 -Dpackaging=jar -Dfile=<Path to jar_file>/ojdbc8-18.3.0.0.jar -DgeneratePom=true

MacOS

Windows

Clone this wiki locally