diff --git a/application/pom.xml b/application/pom.xml
index c3b4a6ee582..2a6e3043ba2 100644
--- a/application/pom.xml
+++ b/application/pom.xml
@@ -312,9 +312,9 @@
- org.openstreetmap.osmosis
- osmosis-osm-binary
- 0.48.3
+ org.openstreetmap.pbf
+ osmpbf
+ 1.6.0
diff --git a/application/src/main/java/org/opentripplanner/osm/OsmParser.java b/application/src/main/java/org/opentripplanner/osm/OsmParser.java
index 8a5f8e32448..4b443e6a505 100644
--- a/application/src/main/java/org/opentripplanner/osm/OsmParser.java
+++ b/application/src/main/java/org/opentripplanner/osm/OsmParser.java
@@ -1,11 +1,11 @@
package org.opentripplanner.osm;
+import crosby.binary.BinaryParser;
+import crosby.binary.Osmformat;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
-import org.openstreetmap.osmosis.osmbinary.BinaryParser;
-import org.openstreetmap.osmosis.osmbinary.Osmformat;
import org.opentripplanner.graph_builder.module.osm.OsmDatabase;
import org.opentripplanner.osm.model.OsmMemberType;
import org.opentripplanner.osm.model.OsmNode;
diff --git a/application/src/main/java/org/opentripplanner/osm/OsmProvider.java b/application/src/main/java/org/opentripplanner/osm/OsmProvider.java
index 597fd516b0e..91944a95b86 100644
--- a/application/src/main/java/org/opentripplanner/osm/OsmProvider.java
+++ b/application/src/main/java/org/opentripplanner/osm/OsmProvider.java
@@ -1,11 +1,11 @@
package org.opentripplanner.osm;
+import crosby.binary.file.BlockInputStream;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.time.ZoneId;
-import org.openstreetmap.osmosis.osmbinary.file.BlockInputStream;
import org.opentripplanner.datastore.api.DataSource;
import org.opentripplanner.datastore.api.FileType;
import org.opentripplanner.datastore.file.FileDataSource;
diff --git a/application/src/main/java/org/opentripplanner/updater/alert/GtfsRealtimeAlertsUpdater.java b/application/src/main/java/org/opentripplanner/updater/alert/GtfsRealtimeAlertsUpdater.java
index b217c60a05b..8deddd35b61 100644
--- a/application/src/main/java/org/opentripplanner/updater/alert/GtfsRealtimeAlertsUpdater.java
+++ b/application/src/main/java/org/opentripplanner/updater/alert/GtfsRealtimeAlertsUpdater.java
@@ -62,7 +62,7 @@ protected void runPolling() throws InterruptedException, ExecutionException {
final FeedMessage feed = otpHttpClient.getAndMap(
URI.create(url),
this.headers.asMap(),
- FeedMessage.PARSER::parseFrom
+ FeedMessage::parseFrom
);
long feedTimestamp = feed.getHeader().getTimestamp();
diff --git a/application/src/main/java/org/opentripplanner/updater/trip/MqttGtfsRealtimeUpdater.java b/application/src/main/java/org/opentripplanner/updater/trip/MqttGtfsRealtimeUpdater.java
index 20b49ed022f..0580cd4ea63 100644
--- a/application/src/main/java/org/opentripplanner/updater/trip/MqttGtfsRealtimeUpdater.java
+++ b/application/src/main/java/org/opentripplanner/updater/trip/MqttGtfsRealtimeUpdater.java
@@ -138,7 +138,7 @@ public void messageArrived(String topic, MqttMessage message) {
UpdateIncrementality updateIncrementality = FULL_DATASET;
try {
// Decode message
- GtfsRealtime.FeedMessage feedMessage = GtfsRealtime.FeedMessage.PARSER.parseFrom(
+ GtfsRealtime.FeedMessage feedMessage = GtfsRealtime.FeedMessage.parseFrom(
message.getPayload()
);
List feedEntityList = feedMessage.getEntityList();
diff --git a/application/src/test/java/org/opentripplanner/GtfsTest.java b/application/src/test/java/org/opentripplanner/GtfsTest.java
index 5d548e4012c..05b7bfbf4f6 100644
--- a/application/src/test/java/org/opentripplanner/GtfsTest.java
+++ b/application/src/test/java/org/opentripplanner/GtfsTest.java
@@ -221,7 +221,7 @@ protected void setUp() throws Exception {
try {
InputStream inputStream = new FileInputStream(gtfsRealTime);
- FeedMessage feedMessage = FeedMessage.PARSER.parseFrom(inputStream);
+ FeedMessage feedMessage = FeedMessage.parseFrom(inputStream);
List feedEntityList = feedMessage.getEntityList();
List updates = new ArrayList<>(feedEntityList.size());
for (FeedEntity feedEntity : feedEntityList) {
diff --git a/gtfs-realtime-protobuf/pom.xml b/gtfs-realtime-protobuf/pom.xml
index e4465a4d366..dd3990207c9 100644
--- a/gtfs-realtime-protobuf/pom.xml
+++ b/gtfs-realtime-protobuf/pom.xml
@@ -11,6 +11,7 @@
gtfs-realtime-protobuf
OpenTripPlanner - GTFS Realtime (protobuf)
+
com.google.protobuf
@@ -46,7 +47,7 @@
- com.google.protobuf:protoc:3.22.0:exe:${os.detected.classifier}
+ com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}
diff --git a/pom.xml b/pom.xml
index 6363b844aba..7eb8dfffde8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -59,20 +59,24 @@
176
+
32.1
2.53
2.18.2
+ 4.0.5
3.1.9
5.11.4
- 1.14.2
+ 1.14.1
5.6.0
1.5.12
10.1.0
- 2.0.16
+ 1.14.1
2.0.15
+ 5.6.0
+ 4.28.3
1.28
- 4.0.5
+ 2.0.16
UTF-8
opentripplanner/OpenTripPlanner
@@ -389,14 +393,26 @@
-
+
com.google.cloud
libraries-bom
- 26.48.0
+ 26.51.0
pom
import
+
+ com.google.protobuf
+ protobuf-java
+ ${protobuf.version}
+
+
+
+ com.google.guava
+ guava
+ 33.4.0-jre
+
+
org.slf4j
@@ -419,11 +435,6 @@
trove4j
3.0.3
-
- com.google.guava
- guava
- 33.4.0-jre
-