Fork me on GitHub

Trema Maven Plugin

The Trema Maven Plugin is used to export a Trema database (*.trm file) into language resource files to be consumed by the application. Currently three types of output files are supported. Java properties, JSON and Android string.xml files.

Goals Overview

The Trema Maven Plugin has three goals:

  • trema:exportProperties is used to export the contents of the Trema database into Java properties files
  • trema:exportJson is used to export the contents of the Trema database into JSON files
  • trema:exportAndroid is used to export the contents of the Trema database into XML files suitable for Android applications

Usage

General instructions on how to use the Trema Maven Plugin can be found on the usage page and configuration samples are provided in the examples section.

Information about the Trema Eclipse Plugin can be found in the Trema Eclipse Plugin Manual

In case you still have questions regarding the plugin's usage feel free to contact trema@netcetera.ch

Examples

The following examples show how to use the Trema Maven Plugin: