Skip to content

Getting Started

Mahmoud Ben Hassine edited this page Dec 2, 2016 · 32 revisions

Prerequisite

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

Random Beans version Minimum Java version
1.x 1.6
2.x 1.7
3.x 1.8

Build instructions

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

Please follow these instructions :

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

Maven usage

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

<dependency>
    <groupId>io.github.benas</groupId>
    <artifactId>random-beans</artifactId>
    <version>3.4.0</version>
    <scope>test</scope>
</dependency>

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

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