When running my WebApp project from Eclipse most of times it run correctly. But if by mistake to stop server, I kill it in \"Console\" view on instead of \"Stop\" Server from \"
Dont do those crazy cosmic workarounds !!
This works fine:
Add to your ".project" file (hidden) these lines:
org.eclipse.jem.workbench.JavaEMFNature
org.eclipse.wst.common.modulecore.ModuleCoreNature
org.eclipse.jdt.core.javanature
org.eclipse.m2e.core.maven2Nature
org.eclipse.wst.common.project.facet.core.nature
org.eclipse.wst.jsdt.core.jsNature
Enjoy !
Why? if you check that unexisting directory, well, that "../.metadata/blah/blah/tmp0/wtpwebapps/YOURPROJECT/"
is EMPTY: then your build aint creating the WAR... !!!
Because maven plugin isnt understanding HE HAVE TO !
I found this after comparing two .project files from both different deploying/non-deploying projects...
Hope helped !