Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bundle has content that does NOT have a .pom file

Tags:

pom.xml

I'm trying to deploy my library via maven central. But while deploying the jar file, I got this error "Bundle has content that does NOT have a .pom file". But my project had pom.xml normally. What's the problem?

The link below is my library that I want to publish on maven central. This is my first post, so I made it for testing purposes.

https://github.com/NiceTiming/TestLib

To resolve this error, I recreated the project and re-configured the pom.xml settings, but the error was the same.

like image 978
ple Lee Avatar asked Oct 22 '25 10:10

ple Lee


1 Answers

I had the same issue. I resolved it by removing the maven-metadata-local.xml file.

I found the solution here https://slack-chats.kotlinlang.org/t/16407246/anyone-tried-the-https-central-sonatype-org-publish-publish-

Hope it works for you too

like image 154
RDO Avatar answered Oct 25 '25 19:10

RDO



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!