[Git][java-team/libjsonp2-java][upstream] New upstream version 2.1.2
Markus Koschany (@apo)
gitlab at salsa.debian.org
Wed Sep 13 13:27:54 BST 2023
Markus Koschany pushed to branch upstream at Debian Java Maintainers / libjsonp2-java
Commits:
6b9dfa61 by Markus Koschany at 2023-09-12T03:18:28+02:00
New upstream version 2.1.2
- - - - -
3 changed files:
- .github/workflows/maven.yml
- api/pom.xml
- api/src/main/java/jakarta/json/stream/JsonParser.java
Changes:
=====================================
.github/workflows/maven.yml
=====================================
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2021 Contributors to the Eclipse Foundation
+# Copyright (c) 2021, 2023 Contributors to the Eclipse Foundation
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v. 2.0 which is available at
@@ -16,6 +16,10 @@ on:
pull_request:
push:
+concurrency:
+ group: ${{ github.ref }}
+ cancel-in-progress: true
+
jobs:
build:
name: Test on JDK ${{ matrix.java_version }}
@@ -23,13 +27,13 @@ jobs:
strategy:
matrix:
- java_version: [ 11, 17-ea ]
+ java_version: [ 11, 17, 21-ea ]
steps:
- name: Checkout for build
- uses: actions/checkout at v2.3.4
+ uses: actions/checkout at v3
- name: Set up JDK
- uses: actions/setup-java at v2
+ uses: actions/setup-java at v3
with:
distribution: 'zulu'
java-version: ${{ matrix.java_version }}
=====================================
api/pom.xml
=====================================
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2011, 2022 Oracle and/or its affiliates. All rights reserved.
+ Copyright (c) 2011, 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
@@ -30,7 +30,7 @@
<groupId>jakarta.json</groupId>
<artifactId>jakarta.json-api</artifactId>
- <version>2.1.1</version>
+ <version>2.1.2</version>
<name>Jakarta JSON Processing API</name>
<description>Jakarta JSON Processing defines a Java(R) based framework for parsing, generating, transforming, and querying JSON documents.</description>
<url>https://github.com/eclipse-ee4j/jsonp</url>
@@ -83,7 +83,7 @@
<spotbugs.exclude>${project.basedir}/../etc/spotbugs-exclude.xml</spotbugs.exclude>
<spotbugs.skip>false</spotbugs.skip>
<spotbugs.threshold>Low</spotbugs.threshold>
- <spotbugs.version>4.7.1.0</spotbugs.version>
+ <spotbugs.version>4.7.3.4</spotbugs.version>
<non.final>false</non.final>
<extension.name>jakarta.json</extension.name>
@@ -113,7 +113,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>3.10.1</version>
+ <version>3.11.0</version>
</plugin>
<plugin>
<groupId>org.glassfish.build</groupId>
@@ -123,7 +123,7 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>5.1.7</version>
+ <version>5.1.8</version>
<configuration>
<instructions>
<_noextraheaders>true</_noextraheaders>
@@ -133,7 +133,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>3.2.2</version>
+ <version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -143,12 +143,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>3.4.0</version>
+ <version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
- <version>3.1.0</version>
+ <version>3.3.0</version>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
@@ -265,13 +265,12 @@
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>9</release>
+ <createMissingPackageInfoClass>false</createMissingPackageInfoClass>
<compilerArgs>
<arg>-Xlint:all</arg>
<arg>-Xdoclint:all</arg>
- <arg>-Werror</arg>
</compilerArgs>
<showDeprecation>true</showDeprecation>
- <showWarnings>true</showWarnings>
</configuration>
<executions>
<execution>
=====================================
api/src/main/java/jakarta/json/stream/JsonParser.java
=====================================
@@ -128,7 +128,7 @@ import jakarta.json.JsonArray;
* while (parser.hasNext() {
* Event event = parser.next();
* if (event == JsonParser.Event.KEY_NAME ) {
- * String key = getString();
+ * String key = parser.getString();
* event = parser.next();
* if (key.equals("phoneNumber") {
* JsonArray phones = parser.getArray();
View it on GitLab: https://salsa.debian.org/java-team/libjsonp2-java/-/commit/6b9dfa61f00b593ad1507136a765ec9a554ef8fd
--
View it on GitLab: https://salsa.debian.org/java-team/libjsonp2-java/-/commit/6b9dfa61f00b593ad1507136a765ec9a554ef8fd
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20230913/729b467f/attachment.htm>
More information about the pkg-java-commits
mailing list