Hi,

May be I can use in module B:
  <modules>
    <module>A</module>
  </modules>

But... My directories are like :
 |
 |--ModuleA
 |  |-src
 |--ModuleB
    |-src

I use a project.properties :
maven.multiproject.basedir=../
But I have an error : Failed to validate POM
(I just add <modules> tags :( )

an idea ?

Samuel

--- Samuel Liard <[EMAIL PROTECTED]> a écrit :

> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to