You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Samuel Liard <sa...@net-liard.com> on 2006/02/02 14:35:43 UTC

Multi modules project

Hi,

I work in a project cut in a lot of modules. Each
module has a pom.xml, and the modules are dependants
the one between the others.
For Example, 3 module A, B and C.. C is dependant of B
and B is dependant of A.

To day, when I build C, if jar of B is not up to date
with java code, script ask to package B to.

I don't find a good solution with maven to do that.

I use dependency like :
<dependency>
  <groupId>com.toto</groupId>
  <artifactId>resource</artifactId>
  <version>1.0</version>
  <scope>system</scope>
  <systemPath>
   
${basedir}/../MAVEN_RESOURCE/target/resource-1.0.jar
  </systemPath>
</dependency>

It's work to package C... but if B jar is not up to
date (or note package) it not good :( 

What is the best solution with maven ?

Thanks

Samuel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org