Hi, I have a problem with my Maven2 project (IDEA 7.0.3 7757).
I have a multimodule maven project. Every day when I start IDEA I get the following error in Maven Importer Output window:
Error:Error:Failed to resolve parent POM: maven:maven-conf::1.2-SNAPSHOT for project :maven-seam-conf:pom:[inherited] at C:\.m2-repository\maven\maven-seam-conf\1.2-SNAPSHOT\maven-seam-conf-1.2-SNAPSHOT.pom
The Maven Projects window is empty.
I have maven 2.0.8.
I have to close the project and execute mvn validate. Success, no errors. Reopen project and get:
Error:Error transferring file
from the specified remote repositories:
Path to dependency:
So I close project and execute mvn package. Success no errors. Reopen the project.
Now I have no import error. But all my ejb and web facets are duplicated. The old ones exist (which I have renamed before) and new ones with generic names (EJB, EJB, Web) are created. Also all the dependancy libs in modules lost the javadoc and source assignments which I manually gave them previously.
I am no Maven expert so I have no idea what might be wrong. This error happens to me every day when I start IDEA fresh. It is really frustrating because I have to do all manual javadoc assignments again and delete duplicate facets.