Skip to content

Latest commit

 

History

History
74 lines (65 loc) · 2.62 KB

README.md

File metadata and controls

74 lines (65 loc) · 2.62 KB

A Zero-Dependency Mapping Library

Simple Java Library to include scripting languages into your Java application.

Apache Commons JEXL Implementation Module

Build Status SonarCloud Analysis Download License Semantic Versioning

FeaturesInstallationUsage

Features

  • Implements the Mapping API (v1.0.0) by delegating to Apache Commons JEXL
  • Zero dependencies, Apache Commons JEXL shaded for your convenience
  • Sandboxed script execution environment

Installation

Add the API Module

Add JCenter as a repository to your Maven POM:

<repositories>
    <repository>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
        <id>jcenter</id>
        <name>JCenter</name>
        <url>https://jcenter.bintray.com</url>
    </repository>
</repositories>

Add the following dependency:

<dependency>
    <groupId>de.dmeiners.mapping</groupId>
    <artifactId>mapping-api</artifactId>
    <version>1.0.0</version>
</dependency>

Add the Implementation Module

<dependency>
    <groupId>de.dmeiners.mapping</groupId>
    <artifactId>mapping-impl-jexl</artifactId>
    <version>1.0.1</version>
</dependency>

Usage

The corresponding section of the API module applies. See also the reference of the Apache Commons JEXL scripting language.