Bump jackson.version from 2.14.2 to 2.15.0 (#563)

* Bump jackson.version from 2.14.2 to 2.15.0

Bumps `jackson.version` from 2.14.2 to 2.15.0.

Updates `jackson-core` from 2.14.2 to 2.15.0
- [Release notes](https://github.com/FasterXML/jackson-core/releases)
- [Changelog](https://github.com/FasterXML/jackson-core/blob/jackson-core-2.15.0/release.properties)
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.14.2...jackson-core-2.15.0)

Updates `jackson-databind` from 2.14.2 to 2.15.0
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Updates `jackson-datatype-jdk8` from 2.14.2 to 2.15.0

Updates `jackson-dataformat-xml` from 2.14.2 to 2.15.0
- [Release notes](https://github.com/FasterXML/jackson-dataformat-xml/releases)
- [Commits](https://github.com/FasterXML/jackson-dataformat-xml/compare/jackson-dataformat-xml-2.14.2...jackson-dataformat-xml-2.15.0)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.fasterxml.jackson.core:jackson-databind
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.fasterxml.jackson.datatype:jackson-datatype-jdk8
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.fasterxml.jackson.dataformat:jackson-dataformat-xml
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix JsonAnySetter

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Barry <msb5014@gmail.com>
pull/567/head
dependabot[bot] 2023-04-25 06:05:09 -04:00 zatwierdzone przez GitHub
rodzic fce555f1e3
commit 9b76c849e0
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 8 dodań i 3 usunięć

Wyświetl plik

@ -363,14 +363,19 @@ public class Pmtiles {
*/
public record JsonMetadata(
@JsonProperty("vector_layers") List<LayerStats.VectorLayer> vectorLayers,
@JsonAnyGetter @JsonAnySetter Map<String, String> otherMetadata
@JsonAnyGetter Map<String, String> otherMetadata
) {
@JsonCreator
JsonMetadata(@JsonProperty("vector_layers") List<LayerStats.VectorLayer> vectorLayers) {
public JsonMetadata(@JsonProperty("vector_layers") List<LayerStats.VectorLayer> vectorLayers) {
this(vectorLayers, new HashMap<>());
}
@JsonAnySetter
private void setExtraMetadata(String key, String val) {
otherMetadata.put(key, val);
}
public byte[] toBytes() {
try {

Wyświetl plik

@ -20,7 +20,7 @@
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.source.excludeResources>true</maven.source.excludeResources>
<jackson.version>2.14.2</jackson.version>
<jackson.version>2.15.0</jackson.version>
<junit.version>5.9.2</junit.version>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.organization>onthegomap</sonar.organization>