As per your suggestion, I tried the following the EAR was created with the required .XMI files.
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ear-plugin</artifactId> <configuration> <earSourceDirectory> src/main/resources </earSourceDirectory> </configuration> </plugin> </plugins> </build> Is it possible to edit the file through Maven? Thanks, Bala