Eclipse-wtp ear with 3rd party libs

Judging from your screenshots, your ear project still applies the java plugin. In your sample project you declare it in the allprojects block in the root build script. Delete that, and apply the plugin on the appropriate sub-projects.