You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@johnzon.apache.org by st...@apache.org on 2026/08/10 12:32:34 UTC

(johnzon) branch master updated (b0ce6492 -> ea1a1175)

This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/johnzon.git


    from b0ce6492 [maven-release-plugin] prepare for next development iteration
     new 530f6646 update documentation
     new 1e58eb4a upgrade to latest maven-surefire plugin
     new cb35abb4 add hack to prevent maven-surefire-reporting-plugin from complaining about \uffff
     new 5c7c1a79 don't commit logs
     new ea1a1175 update spotbugs plugin for site reporting

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore                                |  1 +
 johnzon-distribution/src/assembly/src.xml |  1 +
 pom.xml                                   | 43 ++++++++++++------
 src/site/markdown/download.md             | 72 +++++++++----------------------
 src/site/markdown/index.md                | 22 +++++-----
 src/site/site.xml                         |  6 ---
 6 files changed, 63 insertions(+), 82 deletions(-)


(johnzon) 04/05: don't commit logs

Posted by st...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/johnzon.git

commit 5c7c1a791b9235611f75398ee52dd623fae57d2a
Author: Mark Struberg <st...@apache.org>
AuthorDate: Mon Aug 10 14:10:28 2026 +0200

    don't commit logs
---
 .gitignore                                | 1 +
 johnzon-distribution/src/assembly/src.xml | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.gitignore b/.gitignore
index 904ee64a..8113a627 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@ target
 .checkstyle
 *.sig
 *.patch
+*.log
diff --git a/johnzon-distribution/src/assembly/src.xml b/johnzon-distribution/src/assembly/src.xml
index 78911436..c23b68f6 100644
--- a/johnzon-distribution/src/assembly/src.xml
+++ b/johnzon-distribution/src/assembly/src.xml
@@ -36,6 +36,7 @@
       <useDefaultExcludes>true</useDefaultExcludes>
       <excludes>
         <exclude>**/flume-og/**</exclude>
+        <exclude>**/*.log</exclude>
         <!-- build output -->
         <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/).*${project.build.directory}.*]</exclude>
         <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?maven-eclipse\.xml]</exclude>


(johnzon) 02/05: upgrade to latest maven-surefire plugin

Posted by st...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/johnzon.git

commit 1e58eb4a14e9480ab785db2758a9d9b3d1a5752c
Author: Mark Struberg <st...@apache.org>
AuthorDate: Mon Aug 10 11:21:58 2026 +0200

    upgrade to latest maven-surefire plugin
---
 pom.xml           | 2 +-
 src/site/site.xml | 6 ------
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/pom.xml b/pom.xml
index 722e88a9..644edcc2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,7 +48,7 @@
     <johnzon.site.url>https://svn.apache.org/repos/asf/johnzon/site/publish/</johnzon.site.url>
     <pubsub.url>scm:svn:${johnzon.site.url}</pubsub.url>
     <staging.directory>${project.build.directory}/site</staging.directory>
-    <surefire.plugin.version>3.2.5</surefire.plugin.version>
+    <surefire.plugin.version>3.5.6</surefire.plugin.version>
     <felix.plugin.version>5.1.9</felix.plugin.version>
     <bnd.version.policy>[$(version;==;$(@)),$(version;+;$(@)))</bnd.version.policy>
     <bnd.version>6.1.0</bnd.version>
diff --git a/src/site/site.xml b/src/site/site.xml
index f88c9c7d..0a85cac1 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -67,12 +67,6 @@
       <item name="Changelog" href="/changelog.html"/>
       <item name="Mailing Lists" href="/mailing-lists.html"/>
     </menu>
-    
-    <menu name="Old Releases">
-        <item name="Johnzon 0.7-incubating"       href="/archives/0.7-incubating/index.html"/>
-        <item name="Johnzon 0.2-incubating"       href="/archives/0.2-incubating/index.html"/>
-        <item name="Johnzon 0.1-incubating"       href="/archives/0.1-incubating/index.html"/>
-    </menu>
 
     <menu ref="reports" inherit="bottom"/>
 


(johnzon) 01/05: update documentation

Posted by st...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/johnzon.git

