Merge pull request #92 from openstreetmap/upgrade-protobuf

Upgrade Java's protobuf to 4.33.2
This commit is contained in:
Leonard Ehrenfried 2025-12-20 10:31:55 +01:00 committed by GitHub
commit 7c3f68f622
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 11 deletions

View File

@ -1,5 +1,9 @@
## Unreleased
## Release notes for 1.6.1 (2025-12-20)
- Java: Update to latest protoc and protobuf runtime versions [#92](https://github.com/openstreetmap/OSM-binary/pull/92)
## Release notes for 1.6.0 (2024-12-10)
- Java: Update to latest protoc and protobuf runtime versions [#84](https://github.com/openstreetmap/OSM-binary/pull/84)

View File

@ -21,16 +21,17 @@ something more complete see [libosmium](https://osmcode.org/libosmium/).
### Building with Maven
We publish the Java library to [Maven Central](https://search.maven.org/):
We publish the Java library to [Maven Central](https://mvnrepository.com/artifact/org.openstreetmap.pbf/osmpbf): ![Maven Central](https://img.shields.io/maven-central/v/org.openstreetmap.pbf/osmpbf.svg)
```xml
<dependency>
<groupId>org.openstreetmap.pbf</groupId>
<artifactId>osmpbf</artifactId>
<version>1.5.0</version>
<version>${LATEST_VERSION}</version>
</dependency>
```
To build the Java library run:
```sh

11
pom.xml
View File

@ -31,7 +31,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<protobuf.version>4.28.3</protobuf.version>
<protobuf.version>4.33.2</protobuf.version>
</properties>
<build>
@ -139,20 +139,13 @@
<version>0.6.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central-lenni</publishingServerId>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
</plugins>
</build>
<pluginRepositories>
<pluginRepository>
<id>dtrott</id>
<url>http://maven.davidtrott.com/repository</url>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>junit</groupId>