Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

### Fixed

- Fix unresolvable Maven Central POM for the uber JAR. The published POM no longer
declares a transitive dependency on the internal `databricks-jdbc-core` coordinate
(which is not published to Maven Central), restoring resolution for downstream
consumers (#1431).

---
*Note: When making changes, please add your change under the appropriate section
with a brief description.*
9 changes: 8 additions & 1 deletion assembly-uber/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@

<build>
<plugins>
<!-- flatten-maven-plugin produces .flattened-pom.xml: a self-contained
POM with the parent reference inlined and all <dependencies> stripped.
The shaded uber jar bundles every runtime dep, so the published POM
must declare zero compile deps; otherwise consumers transitively pull
the internal databricks-jdbc-core coordinate (which is not published
to Maven Central) and resolution fails. The release workflow uploads
.flattened-pom.xml as the published POM. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
Expand All @@ -69,7 +76,7 @@
<updatePomFile>true</updatePomFile>
<flattenMode>oss</flattenMode>
<pomElements>
<dependencies>expand</dependencies>
<dependencies>remove</dependencies>
<build>remove</build>
</pomElements>
</configuration>
Expand Down
Loading