I'm having two maven project project/foo/pom.xml
and project/bar/pom.xml
. I have foo
depend on bar, and I want that every time
foo/pom.xmlcompiles, it'll automatically compile
bar`.
How can I do that with maven?
Update: I can tuck them both into a parent project, but then, what will I do if I want to run mvn jetty:run
on a child project?