Maven project is in a subfolder, can't get Eclipse integration to work

Posted by tputkonen on Stack Overflow See other posts from Stack Overflow or by tputkonen
Published on 2010-05-26T10:58:41Z Indexed on 2010/05/26 11:01 UTC
Read the original article Hit count: 243

Filed under:
|

Inside the folder 'ProjectName' exists several subfolders, and of them contains java program:

  • ProjectName
    • Specifications
    • JavaCode
    • Gfx
    • ...

JavaCode folder contains pom.xml.

I have installed m2eclipse (0.10.x) to Eclipse and imported whole ProjectName folder to Eclipse. Subfolders are displayed correctly but maven integration is not working correctly - for example I don't see src/main/java "shortcut" folder in Eclipse, but I have to click to open all folders.

If I create a new maven project with Eclipse from scratch, the integration works well.

What could be the issue?

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about maven-plugin