Why do I see a different number of projects when scanning a Java Maven project?