Skip to content

feat: Publish Maven BOM to improve dependency management#11

Open
reneleonhardt wants to merge 1 commit into
bonede:mainfrom
reneleonhardt:publish-maven-bom
Open

feat: Publish Maven BOM to improve dependency management#11
reneleonhardt wants to merge 1 commit into
bonede:mainfrom
reneleonhardt:publish-maven-bom

Conversation

@reneleonhardt

Copy link
Copy Markdown
Contributor

No description provided.

@reneleonhardt

Copy link
Copy Markdown
Contributor Author

A BOM makes importing much easier, then a GitHub Action could automatically publish all artifacts when a new commit has been tagged.
Now every version of every artifact has to be specified in every project, even if you just need the "latest" (corresponding to the tree-sitter root artifact).
As the artifacts get no tags of their own, keeping up with Maven publications is no easy feat 😅
https://github.com/carlrobertoh/CodeGPT/blob/master/codegpt-treesitter/build.gradle.kts

I had to remove some old modules from settings.gradle, because the publish plugin would just include them in the BOM anyway.

@reneleonhardt

Copy link
Copy Markdown
Contributor Author

Example build: pom-default.xml.zip

@bonede

bonede commented Apr 15, 2024

Copy link
Copy Markdown
Owner

Hi, thanks for your contribution, but I prefer to keep the build script simple for now.

@reneleonhardt

Copy link
Copy Markdown
Contributor Author

Okay. I added 7 code lines in the build script and removed 4 from settings... not simple enough 😅

@sepatel

sepatel commented Aug 4, 2024

Copy link
Copy Markdown

I'd very much appreciate a bom. Any status on being able to get this moving forward?

@reneleonhardt

Copy link
Copy Markdown
Contributor Author

@sepatel Thank you for your interest, the functionality is finished, but it's not my project, I can't merge it 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants