jira-importer commented on issue #307: URL: https://github.com/apache/maven-ear-plugin/issues/307#issuecomment-2955276857
**[Armin Wrobel](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=awrobel)** commented The requested debug info trace file and the sample project. I created a sample project for you, and this output.log has been created using the sample project. In the sample project I removed everything, but two modules besides the ear module. One is a webservice module and the other the ecase-web module. As soon as I comment the dependency and module definition of 'ecase-sunet-ws' in the ear pom out, the contextRoot of the 'ecase-web' artifact is set correctly in the application.xml as '/ecase'. Otherwise it's set as '/ecase-web' which is the artifactId. As I can see in the debug info, only the ecase-sunet-ws contextRoot setting is considered in the case where both modules are configured. The maven build has to be started like this: mvn clean package -Pcommon-profile,casex-ext Again, thanks a lot for your help! You're doing a great job! Armin -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
