The Liferay IDE is not able build Liferay plugins if the appBase of the Portal is different from webapps.
E.g I have palced ROOT.war in a external folder and defined the ROOT.xml (portal context file) to point to the external location using appBase property.