Skip to content

Getting Started

Mahmoud Ben Hassine edited this page Nov 15, 2020 · 32 revisions

Prerequisite

Easy Random requires a Java runtime. Here are Java versions required for each Easy Random version:

Easy Random version Minimum Java version
1.x 1.6
2.x 1.7
3.x 1.8
4.x 1.8
5.x 11

Build instructions

To build Easy Random from sources, you need to have git and maven installed and set up.

Please follow these instructions :

  • $>git clone https://github.com/j-easy/easy-random.git
  • $>cd easy-random
  • $>mvn install

Maven usage

In order to use Easy Random in your maven based project, add the following dependency to your pom.xml :

<dependency>
    <groupId>org.jeasy</groupId>
    <artifactId>easy-random-core</artifactId>
    <version>5.0.0</version>
    <scope>test</scope>
</dependency>

If you want to use the current snapshot version (5.0.1-SNAPSHOT), add the following repository in your pom.xml:

<repository>
    <id>ossrh</id>
    <url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>