Sounds to me that this should be solved using <dependencies> in the various projects.

That is how we do it, anyway. Assume that B must be built before A, because A depends upon B:

I.e. in your super-pom:
  .....
 <modules>
        <module>
                A
        </module>
        <module>
                B
        </module>
</modules>
....

in A's pom
....
        <dependency>
                <groupId>your_group_id</groupId>
                <artifactId>B</artifact>
        </dependency>


On 29. nov. 2006, at 09.57, Rohnny Moland wrote:

Hi,

Is it a way I can specify the order of what should be build? If I have
a root pom with two trees, lets say one is the dev-tools and the other
is my business artifacts. I want to specify that the dev-tools should
be build (and installed) _before_ the business artifacts because the
business artifacts are dependent on the dev-tools.

In other words: What I am looking for is a way to create multiple
build stages in maven, without having a shell script that do that for
me. :)


Thanks in advance,
Rohnny

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Steinar Cook
[EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to