I am new to maven.
I have one project which I try to build with the maven3.
When I run the command mvn -X clean install
I got the error.
<
Make sure you have settings.xml. I had the same problem when I've deleted it by mistake.
I faced the same issue. Setting relative path of the parent in module projects solved the issue.
Use <relativePath>../Parent Project Name/pom.xml</relativePath>
Any way you mentioned /root/.m2/settings.xml.
But in my Case i missed the settings.xml to configure in the maven preferences. so that maven will search for the relative_path pom.xml from the remote_repository which is configured in settings.xml