I\'ve imported an existing maven project into Eclipse. I tried to set up the configurations for a JUnit test, and my project wouldn\'t come up as a testable project. When I
I had what seemed like the same issue. In my case, I was checking out a Maven project that contained multiple (parent/child) poms.
If the highest level Maven project within your repository/branch simply manages child poms, it may not contain Java definitions at all. You will need to open these child projects as an independent project within Eclipse.
You can do this by right clicking on your project -> Import -> Maven -> Existing Maven Projects -> then select child project you are wanting to change.