diff --git a/bundles/jakarta.json/pom.xml b/bundles/jakarta.json/pom.xml index d6dd272f..d0bfe5a1 100644 --- a/bundles/jakarta.json/pom.xml +++ b/bundles/jakarta.json/pom.xml @@ -105,6 +105,18 @@ + + current-year-property + + timestamp-property + + validate + + current.year + en,US + yyyy + + @@ -194,7 +206,7 @@
JSON Processing API v${project.version}]]>
jsonp-dev@eclipse.org.
-Copyright © 2019, 2023 Eclipse Foundation. All rights reserved.
+Copyright © 2019, ${current.year} Eclipse Foundation. All rights reserved.
Use is subject to license terms.]]>
diff --git a/impl/src/main/java/module-info.java b/impl/src/main/java/module-info.java index 9f04bd7e..fdcb1eea 100644 --- a/impl/src/main/java/module-info.java +++ b/impl/src/main/java/module-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2021 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2016, 2023 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0, which is available at @@ -14,6 +14,9 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ +/** + * Jakarta JSON API with Eclipse Parsson implementation. + */ module org.eclipse.parsson { requires transitive jakarta.json; exports org.eclipse.parsson.api; diff --git a/pom.xml b/pom.xml index 570d9b88..28f9d80a 100644 --- a/pom.xml +++ b/pom.xml @@ -94,7 +94,7 @@ ${config.dir}/exclude.xml false Low - 4.7.1.0 + 4.7.3.4 2.1.1 @@ -193,7 +193,7 @@ maven-compiler-plugin 9 - + false -Xlint:all @@ -207,7 +207,6 @@ 8 - true module-info.java @@ -283,7 +282,7 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.1.0 + 3.3.0 @@ -309,7 +308,7 @@ org.apache.felix maven-bundle-plugin - 5.1.7 + 5.1.8 true @@ -325,7 +324,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.4.0 + 3.5.0 org.apache.maven.plugins @@ -335,22 +334,22 @@ org.apache.maven.plugins maven-compiler-plugin - 3.10.1 + 3.11.0 org.apache.maven.plugins maven-jar-plugin - 3.2.2 + 3.3.0 org.apache.maven.plugins maven-dependency-plugin - 3.3.0 + 3.5.0 org.apache.maven.plugins maven-resources-plugin - 3.2.0 + 3.3.1 org.apache.maven.plugins @@ -370,12 +369,12 @@ org.apache.maven.plugins maven-surefire-plugin - 3.0.0-M7 + 3.1.0 org.apache.maven.plugins maven-assembly-plugin - 3.4.1 + 3.5.0 diff --git a/rest/src/main/java/module-info.java b/rest/src/main/java/module-info.java index 4a0a93aa..ee6c6c9e 100644 --- a/rest/src/main/java/module-info.java +++ b/rest/src/main/java/module-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020, 2021 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, 2023 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0, which is available at @@ -14,6 +14,9 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ +/** + * Provides integration with Jakarta REST framework. + */ module org.eclipse.parsson.media { requires jakarta.json; diff --git a/rest/src/main/java/org/eclipse/parsson/media/JsonValueBodyWriter.java b/rest/src/main/java/org/eclipse/parsson/media/JsonValueBodyWriter.java index 1896f029..56cbf7dd 100644 --- a/rest/src/main/java/org/eclipse/parsson/media/JsonValueBodyWriter.java +++ b/rest/src/main/java/org/eclipse/parsson/media/JsonValueBodyWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2022 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2023 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0, which is available at @@ -55,6 +55,11 @@ public class JsonValueBodyWriter implements MessageBodyWriter { private final Configuration config; + /** + * Constructor. + * + * @param config configuration + */ public JsonValueBodyWriter(@Context Configuration config) { this.config = config; }