This all may sound a little newbeeish from my side, but here it goes. Whenever I import the gatein-portal into Eclipse (either using svn or simple download), all sorts of errors pop up in the code.
1. Maven Dependencies Entry in the Project when viewed in the Package Explorer shows only three entries:
All the other Dependencies from the various POMs go missing. I have also downloaded the gatein-parent, and jboss-parent as projects and linked the gatein-portal pom to the parent through <relativePath> element. I thought it would help the system to recognize the other dependencies. It wasn't of any use.
2. All the errors are visible in the component module of gatein-portal.
3. The errors are of the nature that classes cannot be resolved in the IDE, because the libraries, the jars, are not found.
4. For some reason, when one tries to build the project, as I did with mvn clean install, everything goes smoothly and the projects builds normally. So there, there seems to be no problem with the dependency management, and all the classes are resolved.
A little taste of the problem is as follows:
Can somebody please give some suggestions!