Downloading and Building ODPi Egeria Tutorial

ODPi Egeria is an open source project that is delivered both as source code as well as Maven Central Repository libraries.

This tutorial will guide you through the process of downloading the ODPi Egeria source code from GitHub and building it so that you can run it on your local machine.

Once you have downloaded Egeria, you can also use docker-compose to start the lab infrastructure for the Hands-on Labs. This does not require you to build Egeria.

Already lost, or are the instructions below not detailed enough? Check out the Egeria Dojo, or consider jumping straight to the Hands-on Labs, which provide a pre-built environment for you and guided instructions on how to use different APIs.

Prerequisite Technology for Building Egeria

You will need a Java Development Kit (JDK) installed on your machine in order to build Egeria. There are various JDKs available, and you may even have one pre-installed on your system. You can check if java is already installed by running the command java -version from the command-line.

Java can be installed by:

  1. Downloading the OpenJDK 8 (LTS) HotSpot JVM from AdoptOpenJDK.
  2. Running the installer that is downloaded.

Maven is the tool used to run the Egeria build. You can check if Maven installed by running the command mvn --version from the command-line. Ensure you are using version 3.5.0 or higher in order to build Egeria.

Maven can be installed:

Git is an open source version control system used to store and manage Egeria’s files. You need it installed on your machine to work with Egeria’s git repositories stored on GitHub. You can check whether it is installed on your system by running git --version from the command-line.

Tutorial tasks

  1. Downloading the Egeria source from GitHub
  2. Building the Egeria source with Apache Maven

What next?



License: CC BY 4.0, Copyright Contributors to the ODPi Egeria project.