Skip to content

2. Getting Started

Sly Technologies edited this page Apr 12, 2023 · 11 revisions

The core-protocols module is a prerequisite module for most protocol level libraries and modules in this repository.

Installation

The module is a single jar file which can be installed in a variety of ways.

Prerequisites

This module has no pre-requisites.

JDK19 & JDK20 Note: this module is dependent on the JDK's "foreign function feature" which is in preview mode. This requires the java command line flag --enable-preview to be present for the module to function properly.

Maven Central

We're working on deploying this and other modules to Maven's central repository. There is a pom.xml file in the root of the repository code base. To include core-protocols module as a dependency in your Maven project file include this snippet:

<dependency>
	<groupId>com.slytechs.jnet</groupId>
	<artifactId>core-protocols</artifactId>
	<version>**VERSION**</version>
</dependency>

Download Release

Download Link

You can also download the release package which contains all the neccessary artifacts. You can find the the latest downloadable release here.

Compile From Source

The module is build with Maven and has a pom.xml file in its root. To compile from source, simply clone the git repot and run mvn compile in the room directory if you have Maven software installed.

> cd /tmp
> git clone [email protected]:slytechs-repos/core-protocols.git
> cd core-protocols
> mvn compile package
> ls target/core-protocols*

target/core-protocols-**VERSION**.jar
Clone this wiki locally