I have a multi-module Maven project. Here is how it is structured:
- cca-workflow (parent project)
- cca-commons (jar)
- cca-models (jar)
- cca-wsclient (jar)
- cca-business (jar)
- cca-web (war)
The war project depends on the jar projects. In my parent project, I have a Maven properties file which at build time replaces some of my Spring properties e.g. web_service_url, port, wsdl etc. The project builds correctly with all the properties getting resolved.
The problem is when I try using Tomcat from within Eclipse using the maven-eclipse-plugin. This configures the project to be able to be deployed in tomcat, however it is not resolving the Maven properties into my Spring properties file which causes the deployment to fail.