How can I configure the deploy-path for a war in an ear for eclipse-wtp?

I’m facing an issue trying to get the eclipse-wtp plugin to generate the correct configuration for an Ear project for Eclipse.

I my EAR project, I have a JAR and two WAR subprojects. If I have Gradle generate the EAR, everything seems to get wrapped up nicely. In the configurationfile ‘.settings/org.eclipse.wst.common.component’ generated for Eclipse, the deploy-path attribute for both WAR projects is ‘/’. How can I specify a project’s deploy-path? This is the file currently generated:

<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="2.0">
 <wb-module deploy-name="near">
  <wb-resource deploy-path="/" source-path="src/main/application"/>
  <dependent-module deploy-path="/" handle="module:/resource/war/war">
  <dependent-module deploy-path="/" handle="module:/resource/jar/jar">

And a note: If I apply the ‘java’ plugin on my EAR-project, Eclipse does show all configuration options in the project properties overview. It seems the ‘JavaNature’ should not be present for EAR projects.