javamoney / jsr354-api-bp Goto Github PK
View Code? Open in Web Editor NEWBackport of the JSR 354 API for Java prior to SE8
License: Apache License 2.0
Backport of the JSR 354 API for Java prior to SE8
License: Apache License 2.0
Looking at ideas for Android support like JavaMoney/javamoney-shelter#17 we should ensure, the BPs also work there. API even Java ME Embedded 8, too (which is largely compatible with Java SE 7 anyway)
The Travis build
https://travis-ci.org/JavaMoney/jsr354-api-bp
fails with some obscure error message:
------------------------------------------------------------
Gradle 4.0.1
------------------------------------------------------------
Build time: 2017-07-07 14:02:41 UTC
Revision: 38e5dc0f772daecca1d2681885d3d85414eb6826
Groovy: 2.4.11
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 1.8.0_151 (Oracle Corporation 25.151-b12)
OS: Linux 4.4.0-98-generic amd64
Why would the build system change to Gradle?
Currently the module names seem to be:
jsr354-api-bp
: javax.money
jsr354-ri-bp
: moneta.bp
For the the non-backported versions they are:
jsr354-api
: java.money
jsr354-ri
: org.javamoney.moneta
I'm not sure if the -bp
versions and the non-bp versions should have the same module name or not (there might be some issues if they're the same), but at the very least the backport version should have a module name starting with org.javamoney.
.
It would also be nice to see some (more?) documentation on "the big picture" for how JavaMoney is handling Java Modules in both the backport and non-backport versions.
p.s. I'm willing to help with this.
distributionManagement
because backports are not supposed to be updated anymore, preparing to archive them.As I see, Java 8 was mostly adopted by market, so maybe we don't need backport to 7?
In the same time, a lot of business software was writen with old Java like 4 and 6.
Hi,
We must not use the "javax.money" in two places even if the BP had a different Maven groupId, that's illegitimate.
JSR 310 may have a lot of nasty mistakes (like circular dependencies, redundancies, etc.) but the BP was done properly so far in a
package org.threeten.bp;
Should do the same for the API:
Either
package org.javamoney.bp;
or
package org.javamoney.bp.api;
Depending on how the "RI Backport" should look like.
Therefore I would suggest calling it
org.javamoney.bp.impl;
if the repository was something like "javamoney-impl-bp"
or
org.javamoney.moneta.bp;
if we go for "javamoney-moneta-bp" (or just "moneta-bp")
WDYT?
The .iml file should not be in Git. And added to .gitignore.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.