Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven can't find parent POM

I am trying to build a maven project, but I have encountered problem.

pom has specified parent pom and maven can't find it. I actually have the parent pom, but I don't know where to place it or what should I do so maven knows about.

I'm new to maven so sorry if my question is stupid.

like image 700
MrProper Avatar asked May 06 '12 21:05

MrProper


2 Answers

If you have the parent pom, you could try installing it.

When you run mvn install on a module the resulting artifact will be placed in your repository, so that it can be used from other modules.

like image 67
Viktor Nordling Avatar answered Sep 19 '22 16:09

Viktor Nordling


I am using Netbeans, I ran -N versions:update-child-modules in Run Maven/Goals.

It worked! It took 5 minutes to build but, it did build the project, and that's the first time that it has.

like image 23
afro54 Avatar answered Sep 18 '22 16:09

afro54