I created a web project with maven like this:
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-webapp
Then I run mvn eclipse:eclipse
so that an eclipse project is built. Eclipse recognizes all the features of the project but it doesn't recognize it as a web project.
Therefore, when I create a server inside my eclipse workspace, and go to the dialog where I select what projects to deploy to my server, I am not offered to deploy my newly created project.
Ideas?