continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petter Måhlén <>
Subject Project build order
Date Mon, 06 Nov 2006 13:43:54 GMT

I have a question concerning what I can do to force projects to be built in
a specific order. There have been some previous similar queries, but they
don't quite seem to apply to our situation. What we want is this:

1. 'mvn clean install' for project 'common': this leads to a jar file with
common message definitions for node-node communication being updated.
2. 'mvn clean install' for project 'server': we have written a simple Maven
plugin that reads the message definitions, and generates source code that
parses/packages the messages.
3. 'ant clean test' for project 'client': this again generates source code
for parsing/packaging messages, but this time for the client.

Is it possible for us to specify this order somehow? As it is, the builds
will more or less randomly fail depending on which order they are executed
in. It may be relevant that the 'server->common' dependency is configured
like so:


The 'common' jar must be available on the classpath of the plugin that
generates source code, and like this, it is only available at that point,
which is great since we don't want to include it in the shipped product.

Thanks for any help,


Cell: +46 704 40 30 25
Direct: +46 8 442 75 95
Fax: +46 8 24 05 08
Björns Trädgårdsgränd 1, 116 21 Stockholm, Sweden

View raw message