Skip to content

Latest commit

 

History

History
50 lines (26 loc) · 1.31 KB

README.adoc

File metadata and controls

50 lines (26 loc) · 1.31 KB

OmniJ Sample Maven Project

Build Status Build Status

Overview

A sample/starter project that uses the Maven build system.

Cloning from Github

  1. git clone [email protected]:OmniLayer/omnij-maven-sample.git

  2. cd omnij-maven-sample

Building with the JDK

Setup

  1. Install JDK 11 or later. (JDK 17 is recommended)

  2. Install Maven. (Maven 3.8 or later is recommended)

Build Instructions

To compile and test:

  • mvn verify

or, to run the app:

  • mvn compile exec:java

Build Instructions for Native Image

NOTE

native-image builds of OmniJ are experimental. If you don’t have solid experience with GraalVM tools, it is not yet recommended.

Setup

  1. Install GraalVM 21.2.0 (Java 11 version) or later.

  2. Install Maven. (Maven 3.8 or later is recommended)

Build Instructions

To compile the native image

  • mvn -Pnative -DskipTests package

after compiling the native tool can be run with:

  • ./target/omnij-omniwallet-sample