Moneta Core

The engine of moneta, this projects has implementations of MonetayAmount, CurrencyUnit, loaders, formatters and core parts of the SPI.

License

License

Apache 2 License
Categories

Categories

Net
GroupId

GroupId

org.javamoney.moneta
ArtifactId

ArtifactId

moneta-core
Last Version

Last Version

1.4.2
Release Date

Release Date

Type

Type

jar
Description

Description

Moneta Core
The engine of moneta, this projects has implementations of MonetayAmount, CurrencyUnit, loaders, formatters and core parts of the SPI.
Project URL

Project URL

http://javamoney.org
Project Organization

Project Organization

JavaMoney
Source Code Management

Source Code Management

https://github.com/JavaMoney/jsr354-ri

Download moneta-core

How to add to project

<!-- https://jarcasting.com/artifacts/org.javamoney.moneta/moneta-core/ -->
<dependency>
    <groupId>org.javamoney.moneta</groupId>
    <artifactId>moneta-core</artifactId>
    <version>1.4.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.javamoney.moneta/moneta-core/
implementation 'org.javamoney.moneta:moneta-core:1.4.2'
// https://jarcasting.com/artifacts/org.javamoney.moneta/moneta-core/
implementation ("org.javamoney.moneta:moneta-core:1.4.2")
'org.javamoney.moneta:moneta-core:jar:1.4.2'
<dependency org="org.javamoney.moneta" name="moneta-core" rev="1.4.2">
  <artifact name="moneta-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.javamoney.moneta', module='moneta-core', version='1.4.2')
)
libraryDependencies += "org.javamoney.moneta" % "moneta-core" % "1.4.2"
[org.javamoney.moneta/moneta-core "1.4.2"]

Dependencies

compile (2)

Group / Artifact Type Version
javax.money : money-api jar 1.1
javax.annotation : javax.annotation-api jar 1.3.2

provided (3)

Group / Artifact Type Version
org.osgi : org.osgi.annotation Optional jar 6.0.0
org.osgi : org.osgi.compendium Optional jar 5.0.0
org.osgi : org.osgi.core Optional jar 5.0.0

test (1)

Group / Artifact Type Version
org.testng : testng jar 6.13.1

Project Modules

There are no modules declared in this project.

JSR 354: Money and Currency: Moneta Reference Implementation

Maven Central Build Status Coverage Status Stability: Maintenance License Join the chat at https://gitter.im/JavaMoney/jsr354-ri

The Moneta is a reference implementation (RI) of the JSR 354 Money & Currency API and provides:

  • Monetary amounts: fixed sized FastMoney and Money for big amounts.
  • Currency conversion and rate providers.
  • Custom currencies support like the Bitcoin.

See Moneta User Guide for an introduction.

Usage

You can access the RI by adding the following Maven dependencies:

<dependency>
  <groupId>org.javamoney</groupId>
  <artifactId>moneta</artifactId>
  <version>1.4.2</version>
  <type>pom</type>
</dependency>

The same for Gradle:

compile group: 'org.javamoney', name: 'moneta', version: '1.4.2', ext: 'pom'

SBT:

libraryDependencies += "org.javamoney" % "moneta" % "1.4.2" pomOnly()

The release artifacts are accessible from the following repositories:

Release notes

The implementation supports JDK8 and later.

Help and support

Ask your question at StackOverflow with tag java-money or join the Gitter chat.

org.javamoney.moneta

Money and Currency API | JavaMoney

Money and Currency API | JavaMoney Project

Versions

Version
1.4.2
1.4.1
1.4
1.3
1.2.1
1.2