When running mvn install
on a local multi module project it builds and install the projects artifacts into the local repo. mvn clean
seems to clean
Best is to implement a release strategy, i.e. as long as the artifacts under development appending the version with SNAPSHOT
. Maven then automatically updates the artifacts in the local repository when you run install. Once you have completed the development you remove the SNAPSHOT and release the version (i.e. via deploy). If further development is required you could increase the version number and append it again with SNAPSHOT.