javamavenspring-mvcplexus

Maven- Error building pom


While trying mvn clean install I got the following error:

[INFO] Error building POM (may not be this project's POM).


Project ID: org.codehaus.plexus:plexus-components:pom:1.1.15

Reason: Cannot find parent: org.codehaus.plexus:plexus for project: org.codehaus.plexus:plexus-components:pom:1.1.15 for project org.codehaus.plexus:plexus-components:pom:1.1.15

The same works when I user mvn clean install as root user. What may be the possible reason?


Solution

  • Follow these steps:-