Skip to content

Commit fbeb7ad

Browse files
committed
[#519] Add src/main/java9/module-info.java files and a simple IT.
1 parent 5812f63 commit fbeb7ad

File tree

17 files changed

+252
-5
lines changed

17 files changed

+252
-5
lines changed

api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@
5050
</plugins>
5151
</build>
5252

53-
</project>
53+
</project>

api/src/main/java9/module-info.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module io.jsonwebtoken.jjwt.api {
2+
exports io.jsonwebtoken;
3+
exports io.jsonwebtoken.io;
4+
exports io.jsonwebtoken.lang;
5+
exports io.jsonwebtoken.security;
6+
}

extensions/gson/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@
5353
</plugins>
5454
</build>
5555

56-
</project>
56+
</project>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module io.jsonwebtoken.jjwt.ext.gson {
2+
requires transitive com.google.gson;
3+
requires io.jsonwebtoken.jjwt.api;
4+
5+
exports io.jsonwebtoken.gson.io;
6+
7+
provides io.jsonwebtoken.io.Deserializer with
8+
io.jsonwebtoken.gson.io.GsonDeserializer;
9+
provides io.jsonwebtoken.io.Serializer with
10+
io.jsonwebtoken.gson.io.GsonSerializer;
11+
}

extensions/jackson/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,5 @@
6969
</plugin>
7070
</plugins>
7171
</build>
72-
</project>
72+
73+
</project>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module io.jsonwebtoken.jjwt.ext.jackson {
2+
requires transitive com.fasterxml.jackson.core;
3+
requires transitive com.fasterxml.jackson.databind;
4+
requires io.jsonwebtoken.jjwt.api;
5+
6+
exports io.jsonwebtoken.jackson.io;
7+
8+
provides io.jsonwebtoken.io.Deserializer with
9+
io.jsonwebtoken.jackson.io.JacksonDeserializer;
10+
provides io.jsonwebtoken.io.Serializer with
11+
io.jsonwebtoken.jackson.io.JacksonSerializer;
12+
13+
}

extensions/orgjson/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,5 @@
6969
</plugin>
7070
</plugins>
7171
</build>
72-
</project>
72+
73+
</project>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module io.jsonwebtoken.jjwt.ext.orgjson {
2+
requires transitive org.json;
3+
requires io.jsonwebtoken.jjwt.api;
4+
5+
exports io.jsonwebtoken.orgjson.io;
6+
7+
provides io.jsonwebtoken.io.Deserializer with io.jsonwebtoken.orgjson.io.OrgJsonDeserializer;
8+
provides io.jsonwebtoken.io.Serializer with io.jsonwebtoken.orgjson.io.OrgJsonSerializer;
9+
}

impl/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@
6868
</dependency>
6969
</dependencies>
7070

71-
</project>
71+
</project>

impl/src/main/java9/module-info.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module io.jsonwebtoken.jjwt.impl {
2+
requires io.jsonwebtoken.jjwt.api;
3+
4+
exports io.jsonwebtoken.impl;
5+
exports io.jsonwebtoken.impl.compression;
6+
exports io.jsonwebtoken.impl.lang;
7+
8+
provides io.jsonwebtoken.CompressionCodec with
9+
io.jsonwebtoken.impl.compression.DeflateCompressionAlgorithm,
10+
io.jsonwebtoken.impl.compression.GzipCompressionAlgorithm;
11+
12+
uses io.jsonwebtoken.CompressionCodec;
13+
uses io.jsonwebtoken.io.Deserializer;
14+
uses io.jsonwebtoken.io.Serializer;
15+
}

0 commit comments

Comments
 (0)