diff --git a/api/src/main/java9/module-info.java b/api/src/main/java9/module-info.java new file mode 100644 index 000000000..e5bfb666c --- /dev/null +++ b/api/src/main/java9/module-info.java @@ -0,0 +1,18 @@ +/* + * Copyright (C) 2025 jsonwebtoken.io + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +module io.jsonwebtoken { + +} diff --git a/impl/src/main/java9/module-info.java b/impl/src/main/java9/module-info.java new file mode 100644 index 000000000..155c2ebc2 --- /dev/null +++ b/impl/src/main/java9/module-info.java @@ -0,0 +1,18 @@ +/* + * Copyright (C) 2025 jsonwebtoken.io + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +module io.jsonwebtoken.impl { + requires io.jsonwebtoken; +} diff --git a/integration-tests/modular/pom.xml b/integration-tests/modular/pom.xml new file mode 100644 index 000000000..93e23cee1 --- /dev/null +++ b/integration-tests/modular/pom.xml @@ -0,0 +1,34 @@ + + + + 4.0.0 + + + io.jsonwebtoken.its + jjwt-its + 0.14.0-SNAPSHOT + + + jjwt-its-modular + 0.14.0-SNAPSHOT + JJWT :: Integration-Tests + + diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml new file mode 100644 index 000000000..6552d5d7e --- /dev/null +++ b/integration-tests/pom.xml @@ -0,0 +1,56 @@ + + + + 4.0.0 + + + io.jsonwebtoken + jjwt-root + 0.14.0-SNAPSHOT + + + io.jsonwebtoken.its + jjwt-its + 0.14.0-SNAPSHOT + + JJWT :: Integration-Tests + pom + + + + true + + + + + + jdk9AndLater + + [1.9,) + + + modular + + + + + + diff --git a/pom.xml b/pom.xml index 0d41f7f26..555eee10a 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,6 @@ + ${project.build.outputDirectory}/META-INF/versions/9 + + + + + + jdk17AndLater