Maven and dependent modules
问题 Colleagues have been touting the wonders of maven and its magical dependency stuff but I'm finding that it fails at what I would consider the obvious use. Suppose I have a root folder with a master POM. Then underneath I have some projects, call them A and B B requires A and so the POM in the B folder has the appropriate dependency entry in it Now, back in the root folder, in a profile, I specify that I want to build B. When I perform the usual mvn clean install, I get a failure because A was