In Maven, "all" projects are effectively independent. So you cannot "run the pom.xml of another project before this one" like you can set "depends" in your Ant targets. You can inherit the goals from another pom (assuming this is a child of that parent pom), however.
You can establish a dependency on a pom by using <type>pom</type> in the dependency declaration. Wayne On Sun, Sep 21, 2008 at 11:58 PM, sandyg <[EMAIL PROTECTED]> wrote: > > Hi All, > > 1)Can any one help how to run pom.xml of another project b4 running the > current project pom.xml > i.e my pom is dependent on other pom like in ant one target is dependent on > other target. > > I need to run independent pom then after the dependent pom with single > instruction . > > 2)One more thing how to create dependency of the other project in my pom . > Like one proj is dbmanager and the other is controller proj. > so in controller proj. pom.xml i have to write the dependency of dbmanager > > > > -- > View this message in context: > http://www.nabble.com/pom-depend-on-other-pom-tp19602786p19602786.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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]
