I am working on a project with several modules with the mlclipse tag. I installed maven to solve workspace dependency problems. But when I make changes, say, in a service module, the changes are not displayed on other modules immediately. If I create a new method at the service level, it will not be visible at the WebApp level. Sometimes even Run / maven installs and updates, and Project / clean and Maven / Update Dependencies do not work. Can someone give me an idea on this issue?
My project structure is as follows:
parent module
<groupId>com.myproject</groupId> <artifactId>einvites-parent</artifactId> <modules> <module>myproject-common</module> <module>myproject-domain</module> <module>myproject-service</module> <module>myproject-web</module> </modules>
service module
<parent> <artifactId>myproject-parent</artifactId> <groupId>com.myproject</groupId> <version>1.0</version> </parent> <groupId>com.myproject</groupId> <artifactId>myproject-service</artifactId>
web module
<parent> <artifactId>myproject-parent</artifactId> <groupId>com.myproject</groupId> <version>1.0</version> </parent> <groupId>com.myproject</groupId> <artifactId>myproject-web</artifactId> <version>1.0</version> <packaging>war</packaging> <name>myproject-web</name> <dependencies> <dependency> <groupId>com.myproject</groupId> <artifactId>myproject-service</artifactId> <version>1.0</version> <type>jar</type> <scope>compile</scope> </dependency> </dependencies>
source share