You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by Craig Russell <Cr...@Sun.COM> on 2005/05/08 11:10:17 UTC

Fwd: Using maven -o

Hi,

Use the maven -o option to avoid checking dependencies...

Craig

Begin forwarded message:

> From: Jeanfrancois Arcand <je...@sun.com>
> Date: May 6, 2005 12:18:39 PM PDT
>

> Hi,
>
> since I've got more that 15 emails on the subject, I will reply to all 
> ;-)
>
> Everytime you do:
>
> % cd trunk/<<whatever>>
> % maven <<whatever>>
>
> Maven will, internally (we cannot change this behaviour with Maven 
> 1.0.2, but we will with 2.0) checks the dependencies defined in 
> project.xml. In jdo case, it looks at:
>
> jpox-SNAPSHOT.jar
>
> If the file is uptodate, then it will not download the file. If it 
> isn't, then it will. So to avoid the penalty, you can always invoke:
>
> % maven -o <<whatever>>
>
> -o will shut down the dependencies synchronization.
>
> But remember, to avoid breaking the build, do
>
> % maven <<whatever>>
>
> at least once.
>
> -- Jeanfrancois
>
Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!