Maven usually supports only one source directory per project,
so we use a kind of hack in the maven.xml, that adds several
source paths to the project. This is the order from maven.xml:

        <ant:path
            id="log4j.sources"
            location="${basedir}/log4j/src/java"/>
        <ant:path
            id="logkit.sources"
            location="${basedir}/logkit/src/java"/>
        ...

So I guess these path instructions have to be in the correct
build order and maven is just using that one. So swapping 
the two lines from above should do it. 

Carsten

> -----Original Message-----
> From: Niclas Hedhman [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 09, 2004 12:06 PM
> To: [EMAIL PROTECTED]
> Subject: Maven question...
> 
> 
> yeah, I know I should ask on Maven mailing list, but who is 
> subscribing there
> ;o)
> 
> Problem at hand;
> excalibur-logger-log4j  depends on excalibur-logger-logkit 
> but Maven insist on compiling excalibur-logger-log4j first.
> 
> Why doesn't it realize this, and compile them in the right order?
> 
> Niclas
> -- 
> +---------//-------------------+
> |   http://www.bali.ac         |
> |  http://niclas.hedhman.org   |
> +------//----------------------+
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to