Hi Wayne,
Thanks for your answer.
I've been working just with modules (children) on my workspace. Is there
any workaround on Eclipse? I didn't want to remenber all modules
dependencies.
How do you do it?
Wayne Fay escreveu:
No, this is not possible. However, if you run "mvn install" from the
top-level (father) project, it will run "mvn install" on all the
<modules> (children) you've defined, which achieves the same results
you're looking for.
Wayne
On 6/6/07, André Salvati <[EMAIL PROTECTED]> wrote:
Hi,
I'm a newbie with Maven 2 (2.0.6). Just wondering the following
situation:
I'm working with 3 modules: 1 father (Project1) and 2 children (Project2
and Project3). Project2 depends on Project3.
Firstly, I'd like Maven was able to detect updates, compile, build and
package Project3 in case of issuing "mvn install" on Project2. Is it
possible?
These are excerpts from my .pom files:
Projetc1 (father):
<modules>
<module>Project2</module>
<module>Project3</module>
</modules>
Projetc2
<dependencies>
<dependency>
<groupId>xpto</groupId>
<artifactId>Project3</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]