S. Govindankutty
S. Govindankutty

Reputation: 167

Issue with building Springboot in Maven2

I am trying to build a Springboot app that uses Spring data jpa in Maven 2 and I get the following error. I have the dependency it is complaining about in the local repository. Any ideas?

   Unable to read the metadata file for artifact 'org.hibernate:hibernate-validator:jar': 
POM 'org.jboss.shrinkwrap:shrinkwrap-bom' not found in repository: Unable to download the artifact from any repository

Upvotes: 0

Views: 155

Answers (1)

S. Govindankutty
S. Govindankutty

Reputation: 167

Fixed this; I had to add the BOM dependencies one-by-one to the project POM explicitly. Looks like Maven 2 doesn't like something about transitive BOM dependencies.

Upvotes: 1

Related Questions