Skip to content

Commit 93f01a2

Browse files
Use version property for jts-core dependency (#1297)
## Summary - Replaced the hard-coded `1.20.0` version for `jts-core` in `jdbc-core/pom.xml` with a `${jts-core.version}` property defined in the parent `pom.xml` - This ensures the version is centrally managed and cannot diverge across modules (same class of issue as #1293 where `commons-lang3` and `gson` resolved to different versions in the uber jar) ## Test plan - [x] `mvn dependency:tree -pl jdbc-core` confirms `jts-core:1.20.0` resolves correctly - [ ] CI unit tests pass NO_CHANGELOG=true This pull request was AI-assisted by Isaac. Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
1 parent fb5c13f commit 93f01a2

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

jdbc-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@
233233
<dependency>
234234
<groupId>org.locationtech.jts</groupId>
235235
<artifactId>jts-core</artifactId>
236-
<version>1.20.0</version>
236+
<version>${jts-core.version}</version>
237237
</dependency>
238238
<!-- https://mvnrepository.com/artifact/org.openjdk.jmh/jmh-core -->
239239
<dependency>

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
<annotation.version>1.3.5</annotation.version>
8383
<netty.version>4.2.6.Final</netty.version>
8484
<grpc.version>1.71.0</grpc.version>
85+
<jts-core.version>1.20.0</jts-core.version>
8586
<resilience4j.version>1.7.0</resilience4j.version>
8687
<nimbusjose.version>10.0.2</nimbusjose.version>
8788
<bouncycastle.version>1.79</bouncycastle.version>

0 commit comments

Comments
 (0)