|
| 1 | +// Jackson 3.x module-info for jackson-databind Tests |
| 2 | +module tools.jackson.databind |
| 3 | +{ |
| 4 | + requires java.desktop; |
| 5 | + requires java.sql; |
| 6 | + requires java.sql.rowset; |
| 7 | + requires java.xml; |
| 8 | + |
| 9 | + // but we probably do want to expose streaming, annotations |
| 10 | + // as transitive dependencies streaming types at least part of API |
| 11 | + requires com.fasterxml.jackson.annotation; |
| 12 | + |
| 13 | + requires tools.jackson.core; |
| 14 | + |
| 15 | + // // Actual Test dependencies |
| 16 | + |
| 17 | + // Test frameworks, libraries: |
| 18 | + |
| 19 | + // Guava testlib needed by CLMH tests, alas; brings in junit4 |
| 20 | + requires guava.testlib; |
| 21 | + // JUnit4 should NOT be needed but is transitively required |
| 22 | + requires junit; |
| 23 | + requires org.assertj.core; |
| 24 | + requires org.mockito; |
| 25 | + requires org.junit.jupiter.api; |
| 26 | + requires org.junit.jupiter.params; |
| 27 | + |
| 28 | + // Main exports need to switch to "opens" for testing |
| 29 | + opens tools.jackson.databind; |
| 30 | + opens tools.jackson.databind.annotation; |
| 31 | + opens tools.jackson.databind.cfg; |
| 32 | + opens tools.jackson.databind.deser; |
| 33 | + opens tools.jackson.databind.deser.bean; |
| 34 | + opens tools.jackson.databind.deser.jackson; |
| 35 | + opens tools.jackson.databind.deser.jdk; |
| 36 | + opens tools.jackson.databind.deser.std; |
| 37 | + opens tools.jackson.databind.exc; |
| 38 | + opens tools.jackson.databind.ext.javatime; |
| 39 | + opens tools.jackson.databind.ext.javatime.deser; |
| 40 | + opens tools.jackson.databind.ext.javatime.deser.key; |
| 41 | + opens tools.jackson.databind.ext.javatime.key; |
| 42 | + opens tools.jackson.databind.ext.javatime.misc; |
| 43 | + opens tools.jackson.databind.ext.javatime.ser; |
| 44 | + opens tools.jackson.databind.ext.javatime.tofix; |
| 45 | + opens tools.jackson.databind.ext.javatime.util; |
| 46 | + opens tools.jackson.databind.introspect; |
| 47 | + opens tools.jackson.databind.json; |
| 48 | + opens tools.jackson.databind.jsonFormatVisitors; |
| 49 | + opens tools.jackson.databind.jsontype; |
| 50 | + opens tools.jackson.databind.jsontype.impl; |
| 51 | + opens tools.jackson.databind.module; |
| 52 | + opens tools.jackson.databind.node; |
| 53 | + opens tools.jackson.databind.ser; |
| 54 | + opens tools.jackson.databind.ser.bean; |
| 55 | + opens tools.jackson.databind.ser.jackson; |
| 56 | + opens tools.jackson.databind.ser.jdk; |
| 57 | + opens tools.jackson.databind.ser.std; |
| 58 | + opens tools.jackson.databind.type; |
| 59 | + opens tools.jackson.databind.util; |
| 60 | + |
| 61 | + // Additional test opens (not exported by main, or needed from src/test/java) |
| 62 | + // needed by JUnit and other test libs |
| 63 | + opens tools.jackson.databind.access; |
| 64 | + opens tools.jackson.databind.contextual; |
| 65 | + opens tools.jackson.databind.convert; |
| 66 | + opens tools.jackson.databind.deser.builder; |
| 67 | + opens tools.jackson.databind.deser.creators; |
| 68 | + opens tools.jackson.databind.deser.dos; |
| 69 | + opens tools.jackson.databind.deser.enums; |
| 70 | + opens tools.jackson.databind.deser.filter; |
| 71 | + opens tools.jackson.databind.deser.inject; |
| 72 | + opens tools.jackson.databind.deser.lazy; |
| 73 | + opens tools.jackson.databind.deser.merge; |
| 74 | + opens tools.jackson.databind.deser.validate; |
| 75 | + opens tools.jackson.databind.ext; |
| 76 | + opens tools.jackson.databind.ext.cglib; |
| 77 | + opens tools.jackson.databind.ext.desktop; |
| 78 | + opens tools.jackson.databind.ext.jdk8; |
| 79 | + opens tools.jackson.databind.ext.jdk9; |
| 80 | + opens tools.jackson.databind.ext.jdk17; |
| 81 | + opens tools.jackson.databind.ext.sql; |
| 82 | + opens tools.jackson.databind.ext.xml; |
| 83 | + opens tools.jackson.databind.format; |
| 84 | + opens tools.jackson.databind.interop; |
| 85 | + opens tools.jackson.databind.jsonschema; |
| 86 | + opens tools.jackson.databind.jsontype.deftyping; |
| 87 | + opens tools.jackson.databind.jsontype.ext; |
| 88 | + opens tools.jackson.databind.jsontype.jdk; |
| 89 | + opens tools.jackson.databind.jsontype.vld; |
| 90 | + opens tools.jackson.databind.misc; |
| 91 | + opens tools.jackson.databind.mixins; |
| 92 | + opens tools.jackson.databind.objectid; |
| 93 | + opens tools.jackson.databind.records; |
| 94 | + opens tools.jackson.databind.records.tofix; |
| 95 | + opens tools.jackson.databind.ser.dos; |
| 96 | + opens tools.jackson.databind.ser.enums; |
| 97 | + opens tools.jackson.databind.ser.filter; |
| 98 | + opens tools.jackson.databind.seq; |
| 99 | + opens tools.jackson.databind.struct; |
| 100 | + opens tools.jackson.databind.testutil.failure; |
| 101 | + opens tools.jackson.databind.tofix; |
| 102 | + opens tools.jackson.databind.util.internal; |
| 103 | + opens tools.jackson.databind.views; |
| 104 | + |
| 105 | + // Also needed for some reason |
| 106 | + uses tools.jackson.databind.JacksonModule; |
| 107 | +} |
0 commit comments