Hi,
ok, as I can see you are trying to get it working with the recommended Pom ... Honestly speaking I don't know if / how this exactly works. Our projects are using the standard maven name conventions and we are using the option "Publish with resources on server" in order to get this work. In RAD we have the options under Maven / JavaEE integration both turned off ("Generate application.xml..." and "Maven archiver generates ..."). We are using flat project structure, if this somehow matters. "Use workspace resolution" is on.
Some excerpts from the poms, related to the RAD specifics / config:
plugin declarations:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>${maven-war-plugin.version}</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<!-- workaround for issue MWAR-296:
http://jira.codehaus.org/browse/MWAR-296 -->
<outputFileNameMapping>@{artifactId}@-@{baseVersion}@-@{classifier}@.@{extension}@</outputFileNameMapping>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<!-- Workaround for Maven bug #MJAR-156 (
https://jira.codehaus.org/browse/MJAR-156) -->
<useUniqueVersions>false</useUniqueVersions>
</manifest>
<manifestEntries>
<Built-By>build-master</Built-By>
<Build-version>${project.version}</Build-version>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ejb-plugin</artifactId>
<version>${maven-ejb-plugin.version}</version>
<configuration>
<ejbVersion>${ejb.spec.version}</ejbVersion>
<archive>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<version>${maven-ear-plugin.version}</version>
<configuration>
<version>${ear.spec.version}</version>
</configuration>
</plugin>
in the web projects:
<build>
<!-- avoid the Broken output dir rule warning -->
<outputDirectory>src/main/webapp/WEB-INF/classes</outputDirectory>