You can get this functionality if they share a common parent which has both projects defined as modules, and build from the top level directory ie: project/pom.xml << run "mvn package" here project/projA/pom.xml project/projB/pom.xml
Otherwise, no, this is not possible. Wayne On 3/23/07, Qing Gao <[EMAIL PROTECTED]> wrote:
Hi, I have two web projects, A and B. Since project B depends on project A, I use the maven war plugin to overlay the project B on project A when building project B. One problem I have is that every time I make a change in project A, I need to reinstall it into my local repository, if not, the project B will use the old war file from my local repository without the changes I've made. Can maven detect changes in project A and recompile, reassemble the project A war file when building project B as needed? I've found this thread http://mail-archives.apache.org/mod_mbox/maven-users/200510.mbox/% [EMAIL PROTECTED] on the mailing list that closely resembles to what I wanted, but I see no solution is provided. Thanks for any suggestions! Qing --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
