1

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?

Vishnu G S
  • 654
  • 2
  • 10
  • 27
  • 2
    Please copy paste your pom file to see that . I think there is problem in your pom file. – jdev Oct 06 '14 at 06:54

1 Answers1

1

Follow these steps:-

  • Update maven to version 3.
  • Deleted the .m2/org/codehaus folder.
  • Build the project.

    Issue fixed!

Vishnu G S
  • 654
  • 2
  • 10
  • 27