File tree Expand file tree Collapse file tree 4 files changed +32
-6
lines changed
tools/jackson/datatype/javax/money
tools/jackson/datatype/javax/money Expand file tree Collapse file tree 4 files changed +32
-6
lines changed Original file line number Diff line number Diff line change 1- // Hand-crafted 05-Nov-2024
1+ // Javax-money module Main artifact Module descriptor
22module tools .jackson .datatype .javax .money
33{
44 requires com .fasterxml .jackson .annotation ;
77
88 requires java .money ;
99
10+ // compile-time only dependencies
11+ requires static org .apiguardian .api ;
12+ requires static lombok ;
13+
1014 exports tools .jackson .datatype .javax .money ;
1115
1216 provides tools .jackson .databind .JacksonModule with
Original file line number Diff line number Diff line change 11package tools .jackson .datatype .javax .money ;
22
3- import javax .money .CurrencyUnit ;
4- import javax .money .MonetaryAmount ;
5- import java .io .IOException ;
63import java .math .BigDecimal ;
74import java .util .Arrays ;
85import java .util .Objects ;
96
7+ import javax .money .CurrencyUnit ;
8+ import javax .money .MonetaryAmount ;
9+
1010import tools .jackson .core .JsonParser ;
1111import tools .jackson .core .JsonToken ;
1212import tools .jackson .databind .DeserializationContext ;
Original file line number Diff line number Diff line change 1+ // Javax-money module (unit) Test Module descriptor
2+ module tools .jackson .datatype .javax .money
3+ {
4+ // Since we are not split from Main artifact, will not
5+ // need to depend on Main artifact -- but need its dependencies
6+
7+ requires com .fasterxml .jackson .annotation ;
8+ requires tools .jackson .core ;
9+ requires tools .jackson .databind ;
10+
11+ requires java .money ;
12+
13+ // compile-time only dependencies
14+ requires static org .apiguardian .api ;
15+ requires static lombok ;
16+
17+ // Additional test lib/framework dependencies
18+ requires org .junit .jupiter .api ;
19+
20+ requires org .javamoney .moneta ;
21+
22+ // Further, need to open up test packages for JUnit et al
23+ opens tools .jackson .datatype .javax .money ;
24+ }
Original file line number Diff line number Diff line change 66
77import com .kjetland .jackson .jsonSchema .JsonSchemaGenerator ;
88
9- import tools .jackson .datatype .javax .money .JavaxMoneyModule ;
10-
119import tools .jackson .databind .JsonNode ;
1210import tools .jackson .databind .ObjectMapper ;
1311import tools .jackson .databind .json .JsonMapper ;
You can’t perform that action at this time.
0 commit comments