commit 530f66467b56459a83bd9b76e8366091e9d0e7f3
Author: Mark Struberg <st...@apache.org>
AuthorDate: Mon Aug 10 10:37:25 2026 +0200

    update documentation
---
 src/site/markdown/download.md | 72 ++++++++++++-------------------------------
 src/site/markdown/index.md    | 22 ++++++-------
 2 files changed, 31 insertions(+), 63 deletions(-)

diff --git a/src/site/markdown/download.md b/src/site/markdown/download.md
index 41a43291..4761a3ac 100644
--- a/src/site/markdown/download.md
+++ b/src/site/markdown/download.md
@@ -34,9 +34,10 @@ Read more about [how we sign Apache Releases](http://www.apache.org/info/verific
 
 ----------
 
-## Johnzon-2.0.x
+## Johnzon-2.x
 
-Apache Johnzon 2.0.x implements the JSON-P 2.1 and JSON-B 3.0 specifications which are in line with the Jakarta EE Platform 10. This version is not backward compatible due to the namespace change from `javax` to `jakarta`. 
+Apache Johnzon 2.x implements the JSON-P 2.1 and JSON-B 3.0 specifications which are in line with the Jakarta EE Platform 10.
+This version is not backward compatible to Johnzon-1.x due to the namespace change from `javax` to `jakarta`. 
 Apache Johnzon does not implement Jakarta EE 9 per se, because there was no change in terms of APIs except the namespace change. 
 So we decided to use Apache Johnzon 1.2.x bellow and publish a Jakarta compatible version using bytecode transformation. All artifacts can be used with the classifier `jakarta`.
 
@@ -46,16 +47,16 @@ Binaries should be obtained from [maven central](https://repo.maven.apache.org/m
 
 #### Source
 Should you want to build any of the above binaries, this source bundle is the right one and covers them all.
-* [apache-johnzon-2.0.1-src.zip](https://www.apache.org/dyn/closer.lua/johnzon/johnzon-2.0.1/apache-johnzon-2.0.1-src.zip)
-* [apache-johnzon-2.0.1-src.zip.sha512](https://downloads.apache.org/johnzon/johnzon-2.0.1/apache-johnzon-2.0.1-src.zip.sha512)
-* [apache-johnzon-2.0.1-src.zip.asc](https://downloads.apache.org/johnzon/johnzon-2.0.1/apache-johnzon-2.0.1-src.zip.asc)
-* [apache-johnzon-2.0.1-src.tar.gz](https://www.apache.org/dyn/closer.lua/johnzon/johnzon-2.0.1/apache-johnzon-2.0.1-src.tar.gz)
-* [apache-johnzon-2.0.1-src.tar.gz.sha512](https://downloads.apache.org/johnzon/johnzon-2.0.1/apache-johnzon-2.0.1-src.tar.gz.sha512)
-* [apache-johnzon-2.0.1-src.tar.gz.asc](https://downloads.apache.org/johnzon/johnzon-2.0.1/apache-johnzon-2.0.1-src.tar.gz.asc)
+* [apache-johnzon-2.2.0-src.zip](https://www.apache.org/dyn/closer.lua/johnzon/johnzon-2.2.0/apache-johnzon-2.2.0-src.zip)
+* [apache-johnzon-2.2.0-src.zip.sha512](https://downloads.apache.org/johnzon/johnzon-2.2.0/apache-johnzon-2.2.0-src.zip.sha512)
+* [apache-johnzon-2.2.0-src.zip.asc](https://downloads.apache.org/johnzon/johnzon-2.2.0/apache-johnzon-2.2.0-src.zip.asc)
+* [apache-johnzon-2.2.0-src.tar.gz](https://www.apache.org/dyn/closer.lua/johnzon/johnzon-2.2.0/apache-johnzon-2.2.0-src.tar.gz)
+* [apache-johnzon-2.2.0-src.tar.gz.sha512](https://downloads.apache.org/johnzon/johnzon-2.2.0/apache-johnzon-2.2.0-src.tar.gz.sha512)
+* [apache-johnzon-2.2.0-src.tar.gz.asc](https://downloads.apache.org/johnzon/johnzon-2.2.0/apache-johnzon-2.2.0-src.tar.gz.asc)
 
-## Johnzon-1.2.x
+## Johnzon-1.3.x
 
-Apache Johnzon 1.2.x implements the JSON-P 1.1 and JSON-B 1.0 specifications which are in line with the Jakarta EE Platform 8.
+Apache Johnzon 1.2.x and 1.3.x implement the JSON-P 1.1 and JSON-B 1.0 specifications which are in line with the Jakarta EE Platform 8.
 
 
 #### Binaries
@@ -64,42 +65,23 @@ Binaries should be obtained from [maven central](https://repo.maven.apache.org/m
 
 #### Source
 Should you want to build any of the above binaries, this source bundle is the right one and covers them all.
-* [apache-johnzon-1.2.21-src.zip](https://www.apache.org/dyn/closer.lua/johnzon/johnzon-1.2.21/apache-johnzon-1.2.21-src.zip)
-* [apache-johnzon-1.2.21-src.zip.sha512](https://downloads.apache.org/johnzon/johnzon-1.2.21/apache-johnzon-1.2.21-src.zip.sha512)
-* [apache-johnzon-1.2.21-src.zip.asc](https://downloads.apache.org/johnzon/johnzon-1.2.21/apache-johnzon-1.2.21-src.zip.asc)
-* [apache-johnzon-1.2.21-src.tar.gz](https://www.apache.org/dyn/closer.lua/johnzon/johnzon-1.2.21/apache-johnzon-1.2.21-src.tar.gz)
-* [apache-johnzon-1.2.21-src.tar.gz.sha512](https://downloads.apache.org/johnzon/johnzon-1.2.21/apache-johnzon-1.2.21-src.tar.gz.sha512)
-* [apache-johnzon-1.2.21-src.tar.gz.asc](https://downloads.apache.org/johnzon/johnzon-1.2.21/apache-johnzon-1.2.21-src.tar.gz.asc)
+* [apache-johnzon-1.3.0-src.zip](https://www.apache.org/dyn/closer.lua/johnzon/johnzon-1.3.0/apache-johnzon-1.3.0-src.zip)
+* [apache-johnzon-1.3.0-src.zip.sha512](https://downloads.apache.org/johnzon/johnzon-1.3.0/apache-johnzon-1.3.0-src.zip.sha512)
+* [apache-johnzon-1.3.0-src.zip.asc](https://downloads.apache.org/johnzon/johnzon-1.3.0/apache-johnzon-1.3.0-src.zip.asc)
+* [apache-johnzon-1.3.0-src.tar.gz](https://www.apache.org/dyn/closer.lua/johnzon/johnzon-1.3.0/apache-johnzon-1.3.0-src.tar.gz)
+* [apache-johnzon-1.3.0-src.tar.gz.sha512](https://downloads.apache.org/johnzon/johnzon-1.3.0/apache-johnzon-1.3.0-src.tar.gz.sha512)
+* [apache-johnzon-1.3.0-src.tar.gz.asc](https://downloads.apache.org/johnzon/johnzon-1.3.0/apache-johnzon-1.3.0-src.tar.gz.asc)
 
 ## Johnzon-1.0.x
 
 Apache Johnzon 1.0.x implements the JSON-P 1.0 specification and a preliminary version of the JSON-B 1.0.
 This corresponds to JavaEE 7 level.
+This version is EOL!
 
-#### Binaries
-The binary distribution contains all Johnzon modules.
-
-* [apache-johnzon-1.0.2-bin.zip](https://www.apache.org/dyn/closer.lua/johnzon/johnzon-1.0.2/apache-johnzon-1.0.2-bin.zip)
-* [apache-johnzon-1.0.2-bin.zip.sha256](https://downloads.apache.org/johnzon/johnzon-1.0.2/apache-johnzon-1.0.2-bin.zip.sha256)
-* [apache-johnzon-1.0.2-bin.zip.asc](https://downloads.apache.org/johnzon/johnzon-1.0.2/apache-johnzon-1.0.2-bin.zip.asc)
-* [apache-johnzon-1.0.2-bin.tar.gz](https://www.apache.org/dyn/closer.lua/johnzon/johnzon-1.0.2/apache-johnzon-1.0.2-bin.tar.gz)
-* [apache-johnzon-1.0.2-bin.tar.gz.sha256](https://downloads.apache.org/johnzon/johnzon-1.0.2/apache-johnzon-1.0.2-bin.tar.gz.sha256)
-* [apache-johnzon-1.0.2-bin.tar.gz.asc](https://downloads.apache.org/johnzon/johnzon-1.0.2/apache-johnzon-1.0.2-bin.tar.gz.asc)
-
-#### Source
-Should you want to build any of the above binaries, this source bundle is the right one and covers them all.
-
-* [apache-johnzon-1.0.2-src.zip](https://www.apache.org/dyn/closer.lua/johnzon/johnzon-1.0.2/apache-johnzon-1.0.2-src.zip)
-* [apache-johnzon-1.0.2-src.zip.sha256](https://downloads.apache.org/johnzon/johnzon-1.0.2/apache-johnzon-1.0.2-src.zip.sha256)
-* [apache-johnzon-1.0.2-src.zip.asc](https://downloads.apache.org/johnzon/johnzon-1.0.2/apache-johnzon-1.0.2-src.zip.asc)
-* [apache-johnzon-1.0.2-src.tar.gz](https://www.apache.org/dyn/closer.lua/johnzon/johnzon-1.0.2/apache-johnzon-1.0.2-src.tar.gz)
-* [apache-johnzon-1.0.2-src.tar.gz.sha256](https://downloads.apache.org/johnzon/johnzon-1.0.2/apache-johnzon-1.0.2-src.tar.gz.sha256)
-* [apache-johnzon-1.0.2-src.tar.gz.asc](https://downloads.apache.org/johnzon/johnzon-1.0.2/apache-johnzon-1.0.2-src.tar.gz.asc)
--------
 
 ### Maven Dependencies
 
-#### APIs for Johnzon-2.0.x (Jakarta EE 10)
+#### APIs for Johnzon-2.x (Jakarta EE 10++)
 
 Since Java EE got open sourced to become Jakarta EE, the APIs can be used without license restrictions, so we moved away from our Apache APIs.
 
@@ -116,7 +98,7 @@ Since Java EE got open sourced to become Jakarta EE, the APIs can be used withou
         <scope>provided</scope>
     </dependency>
 
-#### APIs for Johnzon-1.1.x (JavaEE 8)
+#### APIs for Johnzon-1.2.x and 1.3.x (JavaEE 8)
 
     <dependency>
         <groupId>org.apache.geronimo.specs</groupId>
@@ -130,18 +112,4 @@ Since Java EE got open sourced to become Jakarta EE, the APIs can be used withou
         <version>1.2</version>
     </dependency>
 
-#### APIs for Johnzon-1.0.x (JavaEE 7)
-
-    <dependency>
-        <groupId>org.apache.geronimo.specs</groupId>
-        <artifactId>geronimo-json_1.0_spec</artifactId>
-        <version>1.0-alpha-1</version>
-    </dependency>
-
-    <dependency>
-        <groupId>org.apache.geronimo.specs</groupId>
-        <artifactId>geronimo-jsonb_1.0_spec</artifactId>
-        <version>1.0</version>
-    </dependency>
-
 Note that you should set the scope of those dependencies to either `provided` or `compile` depending on whether your environment already provide them or not.
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index a660ab6c..0076c182 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -47,7 +47,7 @@ You'll surely want to add the API as dependency too:
 <dependency>
   <groupId>jakarta.json</groupId>
   <artifactId>jakarta.json-api</artifactId>
-  <version>2.1.2</version>
+  <version>2.1.3</version>
   <scope>provided</scope> <!-- or compile if your environment doesn't provide it -->
 </dependency>
 ]]></pre>
@@ -434,35 +434,35 @@ if you write in the servlet context an attribute named `org.apache.johnzon.webso
 
 Encoders:
 
-*  `org.apache.johnzon.websocket.jsr.JsrObjectEncoder`
-*  `org.apache.johnzon.websocket.jsr.JsrArrayEncoder`
-*  `org.apache.johnzon.websocket.jsr.JsrStructureEncoder`
+* `org.apache.johnzon.websocket.jsr.JsrObjectEncoder`
+* `org.apache.johnzon.websocket.jsr.JsrArrayEncoder`
+* `org.apache.johnzon.websocket.jsr.JsrStructureEncoder`
 
 Decoders:
 
-*  `org.apache.johnzon.websocket.jsr.JsrObjectDecoder`
-*  `org.apache.johnzon.websocket.jsr.JsrArrayDecoder`
-*  `org.apache.johnzon.websocket.jsr.JsrStructureDecoder`
+* `org.apache.johnzon.websocket.jsr.JsrObjectDecoder`
+* `org.apache.johnzon.websocket.jsr.JsrArrayDecoder`
+* `org.apache.johnzon.websocket.jsr.JsrStructureDecoder`
 
 #### Mapper integration
 
 Encoder:
 
-*  `org.apache.johnzon.websocket.mapper.JohnzonTextEncoder`
+* `org.apache.johnzon.websocket.mapper.JohnzonTextEncoder`
 
 Decoder:
 
-*  `org.apache.johnzon.websocket.mapper.JohnzonTextDecoder`
+* `org.apache.johnzon.websocket.mapper.JohnzonTextDecoder`
 
 #### JSON-B integration
 
 Encoder:
 
-*  `org.apache.johnzon.websocket.jsonb.JsonbTextEncoder`
+* `org.apache.johnzon.websocket.jsonb.JsonbTextEncoder`
 
 Decoder:
 
-*  `org.apache.johnzon.websocket.jsonb.JsonbTextDecoder`
+* `org.apache.johnzon.websocket.jsonb.JsonbTextDecoder`
 
 #### Sample
 


(johnzon) 05/05: update spotbugs plugin for site reporting

Posted by st...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/johnzon.git

commit ea1a1175bd4ffc4928f18337590f97e85d95cfb7
Author: Mark Struberg <st...@apache.org>
AuthorDate: Mon Aug 10 14:32:15 2026 +0200

    update spotbugs plugin for site reporting
---
 pom.xml | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/pom.xml b/pom.xml
index 43dcfeb5..372488bc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -181,8 +181,7 @@
         <plugin>
           <groupId>com.github.spotbugs</groupId>
           <artifactId>spotbugs-maven-plugin</artifactId>
-          <!-- todo: Update spotbugs-maven-plugin to v4: https://spotbugs.readthedocs.io/en/stable/migration.html -->
-          <version>3.1.12.2</version>
+          <version>4.9.8.5</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
@@ -204,16 +203,6 @@
           <artifactId>taglist-maven-plugin</artifactId>
           <version>3.0.0</version>
         </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-changelog-plugin</artifactId>
-          <version>2.3</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-changes-plugin</artifactId>
-          <version>2.12.1</version>
-        </plugin>
 
         <plugin>
           <groupId>org.apache.felix</groupId>


(johnzon) 03/05: add hack to prevent maven-surefire-reporting-plugin from complaining about \uffff

Posted by st...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/johnzon.git

commit cb35abb41c38e49d0a54a7e753311d144dd71f43
Author: Mark Struberg <st...@apache.org>
AuthorDate: Mon Aug 10 13:40:39 2026 +0200

    add hack to prevent maven-surefire-reporting-plugin from complaining about \uffff
---
 pom.xml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/pom.xml b/pom.xml
index 644edcc2..43dcfeb5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -158,6 +158,11 @@
           <artifactId>maven-surefire-report-plugin</artifactId>
           <version>${surefire.plugin.version}</version>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-antrun-plugin</artifactId>
+          <version>3.1.0</version>
+        </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-site-plugin</artifactId>
@@ -452,6 +457,29 @@
         </configuration>
       </plugin>
 
+      <!-- Clean invalid XML characters from surefire reports before site generation
+           Jakarta EE TCK tests may write non-characters (U+FFFF, U+FFFE) to test output -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>clean-surefire-xml</id>
+            <phase>pre-site</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <target>
+                <replaceregexp match="[\uFFFF\uFFFE]" replace="" flags="g">
+                  <fileset dir="${project.basedir}" includes="**/target/surefire-reports/*.xml"/>
+                </replaceregexp>
+              </target>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-release-plugin</artifactId>