Skip to content

Build DBGit From Source

rocket-3 edited this page Jun 25, 2020 · 16 revisions

Warnings/Caveats

* dbgit requires at least a Java 8 JDK
* You need Maven to build dbgit

To create distribution files run from project root directory:

$ mvn package appassembler:assemble -D skipTests

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=/ojdbc8-18.3.0.0.jar -DgeneratePom=true