2009/9/25 Daniel Bell <daniel.b...@nec.com.au>
> Hi, > > My question is similar to this one: > > http://mail-archives.apache.org/mod_mbox/maven-users/200512.mbox/browser > > but for maven 2.0.9 -> 2.2.1. > > I have two projects A and B. B is dependent upon A. A produces > A-1.0-SNAPSHOT.jar. > > When a change is introduced into A and the new snapshot is installed > into the local repository, B is not fully recompiled unless "clean" is > specified when building B. This means that if an interface is changed in > A, B will not be recompiled against the changed interface. > > Is there something wrong with my configuration? If not, what is accepted > practice? Manually doing a clean whenever a change in snapshot is > detected seems inefficient and error-prone. > mvn clean compile --> maven will do clean operaion before the comile Thanks, Daniel.