Johan S wrote:
I having trouble creating a simple web project (without archetype) in
Eclipse 3.4 using a Mac.
I use the m2eclipse plugin and creates the project. However, the
src/main/webapp folder is empty. I can't build the war file since web.xml is missing!

If I do the same on a Windows machine it works perfectly.

Is this a bug in m2eclipse using a mac ?
The new Maven project wizard in "Simple project" mode does not create any resources other then pom.xml with specified Maven coordinates and basic folder structure. So, you have to manually create your web.xml and configure required Maven plugins and other project resources.

If you need just a simple web project that would build out of the box, you can use maven-archetype-webapp, which does exactly what you want.

 regards,
 Eugene



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to