I\'ve inherited a web project (Servlets) which is currently build inside eclipse.
I want to add maven around it. But the project\'s source directory is not following
Just add this to your pom in the build section.
build
<sourceDirectory>${basedir}/src</sourceDirectory>
Here's the relevant section of the POM doc on configuring the directories.